[Mimedefang] Relayed emails can't be filter!

Cương Bùi bhcuong2008 at gmail.com
Fri Jun 13 03:52:05 EDT 2014


Hi Steffen,

As mentioned previously, when having someuser at localhost, sm-mta shows 
this info in mail log file. And routine
filter_*() triggered.
===
Jun 13 07:26:26 /srv-01/ sm-mta[16174]: s5D7QQiU016174: Milter add: 
header: X-Scanned-By: MIMEDefang 2.75 on /x.x.x.x/
===

But for relayed emails to outside smtps (AWS SES), I dont see this kind 
of log. Routine filter_*() not triggered.

On 6/13/2014 1:13 PM, Steffen Kaiser wrote:
> -----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-----
>
>
> _______________________________________________
> 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 at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

-- 
**********************
Regards,
Cuong Hoang Bui
ctek at cteklab.net
bhcuong2008 at gmail.com
**********************




More information about the MIMEDefang mailing list