Sam Varshavchik wrote:
[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...
I received a spam, with the above in place, with headers
Content-Type: text/plain
Content-Transfer-Encoding: base64
Any gotcha's in changing the pattern to
/^Content-Type:.*text\//:w
??
Thanks,
jerry
-------------------------------------------------------
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