[Mimedefang] Relayed emails can't be filter!

Cương Bùi bhcuong2008 at gmail.com
Thu Jun 12 12:26:35 EDT 2014

Hi everyone,

I'm really stuck here. I configure my sendmail server using
and smart_host feature for routing to different smtp servers, users.

All local emails (sm-mta process) are caught in mimedefang filter. It 
means I can process
it in filter_* routines.
Jun 12 14:39:17 srv-01 sm-mta[6520]: s5CEdHes006520: 
from=</someuser at localhost/>, size=2461, class=0, nrcpts=1, 
msgid=<1793922844.1402583957445>, proto=ESMTP, daemon=MTA-v4, 
relay=localhost []

And, all outgoing relayed emails (sendmail process) are not caught. It 
means I do not "see" it in
filter_* routines.
Jun 12 14:40:20 srv-01 sendmail[6552]: STARTTLS=client, 
relay=/smtp.outside.com/, version=TLSv1/SSLv3, verify=OK, 
cipher=DHE-RSA-AES256-SHA, bits=256/256
Jun 12 14:40:21 srv-01 sendmail[6552]: 1983T66ee00000001: 
to=</abc at example.com/>, delay=00:01:04, xdelay=00:00:04, mailer=relay, 
pri=0, relay=/smtp.outside.com/. [/], dsn=2.0.0, stat=Sent (Ok: 
queued as 296B68067B)

Please help me out. I dont know how to solve this.

Thank you very much :)

Cuong Hoang Bui
ctek at cteklab.net
bhcuong2008 at gmail.com

More information about the MIMEDefang mailing list