Re: SMTP server mode

From: Quanah Gibson-Mount <quanah_at_zimbra.com>
Date: Wed, 10 Oct 2012 14:13:50 -0700

--On Tuesday, October 09, 2012 10:03 PM +0200 Andreas Schulze
<sca_at_andreasschulze.de> wrote:

> Am Di, 9.10.2012, 21:38 schrieb Quanah Gibson-Mount:
>>> You may setup a 2. smtp server at localhost:anyhighport using a milter.
>>> Then configure your primary smtp server to forward all incoming mail to
>>> that 2. smtp server.
>>>
>
>> 127.0.0.1:10029 inet n - n - - smtpd
>> -o smtpd_milters=inet:localhost:8465
>
> Quanah,
>
> run the second smtpd verbose:
>> 127.0.0.1:10029 inet n - n - - smtpd
> -v
>> -o smtpd_milters=inet:localhost:8465
>
> Is the mail *really* routed via two smtpd hops?
> That should also be visible in the received lines...

There is no change in behavior. I believe the issue is because I also run
amavis as a content filter, using a regex:

smtpd_sender_restrictions = check_sender_access
regexp:/opt/zimbra/postfix/conf/tag_as_originating.re, permit_mynetworks,
permit_sasl_authenticated, permit_tls_clientcerts, check_sender_access
regexp:/opt/zimbra/postfix/conf/tag_as_foreign.re

zimbra_at_zre-ldap002:~/postfix/conf$ cat tag_as_originating.re
/^/ FILTER smtp-amavis:[127.0.0.1]:10026

According to the postfix documentation, this will override the
content_filter option. So, is there a way I can set up multiple content
filters? I'm not having any luck on it so far. I need both OpenDKIM and
amavis to be processed.

--Quanah


--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration
Received on Wed Oct 10 2012 - 21:14:22 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:44 PST