Hi,
I am trying to filter email sent to rt due to out of office autoreplies.
I have an aliases set up in /etc/aliases as:
IT.Help: “|/usr/bin/procmail -m /usr/local/etc/procmail/rt.rc”
My rt.rc file has permissions 644
My rt.rc files looks like:
PATH=/usr/local/bin:/bin:/usr/bin
LOGFILE=/var/log/procmail.log
#procmailrc recipe for dropping mail matching a string anywhere in the
header
:0 h
- auto-replied (zimbra; vacation)
/dev/null
#end of recipe
:0w
| /opt/rt3/bin/rt-mailgate --url http://rt.mydomain.com/ --queue IT.Help –
action correspond
*The error message I receive when sending email to
*it.help@mydomain.comit.help@mydomain.com
- is:*
----- The following addresses had permanent fatal errors -----
“|/usr/bin/procmail -m /usr/local/etc/procmail/rt.rc”
(reason: Can’t create output)
(expanded from: it.help@rt.mydomain.com)
----- Transcript of session follows -----
procmail: Couldn’t read “/usr/local/etc/procmail/rt.rc”
550 5.0.0 “|/usr/bin/procmail -m /usr/local/etc/procmail/rt.rc”… Can’t
create output
I am not sure which user procmail is trying to run rt.rc as, but I have a
feeling that my error message is related to who the user is that is running
rt.rc.
Any ideas are appreciated!
Hi,
I am trying to filter email sent to rt due to out of office autoreplies.
I have an aliases set up in /etc/aliases as:
IT.Help: “|/usr/bin/procmail -m /usr/local/etc/procmail/rt.rc”
My rt.rc file has permissions 644
My rt.rc files looks like:
PATH=/usr/local/bin:/bin:/usr/bin
LOGFILE=/var/log/procmail.log
#procmailrc recipe for dropping mail matching a string anywhere in the
header
:0 h
- auto-replied (zimbra; vacation)
/dev/null
#end of recipe
:0w
| /opt/rt3/bin/rt-mailgate --url http://rt.mydomain.com/ --queue IT.Help –
action correspond
*The error message I receive when sending email to
*it.help@mydomain.comit.help@mydomain.com
- is:*
----- The following addresses had permanent fatal errors -----
“|/usr/bin/procmail -m /usr/local/etc/procmail/rt.rc”
(reason: Can’t create output)
(expanded from: < it.help@rt.mydomain.com>)
----- Transcript of session follows -----
procmail: Couldn’t read “/usr/local/etc/procmail/rt.rc”
550 5.0.0 “|/usr/bin/procmail -m /usr/local/etc/procmail/rt.rc”… Can’t
create output
I am not sure which user procmail is trying to run rt.rc as, but I have a
feeling that my error message is related to who the user is that is running
rt.rc.
Any ideas are appreciated!
I am not sure which user procmail is trying to run rt.rc as, but I have a
feeling that my error message is related to who the user is that is running
rt.rc.
Any ideas are appreciated!
Have you tried adding the procmail user option…
/usr/bin/procmail -d USERNAME
http://gentgeen.homelinux.org
Associate yourself with men of good quality if you esteem
your own reputation; for 'tis better to be alone then in bad
company. - George Washington, Rules of Civility