Re: SMTP server mode

From: Quanah Gibson-Mount <quanah_at_zimbra.com>
Date: Wed, 24 Oct 2012 15:27:15 -0700

--On Tuesday, October 23, 2012 8:07 AM +0200 Andreas Schulze
<sca_at_andreasschulze.de> wrote:

> Am Di, 23.10.2012, 01:30 schrieb Quanah Gibson-Mount:
>> Thus, the only solution is to dump OpenDKIM and use Amavis for signing,
>> or for OpenDKIM to implement an agent like Amavis does so it does not
>> have to be used as a milter.
> Quanah,
>
> please could you again start to clarify your problem and your needs.
> That would help all.

Hi Andreas,

Basically, what I need is:

user mail -> postfix -> opendkim (signing) -> amavis -> postfix

Right now, what happens is:

user mail -> postfix -> amavis -> opendkim -> postfix

Wietse has suggested:

-----------------------------------------------------------------------------

Use a before-queue filter for mail from outside.

    Internet -> smtpd -> Amavis ...

Use a Postfix queue BEFORE and AFTER the signing Milter for mail
from inside.

    ... -> queue -> smtp -> smtpd -> cleanup -> queue -> smtp -> Amavis ...
                                | |
                                signing
                                milter

The part with "smtp -> smtpd" is a "null filter" where the two
programs talk directly to each other.


-----------------------------------------------------------------------------

I'm still trying to figure out exactly how to do that configuration,
particularly with the fact that I have two different amavis bits, one for
originating mail (port 10024 amavis) and one for foreign mail (port 10026).

My guess is the first part should be going to 10026 amavis and then I need
to figure out how to configure the second part.

--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 24 2012 - 22:27:32 PST

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