--On Monday, October 22, 2012 5:09 PM -0400 Wietse Venema <wie...@porcupine.org> wrote:

1) Use the before-queue filter for mail from outside:

                                external clients -> smtpd -> Amavis ...

2) Use the after-queue filter for mail from inside:

    internal clients -> smtpd -> cleanup -> queue -> smtp -> Amavis ...

        Wietse

I'm going to assume you mean something like this then:

smtp      inet  n       -       n       -       -       smtpd
   -o smtpd_proxy_filter=[127.0.0.1]:10029
   -o smtpd_client_connection_count_limit=10
   -o smtpd_proxy_options=speed_adjust



I already tried this, and it is not an acceptable solution, because postfix will not accept mail if OpenDKIM is not running. I need Postfix to accept and queue the email in that scenario, rather than reject it.

Oct 22 14:54:35 zqa-398 postfix/smtpd[2854]: connect from zqa-398.eng.vmware.com[10.137.245.143] Oct 22 14:54:35 zqa-398 postfix/smtpd[2854]: warning: access table regexp:/opt/zimbra/postfix/conf/tag_as_originating.re: with smtpd_proxy_filter specified, action FILTER is unavailable Oct 22 14:54:35 zqa-398 postfix/smtpd[2854]: NOQUEUE: client=zqa-398.eng.vmware.com[10.137.245.143] Oct 22 14:54:35 zqa-398 postfix/smtpd[2857]: connect from localhost[127.0.0.1] Oct 22 14:54:35 zqa-398 postfix/smtpd[2857]: warning: connect to Milter service inet:localhost:8465: Connection refused Oct 22 14:54:35 zqa-398 postfix/smtpd[2857]: NOQUEUE: milter-reject: CONNECT from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP Oct 22 14:54:35 zqa-398 postfix/smtpd[2857]: NOQUEUE: milter-reject: EHLO from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<zqa-398.eng.vmware.com> Oct 22 14:54:35 zqa-398 postfix/smtpd[2857]: NOQUEUE: milter-reject: MAIL from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; from=<qt...@zqa-398.eng.vmware.com> proto=ESMTP helo=<zqa-398.eng.vmware.com> Oct 22 14:54:35 zqa-398 postfix/smtpd[2854]: warning: proxy [127.0.0.1]:10029 rejected "MAIL FROM:<qt...@zqa-398.eng.vmware.com>": "451 4.7.1 Service unavailable - try again later" Oct 22 14:54:35 zqa-398 postfix/smtpd[2854]: proxy-reject: END-OF-MESSAGE: 451 4.7.1 Service unavailable - try again later; from=<qt...@zqa-398.eng.vmware.com> to=<qt...@zqa-398.eng.vmware.com> proto=ESMTP helo=<zqa-398.eng.vmware.com> Oct 22 14:54:35 zqa-398 postfix/smtpd[2857]: lost connection after MAIL from localhost[127.0.0.1]


--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

Reply via email to