Prev: Reject message
Next: Postfix (Ubuntu 9.10 x64) said: 421 4.4.1 Connection timed out (inreply to end of DATA command)
From: "Sharma, Ashish" on 28 May 2010 08:59 Hi, I have deployed postfix as an incoming mail receiving server. On this I have a custom mail filter (based on jilter api): My 'main.cf' file for milter settings is as follows: #Milter support for smtpd mail smtpd_milters = inet:localhost:10026, # dkim milter inet:localhost:10027, # sid milter inet:localhost:10028 # custom java milter # Milters for non-SMTP mail. non_smtpd_milters = inet:localhost:10026, # dkim milter inet:localhost:10027, # sid milter inet:localhost:10028 # custom java milter milter_default_action = reject # Postfix . 2.6 #milter_protocol = 6 # 2.3 . Postfix . 2.5 milter_protocol = 2 Now following are my queries: 1. Is it expected and in accord with milter protocol to reuse the same connection i.e. should postfix communicate with milter over same single connection? 2. If the above is correct how can I disable that? 3. Does postfix caches the connections with milters? The above questions arises on the following observation: "Intermittently if multiple email are sent where 'from' and 'to' headers are unchanged. What is observed is , new connection with Milter is not created for 2 emails. Infact both the emails having different messageID are sent on same connection. Although even one may be the reply of the other." Thanks in advance Ashish Sharma
From: Wietse Venema on 28 May 2010 09:09
Sharma, Ashish: > 1. Is?it expected and in accord with milter protocol to reuse the same connection i.e. should postfix communicate with milter over same single connection? > The SMTP protocol specifies that ONE SESSION can have MULTIPLE MAIL FROM/RCPT/DATA transactions. One MILTER connection covers ALL the MAIL FROM/RCPT/DATA transactions in that session. Wietse |