[Mimedefang] Sendmail Skipping Filter

Kevin A. McGrail KMcGrail at PCCC.com
Tue Oct 21 09:35:51 EDT 2014


On 10/20/2014 10:38 PM, Nathan F wrote:
> I have a mimedefang filter that discards all messages with "relayaddr
> ne 127.0.0.1".  It is a sort of journaling server for mail. Sometimes
> I am finding that some (a very small number) of mails are somehow
> being sent out.  These mails are coming from an external system
> originally, but they don't seem to hit mimedefang's filter.  Any
> ideas?
>
> pseudo-code:
>
> filter_end {
>    if($RelayAddr ne '127.0.0.1') {
>      do processing;
>      discard;
>    }
> }
Nathan,

What I would do is add an else to that pseudo loop with a mimedefang log 
entry for the $RelayAddr that you are not hitting on.  I would want to 
know that MD is getting called for every single email and then you know 
if it's logic or bypassing MD.

Regards,
KAM



More information about the MIMEDefang mailing list