procmail
[Top] [All Lists]

procmail and file epermissions

2008-07-21 10:57:18
Charles:

Yes... it IS unsafe but I'm kind of running some tests and the server is not
really connected to the internet. But there has to be a way to prevent
procmail from changing permissions, no?


On Mon, 21 Jul 2008, Alex Rodriguez wrote:
mail filtering solution based on a pearl script which needs 0770 access to
the user's mail files at /var/mail. I chmod those file to 0770 but
procmail
changes it back to chmod 0700 every time it delivers a message.
How can I prevent procmail from doing so?

Do you need to? Mailboxes really should be accessible only to the owner 
and to root. So can you run your script as either of those?

- Charles

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • procmail and file epermissions, Alex Rodriguez <=