On 9/18/19 11:29 AM, Manos Pitsidianakis wrote:
Hello,
I've been getting "Cannot connect to SMTP server localhost on port 25" from runner "out" in mailman.log over some mails stuck in shunt queue, postfix logs show nothing when this happens, tcpdump on lo interface port 25 shows nothing. The log shows up when I start mailman, and then it seems not to show up again.
That log message is only written once. It won't be written again unless the out runner is restarted or there is a successful delivery followed by another socket.error.
I can do 'telnet localhost 25' just fine, including as mailman user. I can send and receive mail on my mail server. I tried making a test list and sent/received messages fine.
Is only one list affected, and is it all messages from this list or only some?
smtp debug logs show "Using agent: <mailman.mta.deliver.Deliver object at 0x7fdd9793c940>" and "IndividualDelivery to: <email@address.tld>" on repeat, where the email address is one of the addresses of the shunted mails.
Do some deliveries of the problem message succeed?
I.e., in the normal case without failure, there will be one "IndividualDelivery to: <email@address.tld>" message for each recipient in the recipients list.
In the shunted message case, the msgdata object in the shunted pickle contains the recipients. Are there "IndividualDelivery to: <email@address.tld>" entries for some but not all recipients. Is the last of these an invalid local address? (Postfix can return a 421 status and drop the connection if there are too many invalid local recipients, although I don't know if this would apply in the VERP case.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan