On Thu, Apr 23, 2009 at 6:14 PM, Wietse Venema <wie...@porcupine.org> wrote:

>
> First, show that Postfix receives mail via port 2525. This requires
> a transcript of a telnet session, and the Postfix logging for the
> corresponding email delivery.
>
> Second, show with "ps" command output that port 2525 actually has
> receive_override_options=no_milters. It won't have this unless you
> do "postfix reload".
>
>        Wietse
>

I misspoke slightly.  I actually have this in master.conf:

2525    inet    n       -       n       -       -       smtpd
    -o content_filter=
    -o receive_override_options=no_header_body_checks,no_milters
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=127.0.0.0/8,xx.yy.zz.0/24

The pgrep output is:

91904 smtpd -n 2525 -t inet -u -o stress -o content_filter -o
receive_override_options -o smtpd_sender_restrictions -o
smtpd_recipient_restrictions -o mynetworks

If I remove no_header_body_checks (-o receive_override_options=no_milters)
it works:

92212 smtpd -n 2525 -t inet -u -o stress= -o content_filter= -o
receive_override_options=no_milters -o smtpd_sender_restrictions= -o
smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=
127.0.0.0/8,xx.yy.zz.0/24

If I have just no_header_body_checks (-o
receive_override_options=no_header_body_checks) it does not work:

92553 smtpd -n 2525 -t inet -u -o stress -o content_filter -o
receive_override_options -o smtpd_sender_restrictions -o
smtpd_recipient_restrictions -o mynetworks

I believe that the ps output is sufficient to see the problem, but if you
still want the telnet transcript, I can provide that.
Here is  log entries showing no errors (I didn't do a full session, just
enough to get a ps):

Apr 23 19:31:24 mail5 postfix/master[940]: reload configuration
/usr/local/etc/postfix
Apr 23 19:31:32 mail5 postfix/smtpd[93895]: connect from server.example.net
[xx.yy.zz.140]
Apr 23 19:32:33 mail5 postfix/smtpd[93895]: timeout after CONNECT from
server.example.net[xx.yy.zz.140]

Reply via email to