[Mimedefang] Relayed emails can't be filter!

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Fri Jun 13 02:13:19 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 12 Jun 2014, Cß½ng Bùi wrote:

> I'm really stuck here. I configure my sendmail server using
> smarttable 
> (http://jmaimon.com/sendmail/anfi.homeunix.net/sendmail/smarttab.html)
> 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 
> [127.0.0.1]
> ===
>
> And, all outgoing relayed emails (sendmail process) are not caught. It means 
> I do not "see" it in
> filter_* routines.

What emails you are mean with "outgoing"? Are they submitted via the local 
system, e.g. by calling the sendmail exectuable, or via SMTP?

> ===
> 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/. [/1.2.3.4/], dsn=2.0.0, stat=Sent (Ok: queued as 
> 296B68067B)
> ===

Please show us your submit.mc.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBU5qWgFGgR0+MU/4GAQLA+QgApM6ifBCy7Dak+j8QThwEmLInA+qvLPCL
kpEatsWUiYEfl5F+SyKgblRDptITLYTHGxJDUq7FUvpDy3Jm8qlpb5xivg8NVdWK
MSNZoqGDgaKKT/aBKQl8C/bTz5GSJTUj/u7R8RtGAqT61fRjsoHxKp5/MpHL9Wro
uI5nf8bDGqqaXIcMRdgAf1xsRiIq5dQjIG3rAlB4efP/h8crJigpp7KjRB7iou80
o/15hwUjFBxNWt+ffBmT4Vx6KgeC5RNEbuoGVrexOlo1DL5UGi68O67ltdcya4Qo
jMRxXsE5NpUAJ/L+6GnILgiiA+Aj054fZ3Uprdrjft3wvDriO/A67w==
=Xkx3
-----END PGP SIGNATURE-----


More information about the MIMEDefang mailing list