2 conditions in the rule and empty Sender

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


Hello,

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

Today I got an email:

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

    Sender: 
IP Address: 127.0.0.1
 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:   127.0.0.1 and From: postmaster at example.com       no"
to also work with no From?

Regards,
Nerijus


More information about the MailScanner mailing list