Apparently our mail server running courier 0.44 letting thru emails which should be stopped by maildrop.
The configuration is:
----------------
/etc/courier/courierd:
DEFAULTDELIVERY="| /usr/sbin/amavis | /usr/lib/courier/bin/maildrop"
----------------
/etc/courier/maildroprc:
if ( /\.(pif|exe|scr)/ || !/^From:/ || /name=\"(Info|Attach).zip\"/ )
{
EXITCODE=99
exit
}
----------------
in case maildroprc is ignored when there's $HOME/.mailfilter i have added:
$HOME/.mailfilter:
if (/\.(pif|exe|scr)/)
{
EXITCODE=99
exit
}
----------------
But still test emails with .PIF files are going thru.
Interesting that other rules in maildroprc and .mailfilter are done ok..
Please help, Thanks.
P.S. i know it's offtopic, but just in case anyone knows if there is a way to configure Amavis or F-Prot to alert when zip is password protected?
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
