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
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
* 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: < [EMAIL PROTECTED]>)

----- 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!
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to