procmail
[Top] [All Lists]

Re: firing procmail from an alias

2002-10-12 13:38:47
At 18:21 2002-10-12 +0200, Eric Smith wrote:
Setting up a mail alias to process certain email through a private procmailrc -
whatever:    "|/home/eric/bin/procmail -m /home/eric/.procmailrc_mailredirect"

Your MTA is running as user WHO? If it isn't ROOT, then it may not have read access to the user dir.

In turn, surely you realize the severe danger in permitting an MTA executing as ROOT to invoke a script owned by a user???

You should use /etc/procmailrcs/ for generic scripts.

Please identify what the owners are, and what file and dir perms are.

I am getting this error in my mail logs:
status=bounced (can't create user output file. Command output: procmail: Couldn't read "/home/eric/.procmailrc_mailredirect" )

I'll presume that if you have access to change the aliases for your system, you're an admin on it, and know that the user dirs aren't NFS...

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>