> Having a problem with some users on our local network writing > emails that get marked as spam. I dont want to whitelist by > domain as this is easy to forge is there a way to whitelist > by IP (and mask) that the mail was recieved from, being these > users are all local on rfc1918 network seems like the easiest > solution?
In Exim (3.36), I have the following conditional on my director so mail sent from my local domain (or SMTP authenticated) are excempt from spam scanning: condition = "${if and { \ {!eq {$received_protocol}{spam-scanned}} \ {!eq {${mask:${if def:sender_host_address{$sender_host_address}{0.0.0.0}}/24}} {192.168.1.0/24}} \ {eq {1}{${if def:authenticated_id{0}{1}}}} \ } \ {1}{0}}" Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk