Hi All,
I've been asked if it's possible to scan the content/subject of the emails coming into our qmail server and possibly BCC the offending email to an admin email.
Anyone done this before ?
Cheers, Ben Osborne
With qmail-scanner you can scan 'the headers' but not the content. Bcc it is not properly a header (envelope header), the server receive it as 'rcpt to' and qmail-scanner also scan this information, you can do it adding a line like this to quarantine-attachments.txt:
[EMAIL PROTECTED]<tab>Virus-RCPTTO:<tab>Bad mail envelope not allowed here
But I don't think it is a good idea to do so, this line will block 'ALL' the mails to '[EMAIL PROTECTED]'.
You can scan the content with spamassassin, see "man Mail::SpamAssassin::Conf"
Regards
Salvatore
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general