[Dovecot] Duplicate E-mail Problem

Phillip T. George Phillip at StellarDreams.com
Sat Apr 14 01:32:13 EEST 2007


Robert Schetterer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Phillip T. George schrieb:
>   
>> Hello all,
>>
>> Definitely congrats on the 1.0.0 release!
>>
>> Anyway, I'm having a problem, that may or may not be related to
>> Dovecot.  Specifically, duplicate (and sometimes triplicate) emails are
>> appearing.  These emails have exactly the same queue ID, so its not that
>> they were sent multiple times.  These dup emails do not show up to me ever.
>>
>> Postfix is being used as the SMTP, and it hands it over to procmail.  I
>> set up procmail's verbose logging feature for that user and on the
>> duplicate emails that he receives, it shows only ONE write to a file for
>> that specific subject of email.  Tonight / this morning I'll be tracking
>> down to see if this duplicate for sure happens in IMAP.
>>
>> Note: Its possible that part of the problem is he leaves two IMAP
>> clients open at the same time (Netscape I think).  I'm going to verify
>> that with him.
>>
>> Any ideas?  I'm NOT trying to blame Dovecot, I'm just trying to explore
>> options.  Right now its looking fairly bad for Dovecot though....I mean,
>> what else is there after the mail is delivered to the appropriate place
>> in the mailbox?
>>
>> Software versions:
>> postfix 2.3.8
>> procmail 3.22
>> dovecot 1.0.rc28
>>
>> Thanks,
>> Phillip
>>
>>     
> Hi Phillip,
> this surely gets not to dovecot, my first tip goes to procmail
> read
> http://www.postfix.org/faq.html#duplicate
> http://pm-doc.sourceforge.net/pm-tips-body.html search  Order of the
> procmail recipes
> use google duplicate procmail
> after all you can double mails with filters like amavis, clamsmtp
> therefor your have to include  -o
> receive_override_options=no_address_mappings, in master cf in the filter
> lines,
> after all apple mail has long list of bug with imap with double emails
> too, look at you mail log and you will find the reason
> - --
> Mit freundlichen Gruessen
> Best Regards
>
> Robert Schetterer
>
> https://www.schetterer.org
> Munich/Bavaria/Germany
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFGH+yxfGH2AvR16oERAnVIAJ9fRakXwcxXuLAB/+O2E2D18OoL3gCghoof
> +IGwfVBgaiHnvbt0i3TQ3nU=
> =BkSX
> -----END PGP SIGNATURE-----
>
>   
(Sorry Robert, I accidentally replied off-list to you)

Normally I'd agree with you, especially on the Procmail side, but I've 
already checked the logs.  I've also checked Postfix's logs.  These 
duplicate emails have the same exact ID.  Postfix shows handing the 
email over to Procmail.  Procmail only shows delivering to one file.  
The duplicates are not consistent ... they do not always occur.  
Probably about 10 dupes a day out of 400-500 emails.

I'll provide more information sometime between tomorrow and Monday.  I 
have coordinated a plan with the user so that I may scan the mailbox 
tomorrow morning to check for duplicates, while that user has all 
clients closed.  If the duplicates occur, then Dovecot is 100% off of 
the hook.  I really like Dovecot, so I feel sort of sick and evil for 
even wanting to assume it could do anything wrong :)

-Phillip


More information about the dovecot mailing list