On Tue, 30 Nov 2004, Kelson wrote:
Hello,
Sendmail comes with smrsh, the SendMail Restricted SHell. If you set an
smrsh applies to programs sendmail calls,
account to use smrsh as its shell, then the user can only run the programs you specify -- and that includes programs called through procmail.
but not to the spawned ones (e.g. procmail). At least not in my installation.
I tried this .procmailrc:
MAILDIR=$HOME/.mail DEFAULT=$MAILDIR/.INBOX/ LOGFILE=$MAILDIR/log
:0 c * ^From.*root .backup/
:0 * ^From.*root | perl $HOME/script
The mail is delivired to the folder and the script is executed, although "perl" is not linked in /etc/mail/smrsh.
Bye,
-- Steffen Kaiser _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

