Re: [Courier-imap] Emails sent exactly twice.
Brought to you by:
mrsam
From: Don P. <co...@pi...> - 2007-02-23 19:17:03
|
Also sprach Keith P Hassen: > On 2/23/2007 11:39 AM, Ralf Hildebrandt wrote: >> * Keith P Hassen <kei...@re...>: >>> Hello, any time I use IMAP, my mail is getting delivered exactly twice. >>> This only occurs with IMAP, not with POP3. >>> >>> My MTA is Postfix, and I see it picking up mail from both the "smtpd" >>> process and from the "pickup" process. Is there something in the way >>> IMAP is configured that is causing this? >> Open the mailbox (it's Maildir format) with >> >> mutt -f Maildir/ >> >> to see if there are duplicates. >> > > Sorry, maybe I wasn't clear: mail is getting delivered to *other* > domains twice. So, I send mail from my domain using IMAP to > jo...@so..., and Joe receives the email exactly twice. When I > receive mail at *my* domain, I get the email exactly once, as per usual. > > Again, this only occurs when I send mail using IMAP. Is it possible that your imapd is configured to provide an Outbox (OUTBOX in the imapd config file)? From the config file: "If OUTBOX is defined, mail can be sent via the IMAP connection by copying a message to the INBOX.Outbox folder. For all practical matters, INBOX.Outbox looks and behaves just like any other IMAP folder. If this folder doesn't exist it must be created by the IMAP mail client, just like any other IMAP folder. The kicker: any message copied or moved to this folder is will be E-mailed by the Courier-IMAP server, by running the SENDMAIL program. Therefore, messages copied or moved to this folder must be well-formed RFC-2822 messages, with the recipient list specified in the To:, Cc:, and Bcc: headers." It strikes me that if your IMAP client is set up to save sent items in, say, "Outbox", it would be sent once via SMTP and then again when imapd notices a new message in your Outbox. Don (having a Catch-22 flashback: "I see everything twice!" :-) |