[Exim] Router conditional Statement for spamassassin

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Owen Creger
Ημερομηνία:  
Προς: 'exim-users@exim.org'
Αντικείμενο: [Exim] Router conditional Statement for spamassassin
I'm running exim 3.22
Here is the conditional:
    condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} }
{1}{0
}}"
I would like to change the last part {!eq {$received_protocol}{local}}  to
check for an IP address range instead of the local protocol.
I would {!eq {$sender_host_address}{10.0.0.0/8}} cover all the 10 addresses?


Owen C. Creger CCNA, CISSP
Info. Sec. Administrator
Creative Solutions, a Thomson Company.
7322 Newman Blvd.
Dexter, MI 48130
email: ocreger@???
ph: 734-426-5860 ex. 3787
fax: 734-426-5946
cell: 734-223-6270