[Dovecot] dovecot lost mail! Cause?
Hi,
After using dovecot for several years now, today happend something which makes me really feel unconfortable: An email received was just not delivered properly, or, is lost! The mail (from an external server) was sent to two local mailboxes, user1 and user2. user1 received the message but for user2, it *magically* disappeared.
MTA is exim4 which definitely processed the messages and handed over to dovecot deliver:
2012-11-12 07:28:21 1TXnVG-00053I-GD SA: [...] id=8644593.887351352701 685934.JavaMail 2012-11-12 07:28:21 1TXnVG-00053I-GD => user1 <user1@example.com> R=dovecot T=dovecot_pipe 2012-11-12 07:28:21 1TXnVG-00053I-GD => user2 <user2@example.com> R=dovecot T=dovecot_pipe 2012-11-12 07:28:21 1TXnVG-00053I-GD Completed
Also, the log of dovecot tells that the mail should have been stored:
Nov 12 07:28:21 mail dovecot: deliver(user1): sieve: msgid=<8644593.887351352701685934.JavaMail>: stored mail into mailbox 'INBOX' Nov 12 07:28:21 mail dovecot: deliver(user2): sieve: msgid=<8644593.887351352701685934.JavaMail.orbitz>: stored mail into mailbox 'INBOX'
user1 received the mail but user2 not. Since user2 is myself, I *know* that I did not accidently delete any mail or something like that. It was just never received!
Disk space is 3GB left, so enough.
So I grepped the whole Maildir of user2 for the message ID. There is only one match in the dovecot.index.cache and within that, the most important data of the mail (Message ID, Date, Sender, Receiver, Subject) appears. But apart from that, not a single file!
Is there hope to ever find out why what was going wrong here? It feels me veeeeeeeeery unconfortable because from now on I can never be sure any more that all my mails are really received :( :( However, as I said, my mail system processed maybe millions of messages the past 8 years. Although, I can not be sure if that was the case ... :(
And help greatly appreciated!
Luke
PS: Dovecot version 1.2.15 (Debian 6.0.6) with Maildir backend on local harddrive. No NFS, nothing which can go wrong ...
PPS: Original log files, just named replaced for privacy.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 12 Nov 2012, Lukas Haase wrote:
Nov 12 07:28:21 mail dovecot: deliver(user2): sieve: msgid=<8644593.887351352701685934.JavaMail.orbitz>: stored mail into mailbox 'INBOX'
are there any other log lines of user2?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBUKC/FmoxLS8a3A9mAQJLEAgAkghKGBYWFj94OMCo5mM26XV4c0nHKgob ec0ELqgOIGZf+DA7+Dztwq/MWgdkhB/ZbUSQ2rd4qQ7nf7gEO10L0WXUXWzMJ9sm upvn8JaOJDZ37Ne7AeoOib/m5fXyQUa0oiW7y8ShdeveTAOtn+Bu0OT2BuibOeT8 /EsTA+DfVlymTgHrMYU0LIjjvHh94Duj4at1k1X1So2kTaNbw48ljKYMd0qb2+pR 39D/ZtynOqnEKzj5f+JU+WmCcCAEAW9IL8U8pySvuZaXkPN+cfcLO82J9UIEmIAf IKymFt7JuNabGCsJ0FpMeuLAyXNOxJdKmGxgqmpyfilPY2ty8hstmg== =Uz9E -----END PGP SIGNATURE-----
Hi,
On 11/12/2012 1:19 AM, Steffen Kaiser wrote:
On Mon, 12 Nov 2012, Lukas Haase wrote:
Nov 12 07:28:21 mail dovecot: deliver(user2): sieve: msgid=<8644593.887351352701685934.JavaMail.orbitz>: stored mail into mailbox 'INBOX'
are there any other log lines of user2?
Anfortunately not :-( Grepped everything, and I would have posted otherwise.
My hope is that the dovecot.index.cache may provide some insights (I made a backup copy of it).
Luke
On Mon, Nov 12, 2012 at 01:44:37AM -0800, Lukas Haase wrote:
Hi,
On 11/12/2012 1:19 AM, Steffen Kaiser wrote:
On Mon, 12 Nov 2012, Lukas Haase wrote:
Nov 12 07:28:21 mail dovecot: deliver(user2): sieve: msgid=<8644593.887351352701685934.JavaMail.orbitz>: stored mail into mailbox 'INBOX'
are there any other log lines of user2?
Anfortunately not :-( Grepped everything, and I would have posted otherwise.
My hope is that the dovecot.index.cache may provide some insights (I made a backup copy of it).
Hi,
yesterday i had a user missing mail and he had the junk-filter in thunderbird activated. The mail was automagically moved from the inbox to the spam folder. From the header i see you use thunderbird, so it's a shot in the dark ...
Regards,
Mike
On 2012-11-13 4:18 AM, Michael Firnau <mfi@tf.uni-kiel.de> wrote:
yesterday i had a user missing mail and he had the junk-filter in thunderbird activated. The mail was automagically moved from the inbox to the spam folder. From the header i see you use thunderbird, so it's a shot in the dark ...
I have a user that uses filters, and occasionally will shoot himself in the foot trying to be a little bit too smart trying to catch junk (his definition of junk is just anything that he doesn't want), and he calls me occasionally to come figure out why his filter is catching all of his good mail (usually a typo)...
So, check for any filters too...
--
Best regards,
Charles
On 11/13/2012 1:18 AM, Michael Firnau wrote:
On Mon, Nov 12, 2012 at 01:44:37AM -0800, Lukas Haase wrote:
Hi,
On 11/12/2012 1:19 AM, Steffen Kaiser wrote:
On Mon, 12 Nov 2012, Lukas Haase wrote:
Nov 12 07:28:21 mail dovecot: deliver(user2): sieve: msgid=<8644593.887351352701685934.JavaMail.orbitz>: stored mail into mailbox 'INBOX'
are there any other log lines of user2?
Anfortunately not :-( Grepped everything, and I would have posted otherwise.
My hope is that the dovecot.index.cache may provide some insights (I made a backup copy of it).
Hi,
yesterday i had a user missing mail and he had the junk-filter in thunderbird activated. The mail was automagically moved from the inbox to the spam folder. From the header i see you use thunderbird, so it's a shot in the dark ...
Hmm, yes, but even in that case, the mail would have been moved to the Spam folder in the account (i.e., on the IMAP server) and I would have found it when grepping over anything.
Thanks,
Luke
participants (4)
-
Charles Marcus
-
Lukas Haase
-
Michael Firnau
-
Steffen Kaiser