Thanks a lot, Sam!
Andrew
----- Original Message -----
From: "Sam Varshavchik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 17:17
Subject: [courier-users] Re: Maildrop and encrypted spam email
[EMAIL PROTECTED] writes:
> Anyone know how to filter out encrypted spam email with maildrop?
Well, this is not a 100% failsafe filter, there is a small chance of a false
positive; however the tradeoff, I think, is worth it:
if ($SIZE < 100000 && /^Content-Type:.*text\/html/:w && \
/^Content-Transfer-Encoding:.*base64/:w)
{
echo "Go away."
EXITCODE=100
exit
}
This will, of course, generate a bounce; caveat emptor, and all that...
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users