I sent an email to a partner. Apr 22 10:58:00 tanzer postfix/smtp[9205]: 3qs3FW6g3tz2wJq: to=<[email protected]>, relay=example.com[192.0.1.1]:25, delay=121, delays=0/0.01/1/120, dsn=4.4.2, status=deferred (host example.com[192.0.1.1] said: 451 4.4.2 Timeout (120 seconds): closing control connection (in reply to end of DATA command))
... Apr 22 11:02:55 tanzer postfix/smtp[10466]: 3qs3FW6g3tz2wJq: to=<[email protected]>, relay=example.com[192.0.1.1]:25, delay=416, delays=295/0.01/0.49/120, dsn=4.4.2, status=deferred (host example.com[192.0.1.1] said: 451 4.4.2 Timeout (120 seconds): closing control connection (in reply to end of DATA command)) It is stuck in the queue. postqueue -p ----Queue ID----- --Size-- ---Arrival Time---- --Sender/Recipient------ 3qs3FW6g3tz2wJq 8475 Fri Apr 22 17:55:59 ####@####.## (host example.com[192.0.1.1] said: 451 4.4.2 Timeout (120 seconds): closing control connection (in reply to end of DATA command)) [email protected] -- 8 Kbytes in 1 Request. after 10 minutes its still in the queue. When I flush the queue postqueue -f Nothing leaves the queue postqueue -p ----Queue ID----- --Size-- ---Arrival Time---- --Sender/Recipient------ 3qs3FW6g3tz2wJq* 8475 Fri Apr 22 17:55:59 ####@####.## [email protected] And in the logs every couple of minutes I see the same entry. When I test it with telnet, the message is accepted telnet 192.0.1.1 25 Trying 192.0.1.1... Connected to 192.0.1.1. Escape character is '^]'. 220 mailserver.exampleisp.com ESMTP IdeaSmtpServer v0.80.2 ready. ehlo ###.### 250-mailserver.exampleisp.com Hello [D.D.D.D], pleased to meet you 250-PIPELINING 250-ENHANCEDSTATUSCODES 250-SIZE 250-8BITMIME 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250 HELP mail from: ###@###.### 250 2.1.0 Sender address accepted rcpt to: [email protected] 250 2.1.5 Recipient address accepted data 354 Go ahead... Subject: mail test This is a test . 250 2.0.0 Message accepted. ^] telnet> If I delete the original message from the queue postsuper -d ALL Then resend it with no changes at all from my mail program "as new", this time it goes through. Apr 22 11:23:23 tanzer postfix/smtp[11309]: 3qs3s7091tz2wJq: to=<[email protected]>, relay=example.com[192.0.1.1]:25, delay=0.86, delays=0.01/0.01/0.49/0.36, dsn=2.0.0, status=sent (250 2.0.0 Message accepted.) Why is that something gets stuck in the queue, and can not be flushed but the resend works? Is that something I can fix or just the way of things sometime? Is there a postfix setting that will send me a notification only after the Nth retry from the queue has failed? Not the first time, only the Nth?
