I know procmail is a local mailer, is there anyway we can
setup procmail on
relay servers or gateways to filter attachments before
sending to the local
mail servers? Something like TrendMicro's interscan.
If you are using sendmail you can use something like this in local rule 0:
R$* $: <> $1
R<> < @ $* > $* $: <@ $1 > $2
R<> $* < @ $* . PROCMAIL . > $: $>3 $1 @ $2
R<> $* < @ PROCMAIL . > $: $1
R<> $* < @ $* . > $: <> $1 < @ $2 >
R<> $* < @ $* > $: $1 < @ $2 . PROCMAIL . >
R<> $* $: $1 < @ PROCMAIL . >
coupled with mailertable entries like this:
PROCMAIL procmail:/etc/mail/procmail.rc
.PROCMAIL procmail:/etc/mail/procmail.rc
to direct all mail through procmail and then out again for final delivery.
If you have questions about this set up, let me know.
Dustin
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail