At 10:22 2003-10-22 +0100, Ian Prideaux wrote:
Sift_SpamFound: line removed, and then have chown/chmod alter the file's
permissions. However, this only works with users which are defined in
/etc/passwd,
... which defines a *SHELL*, something I'm betting that the NON-USERS don't
have.
If you're doing this from an /etc/procmailrc, it's a good idea to do this:
# in global procmailrc, define a shell WE USE HERE, esp so that users without
# shells don't have problems
ORGSHELL=$SHELL
SHELL=/usr/bin/sh
(do whatever)
# Put things back for ~/.procmailrc
SHELL=$ORGSHELL
ORGSHELL
---
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