[Mimedefang] Need to turn off CC in Defang Notifications

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Wed Dec 1 04:47:13 EST 2004


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



More information about the MIMEDefang mailing list