Re: SMTP server mode

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

--On Wednesday, October 10, 2012 3:03 PM -0700 Quanah Gibson-Mount
<quanah_at_zimbra.com> wrote:

> --On Wednesday, October 10, 2012 3:01 PM -0700 Quanah Gibson-Mount
> <quanah_at_zimbra.com> wrote:
>
>>> Ok, cool. Even simpler. :) I'll give it a shot. ;)
>>
>> Ok, that perfectly handles the case when Amavis is enabled. However, I
>> realized I also have to handle the case when amavis is not enabled. In
>> researching this, I discovered that content_filter is not the correct
>> option. The correct option is smtpd_proxy_filter. Once I set that in
>> the way you described, everything works as I want.
>>
>> Thank you *very* much for all the help!
>
> Dang, I spoke too soon. If I stop opendkim while using
> smtpd_proxy_filter, the mail does not queue, but is immediately rejected,
> going back to my original problem. The 10029 smtpd does not queue the
> mail. :(

Ok, I got it working as a content filter. However, you have to add a scan
agent as well to make it work as a content filter. This did the trick for
me:

smtp inet n - n - - smtpd
    -o content_filter=scan:127.0.0.1:10029

scan unix - - n - 10 smtp
    -o smtp_send_xforward_command=yes
    -o disable_mime_output_conversion=yes
    -o smtp_generic_maps=

127.0.0.1:10029 inet n - n - - smtpd
    -o smtpd_milters=inet:localhost:8465


Thanks again for all the help!

--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 - 22:27:59 PST

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