[Dovecot] strange behavior with virtual accounts and imap
hi, I've recently setup new mailserver with dovecot and postfix. They use mysql and virtual accounts. All works perfectly except.. There is one group account named info, all the mail is forwarded to every other account. Users download their mail via Outlook (2003, 2007) with imap. If someone downloads email send to info and delete it after that. Outlook stoke the message and doesn't delete it immediately, thats normal. But if later someone else downloads his mail and it have received the same letter to info. The message appear as if it's already deleted by that user. But is supposed to be unreaded. I cant find any info why is this happening. Please help
On 2010-10-11 3:36 PM, vladi wrote:
There is one group account named info, all the mail is forwarded to every other account.
Here, this sounds like info@ is a 'list'...
Users download their mail via Outlook (2003, 2007) with imap.
IMAP protocol is where mail is stored on the SERVER... yes, when an IMAP client connects, a COPY is downloaded locally for reading, but the server retains the main/working copy.
If someone downloads email send to info and delete it after that. Outlook stoke the message and doesn't delete it immediately, thats normal. But if later someone else downloads his mail and it have received the same letter to info. The message appear as if it's already deleted by that user. But is supposed to be unreaded. I cant find any info why is this happening. Please help
It sounds like all of them are simply talking to the same IMAP account (info@) - in which case, that's the way IMAP works. If multiple people are connecting to the same account (or shared folder) over IMAP, and one person deletes a message, it is deleted for all...
Sounds like you want POP accounts, not IMAP...
--
Best regards,
Charles
info@ is postfix alias, all mail send to info@ is distributed to all other accounts. info@ doesn't have email in Maildir Users have configured POP3 account for sending email via info@ every user have configured IMAP account for his email and POP3 for info@ but via pop3 cannot receive emails for info@ because postfix doesn't store email in info's Maildir It's a complete mistery. I've change the system to courier and it works fine. The Q. here is why Dovecot behaves strange
On 10/11/2010 11:48 PM, Charles Marcus wrote:
On 2010-10-11 3:36 PM, vladi wrote:
There is one group account named info, all the mail is forwarded to every other account. Here, this sounds like info@ is a 'list'...
Users download their mail via Outlook (2003, 2007) with imap. IMAP protocol is where mail is stored on the SERVER... yes, when an IMAP client connects, a COPY is downloaded locally for reading, but the server retains the main/working copy.
If someone downloads email send to info and delete it after that. Outlook stoke the message and doesn't delete it immediately, thats normal. But if later someone else downloads his mail and it have received the same letter to info. The message appear as if it's already deleted by that user. But is supposed to be unreaded. I cant find any info why is this happening. Please help It sounds like all of them are simply talking to the same IMAP account (info@) - in which case, that's the way IMAP works. If multiple people are connecting to the same account (or shared folder) over IMAP, and one person deletes a message, it is deleted for all...
Sounds like you want POP accounts, not IMAP...
Please don't top-post...
On 2010-10-13 7:15 AM, vladi wrote:
info@ is postfix alias, all mail send to info@ is distributed to all other accounts. info@ doesn't have email in Maildir Users have configured POP3 account for sending email via info@ every user have configured IMAP account for his email and POP3 for info@ but via pop3 cannot receive emails for info@ because postfix doesn't store email in info's Maildir It's a complete mistery.
Doesn't sound mysterious to me. If info@ is *only* an alias and does *not* have its own mailbox, then each user that is included in the alias list should receive a copy of the email in their own Inbox.
In other words, aliases are not user accounts (local or virtual) and don't have mail delivered, so there is nothing to retrieve from 'info's Maildir'...
I've change the system to courier and it works fine. The Q. here is why Dovecot behaves strange
Courier can be installed as either just a standalone POP/IMAP server, or as a complete solutions (it has an MTA component as well).
It sounds to me like you are confused on the MTA side, and you somehow confirgured Courier to deliver mail to BOTH an info@ user account *and* *also* alias it to other users.
--
Best regards,
Charles
On 10/13/2010 02:36 PM, Charles Marcus wrote:
Please don't top-post...
info@ is postfix alias, all mail send to info@ is distributed to all other accounts. info@ doesn't have email in Maildir Users have configured POP3 account for sending email via info@ every user have configured IMAP account for his email and POP3 for info@ but via pop3 cannot receive emails for info@ because postfix doesn't store email in info's Maildir It's a complete mistery. Doesn't sound mysterious to me. If info@ is *only* an alias and does *not* have its own mailbox, then each user that is included in the alias
On 2010-10-13 7:15 AM, vladi wrote: list should receive a copy of the email in their own Inbox.
In other words, aliases are not user accounts (local or virtual) and don't have mail delivered, so there is nothing to retrieve from 'info's Maildir'...
I've change the system to courier and it works fine. The Q. here is why Dovecot behaves strange Courier can be installed as either just a standalone POP/IMAP server, or as a complete solutions (it has an MTA component as well).
It sounds to me like you are confused on the MTA side, and you somehow confirgured Courier to deliver mail to BOTH an info@ user account *and* *also* alias it to other users.
Yes, they receive a copy via postfix, but if someone mark the message for deletion, every other account downloads his copy from his own independent maildir as if himself downloaded it earlier and mark it for deletion. It's misbehavior.
Example: I send email to info@ with subject: 'new offer': jane and john receive both a copy. Jane with outlook download her mail in the morning and delete the message. outlook mark it for deletion and leave it in her maildir. john later with his outlook is downloading his mail and the same message (his copy) is downloaded as readed and marked to be deleted and not as new (as it supposed to be). they don't share same or any imap directory. the only common between them is info@ as pop3 for sending emails from behalf of info@. but in this pop3 account postfix doesn't store anything. its completely empty.
On 2010-10-18 3:38 AM, vladi wrote:
Example: I send email to info@ with subject: 'new offer': jane and john receive both a copy. Jane with outlook download her mail in the morning and delete the message. outlook mark it for deletion and leave it in her maildir.
That *sounds* like IMAP, not POP behavior. Maybe *one* of these Outlooks is configured as IMAP, and the other is POP?
john later with his outlook is downloading his mail and the same message (his copy) is downloaded as readed and marked to be deleted and not as new (as it supposed to be). they don't share same or any imap directory.
Please provide *proof* of your configuration... output of postconf -n is a good start, then screenshots of *both* of the Outlook Account Details will also be necessary.
the only common between them is info@ as pop3 for sending emails from behalf of info@.
More confusion. POP is not used for sending mail, it is a protocol for *retrieving* mail. SMTP is what is used for sending mail.
but in this pop3 account postfix doesn't store anything. its completely empty.
What is there to store for SENT mail?
Like I said, only much more detailed proof (not verbal descriptions) of your current configuration will have any hope of clearing this up.
--
Best regards,
Charles
participants (2)
-
Charles Marcus
-
vladi