natan via Postfix-users: > Hi > I have a some problem with setup > opendkim+opendmarc+amavisd-milter > > > ---- main.cf------- > smtpd_milters = > inet:localhost:10028,inet:localhost:10027,inet:localhost:10029 > > > When I try local telnet 25 i get many many logs like: > ...... > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60000]: connect from > localhost[127.0.0.1] > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60001]: connect from > localhost[127.0.0.1] > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60002]: connect from > localhost[127.0.0.1] > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60003]: connect from > localhost[127.0.0.1] > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60004]: connect from > localhost[127.0.0.1] > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60005]: connect from > localhost[127.0.0.1] > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60006]: connect from > localhost[127.0.0.1] > Oct 17 13:59:01 mail2 postfix/10028/smtpd[60007]: connect from > localhost[127.0.0.1] > ...
When you make ONE telnet connection, MULTIPLE Postfix SMTP server processes log a "connect from" event? How many? You appear to have a broken accept(2) system call, such that ONE SMTP connection from one client to Postfix is accepted in MULTIPLE Postfix server processes. Does this also happen with SeLinmux, AppArmoer, etc., turned ff? > When I send localy mail i get many logs like: > ... > Oct 17 13:52:41 mail2 postfix/10028/smtpd[57064]: connect from > localhost[127.0.0.1] > Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: warning: milter > inet:localhost:10028: can't read SMFIC_OPTNEG reply packet header: Connection > timed out > Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: warning: milter > inet:localhost:10028: read error in initial handshake > Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: warning: milter > inet:localhost:10027: unexpected reply "[" in initial handshake > Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: lost connection after > CONNECT from localhost[127.0.0.1] > Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: disconnect from > localhost[127.0.0.1] commands=0/0 Maybe the Milter process also has to accept multiple connections when one Postfix SMTP process makes one connection to the Milter proces. That would be two connection explosions for one SMTP client connection. If that is the case, then the Milter process will quickly run into a per-process limit on the number of file handles, and that could result in Milter protocol timeouts. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org