Marcus wrote: > I'd like to disable spamassassin checks for all emails sent from the > host mimedefang is running on (= localhost). But how can I distinguish > between an email sent by localhost and an email which is resubmitted via > localhost because of mimedefang's stream_by_domain function. Checking > $RelayAddr for 127.0.0.1 doesn't help here.
man mimedefang-filter Search for PRESERVING RELAY INFORMATION Although that man page talks about secondary MX hosts, the technique can work for detecting locally-submitted vs. resent mail as well if you consider 127.0.0.1 as a secondary MX. Regards, David. _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang