2 conditions in the rule and empty Sender

Nerijus Baliunas nerijus at users.sourceforge.net
Thu Nov 1 11:38:16 UTC 2018


I have Virus Scanning = %rules-dir%/virus_scanning.rules
and in virus_scanning.rules:
From: and From: postmaster at example.com       no

Today I got an email:

The following e-mails were found to have: Virus Detected

IP Address:
 Recipient: postmaster
   Subject: Mail delivery failed: returning message to sender
 MessageID: 58A002A14067.AE6A8
Quarantine: /var/spool/MailScanner/quarantine/20181101/58A002A14067.AE6A8
    Report: Clamd:  message was infected: winnow.spam.ts.xmailer.2.UNOFFICIAL

How to allow such messages to be received? There is no Sender (Return-path:),
how to adapt "From: and From: postmaster at example.com       no"
to also work with no From?


More information about the MailScanner mailing list