question on lmtp logged message
Hi,
I have dovecot running for IMAP4/POP3 and also local delivery
through LMTP. It's working just fine, absolutely no problem on that, setup is fine.
Anyway, sometimes LMTP seems to not be able to deliver some
messages and keep them on postfixqueue. And on the next or third try, the message gets delivered successfully. The logged message, however, is not helping me identify what is happening.Example:
(error - message was expunged) Jun 25 11:49:39 correio postfix/lmtp[21835]: ADB0A1AC05108: to=vanilson.parreira@domain.com.br, relay=correio.domain.com.br[private/dovecot-lmtp], conn_use=6, delay=13, delays=0.07/0/0/13, dsn=4.2.0, status=deferred (host correio.domain.com.br[private/dovecot-lmtp] said: 451 4.2.0 vanilson.parreira@domain.com.br Message was expunged (received-date) (in reply to end of DATA command))
(successfull delivery) Jun 25 12:34:42 correio postfix/lmtp[6411]: ADB0A1AC05108: to=vanilson.parreira@domain.com.br, relay=correio.domain.com.br[private/dovecot-lmtp], delay=2716, delays=2714/0/0/2.3, dsn=2.0.0, status=sent (250 2.0.0 vanilson.parreira@domain.com.br U7pOLAHsqlPvMgAAHvf8vg Saved)
During these two log entries, absolutely nothing was changed, no
configuration, absolutely nothing. Everything is local, i mean, no NFS involved.
So, finally, question is: what does the 'message was expunged'
message given from LMTP means ??? This is happening quite often but, as i mentionted, sooner or later all messages are getting delivered. It's working despite the delay this is causing.
[root@correio log]# dovecot --version 2.2.13
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 25 Jun 2014, Leonardo Rodrigues wrote:
Anyway, sometimes LMTP seems to not be able to deliver some messages and keep them on postfixqueue. And on the next or third try, the message gets delivered successfully. The logged message, however, is not helping me identify what is happening.Example:
(error - message was expunged) Jun 25 11:49:39 correio postfix/lmtp[21835]: ADB0A1AC05108: to=vanilson.parreira@domain.com.br, relay=correio.domain.com.br[private/dovecot-lmtp], conn_use=6, delay=13, delays=0.07/0/0/13, dsn=4.2.0, status=deferred (host correio.domain.com.br[private/dovecot-lmtp] said: 451 4.2.0 vanilson.parreira@domain.com.br Message was expunged (received-date) (in reply to end of DATA command))
What does the Dovecot log says for the delivery attempt? How many recipients does the message has and, if so, what about the other recipients?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU6u+ZHz1H7kL/d9rAQKh9Af8DNlglX8tfG4MpApNOO/Xx5VUsrNX4lxe cXp8RXjY6pl+MGWctd3zMcjCBocXP0MXbe3P2tMRsw7/vINi8EBkcA4B70gWLiRB Fo3XW40FUbCmnckNsi7ctzmwnV+tzk6KxEl8sl0n5RCMQ8joSjcdGXJ1IKOpla+G jtCAEs9nag0vXG5/ckmbybA/u41hAwBqEBbOZxeAByn2wUICOY9dYljR78dKApSy 8rQsbh5SSihVdXZ9EXcqbSsK88MTkq8nnV6jCNaTSv9R2YKVB+ViFiYm/a7LXiqt XAOm7dEWAZ1IIrvfjdEMSzwwwbeOnCgRl5UXOj+rT/STYPfb4Mb2wQ== =Kxhj -----END PGP SIGNATURE-----
On 25.6.2014, at 18.45, Leonardo Rodrigues leolistas@solutti.com.br wrote:
I have dovecot running for IMAP4/POP3 and also local delivery through LMTP. It's working just fine, absolutely no problem on that, setup is fine.
Anyway, sometimes LMTP seems to not be able to deliver some messages and keep them on postfixqueue. And on the next or third try, the message gets delivered successfully. The logged message, however, is not helping me identify what is happening.Example:
(error - message was expunged) Jun 25 11:49:39 correio postfix/lmtp[21835]: ADB0A1AC05108: to=vanilson.parreira@domain.com.br, relay=correio.domain.com.br[private/dovecot-lmtp], conn_use=6, delay=13, delays=0.07/0/0/13, dsn=4.2.0, status=deferred (host correio.domain.com.br[private/dovecot-lmtp] said: 451 4.2.0 vanilson.parreira@domain.com.br Message was expunged (received-date) (in reply to end of DATA command))
I guess the only good fix for this is to just get rid of this deduplication feature for now: http://hg.dovecot.org/dovecot-2.2/rev/51274bf2a47d
Hopefully people don't rely on this feature too much.
Em 03/07/14 14:31, Timo Sirainen escreveu:
On 25.6.2014, at 18.45, Leonardo Rodrigues leolistas@solutti.com.br wrote:
I have dovecot running for IMAP4/POP3 and also local delivery through LMTP. It's working just fine, absolutely no problem on that, setup is fine. Anyway, sometimes LMTP seems to not be able to deliver some messages and keep them on postfixqueue. And on the next or third try, the message gets delivered successfully. The logged message, however, is not helping me identify what is happening.Example:
(error - message was expunged) Jun 25 11:49:39 correio postfix/lmtp[21835]: ADB0A1AC05108: to=vanilson.parreira@domain.com.br, relay=correio.domain.com.br[private/dovecot-lmtp], conn_use=6, delay=13, delays=0.07/0/0/13, dsn=4.2.0, status=deferred (host correio.domain.com.br[private/dovecot-lmtp] said: 451 4.2.0 vanilson.parreira@domain.com.br Message was expunged (received-date) (in reply to end of DATA command))
I guess the only good fix for this is to just get rid of this deduplication feature for now: http://hg.dovecot.org/dovecot-2.2/rev/51274bf2a47d
Hopefully people don't rely on this feature too much.
Hi Timo,
I patched the 2.2.13 tree source, recompiled and installed. I'll
let it run for some days and look again if the messages dissapeared. I'm still getting some few of these everyday, so noticing if they dissapeared or continue to happen will be easy.
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it
Em 03/07/14 14:31, Timo Sirainen escreveu:
On 25.6.2014, at 18.45, Leonardo Rodrigues leolistas@solutti.com.br wrote:
I have dovecot running for IMAP4/POP3 and also local delivery through LMTP. It's working just fine, absolutely no problem on that, setup is fine. Anyway, sometimes LMTP seems to not be able to deliver some messages and keep them on postfixqueue. And on the next or third try, the message gets delivered successfully. The logged message, however, is not helping me identify what is happening.Example:
(error - message was expunged) Jun 25 11:49:39 correio postfix/lmtp[21835]: ADB0A1AC05108: to=vanilson.parreira@domain.com.br, relay=correio.domain.com.br[private/dovecot-lmtp], conn_use=6, delay=13, delays=0.07/0/0/13, dsn=4.2.0, status=deferred (host correio.domain.com.br[private/dovecot-lmtp] said: 451 4.2.0 vanilson.parreira@domain.com.br Message was expunged (received-date) (in reply to end of DATA command))
I guess the only good fix for this is to just get rid of this deduplication feature for now: http://hg.dovecot.org/dovecot-2.2/rev/51274bf2a47d
Hopefully people don't rely on this feature too much.
Timo,
Is it expected deliveries through LMTP to get slower with this
patch ? I mean ... despite i was seeing the 'message was expunged' some few times a day, after applying the patch they really dissapear, but my deliveries starts to apparently get slower. I dont have real numbers to prove that, i can only guanratee that my queues are starting to grow up a lot with to-be-local-delivered messages.
I experienced that last week after running the patched version for
some hours. Reverted to plain 2.2.13 and queues were successfully emptied after some minutes. This weekend i installed the 2.2.13 patched one again and, by this morning, queues are growing again.
I really do not understand dovecot internals and, sincerily, dont
even know if i'm using some feature that depends on deduplication. Fact is that i'm running a pretty busy server and those 'message was expunged' situations werent a real problem. When it happened, message would be on the queue and probably delivered some minutes later, on the 1st or 2nd queue run after that. But if removing this deduplication tests/feature will slow down that much the deliveries, i'm afraid that, overall, the non-patched version is better to me.
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it
participants (3)
-
Leonardo Rodrigues
-
Steffen Kaiser
-
Timo Sirainen