[Dovecot] POP3 message not deleted
Hi, i start today my new mail server with dovecot with about 2000 User on it. i don't know if it's a problem or not but when a client connect in pop3 the message keep on the server. Sep 21 10:53:37 cnetmbox dovecot: pop3-login: Login: user=[EMAIL PROTECTED], method=PLAIN, rip=XXX.XXX.XXX.XXX, lip=XXX.XXX.XXX.XXX Sep 21 10:53:37 cnetmbox dovecot: POP3([EMAIL PROTECTED]): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=2595 Thank you for help Workino
Re: [Dovecot] POP3 message not deleted
Ralf, thank you in advance for your answer. No i try it and my message is on the server and the client is not set to do it. my dovecot -n # 1.0.4: /etc/dovecot//dovecot.conf base_dir: /var/run/dovecot/ protocols: imap pop3 imaps pop3s ssl_disable: yes disable_plaintext_auth: no shutdown_clients: no login_dir: /var/run/dovecot//login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_greeting_capability(default): yes login_greeting_capability(imap): yes login_greeting_capability(pop3): no first_valid_uid: 5000 mail_location: maildir:/mbox/%d/%u/Maildir mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv namespace: type: private separator: . prefix: INBOX. inbox: yes auth default: passdb: driver: pam passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: mail plugin: quota: dict: proxy::quota dict: quota: mysql:/etc/dovecot/dovecot-dict-quota.conf And in the log i can't see anything about an permission error... Workino On 9/21/07, Ralf Hildebrandt [EMAIL PROTECTED] wrote: * Gabriele Fergola [EMAIL PROTECTED]: Hi, i start today my new mail server with dovecot with about 2000 User on it. i don't know if it's a problem or not but when a client connect in pop3 the message keep on the server. Sep 21 10:53:37 cnetmbox dovecot: pop3-login: Login: user= [EMAIL PROTECTED], method=PLAIN, rip=XXX.XXX.XXX.XXX, lip=XXX.XXX.XXX.XXX Sep 21 10:53:37 cnetmbox dovecot: POP3([EMAIL PROTECTED]): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=2595 Maybe the users uses leave mail on server -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de How would you rate our government's incompetence? Typical unix response: Unmatched .
Re: [Dovecot] POP3 message not deleted
UUPPP Ok i admint it... my client was configured for keep the message on the server :P Mail.app (os X) keep the message on the server for one week... But i don't think all other client is configure for kepp the message on the server. the best for everyone Workino On 9/21/07, Gabriele Fergola [EMAIL PROTECTED] wrote: Ralf, thank you in advance for your answer. No i try it and my message is on the server and the client is not set to do it. my dovecot -n # 1.0.4: /etc/dovecot//dovecot.conf base_dir: /var/run/dovecot/ protocols: imap pop3 imaps pop3s ssl_disable: yes disable_plaintext_auth: no shutdown_clients: no login_dir: /var/run/dovecot//login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_greeting_capability(default): yes login_greeting_capability(imap): yes login_greeting_capability(pop3): no first_valid_uid: 5000 mail_location: maildir:/mbox/%d/%u/Maildir mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv namespace: type: private separator: . prefix: INBOX. inbox: yes auth default: passdb: driver: pam passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: mail plugin: quota: dict: proxy::quota dict: quota: mysql:/etc/dovecot/dovecot-dict-quota.conf And in the log i can't see anything about an permission error... Workino On 9/21/07, Ralf Hildebrandt [EMAIL PROTECTED] wrote: * Gabriele Fergola [EMAIL PROTECTED]: Hi, i start today my new mail server with dovecot with about 2000 User on it. i don't know if it's a problem or not but when a client connect in pop3 the message keep on the server. Sep 21 10:53:37 cnetmbox dovecot: pop3-login: Login: user= [EMAIL PROTECTED], method=PLAIN, rip=XXX.XXX.XXX.XXX, lip=XXX.XXX.XXX.XXX Sep 21 10:53:37 cnetmbox dovecot: POP3( [EMAIL PROTECTED]): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=2595 Maybe the users uses leave mail on server -- Ralf Hildebrandt ( [EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de How would you rate our government's incompetence? Typical unix response: Unmatched .
Re: [Dovecot] POP3 message not deleted
* Gabriele Fergola [EMAIL PROTECTED]: Hi, i start today my new mail server with dovecot with about 2000 User on it. i don't know if it's a problem or not but when a client connect in pop3 the message keep on the server. Sep 21 10:53:37 cnetmbox dovecot: pop3-login: Login: user=[EMAIL PROTECTED], method=PLAIN, rip=XXX.XXX.XXX.XXX, lip=XXX.XXX.XXX.XXX Sep 21 10:53:37 cnetmbox dovecot: POP3([EMAIL PROTECTED]): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=2595 Maybe the users uses leave mail on server -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de How would you rate our government's incompetence? Typical unix response: Unmatched .
Re: [Dovecot] Running a dovecot IMAPS server
At 3:28 AM +0100 9/21/07, Timothy Murphy wrote: On Thu 20 Sep 2007, Charles Marcus wrote: Incidentally, as far as I can see one has to keep a Local account on kmail, as well as an IMAP account, Dunno why it would be necessary. TBird doesn't have an easy way to lose the 'Local Folders' - maybe kmail has something similar that you are referring to? I just keep those collapsed and ignore them. There appear to be several default folders with kmail, namely inbox, outbox, sent-mail, wastebin, draughts, templates . Local folders are an issue entirely local to a mail client and irrelevant to any IMAP server. since eg sent mail goes to ~/Maildir/sent-mail/cur/ . I didn't find any kmail setting to change this. It's a very bad idea for a mail client running on the same host as an IMAP server to try to access the same mailstore via the filesystem. Maildir is a fuzzy standard: as defined it ignores a lot of things that users of the format want, so Maildir++ exists and various programs that work with Maildir mailstores have made their own mostly-harmless extensions to the original structure that are not standardized and may not interoperate. ??? 'Special' folders are definable by the client - in TBird, I always use 'Sent', 'Drafts', 'Templates' and 'Trash' (these are the defaults too). Maybe kmail is different ... Apparently. In any case, clients (KMail, Eudora, ChatterEmail, Mulberry, Outlook, whatever) create any particular folders that they they want to use for particular purposes by telling the IMAP server to do so, and there is no well-defined standard for what 'special' folders exist on an IMAP server or how they are named or used. I still think you are missing something about how IMAP works... What exactly? 1. IMAP is not a file server protocol. 2. What KMail does is not a definition of any standard. 3. (Only based on your description) KMail does not seem to share much with common (albeit poorly standardized) IMAP client behavior. A mailer shouldn't expect to be able to both work directly with a Maildir mailstore through the filesystem and with an IMAP server that is accessing the same mailstore. -- Bill Cole [EMAIL PROTECTED]
Re: [Dovecot] Running a dovecot IMAPS server
On Fri 21 Sep 2007, Bill Cole wrote: It's a very bad idea for a mail client running on the same host as an IMAP server to try to access the same mailstore via the filesystem. I don't know what you mean by the same mailstore. KMail on my laptop has a Local account, and an IMAPS account. The Local account, which I rarely use, accesses messages on the laptop (such as system messages). the IMAPS account accesses messages on the desktop. This seems to me to work perfectly. I still think you are missing something about how IMAP works... What exactly? 1. IMAP is not a file server protocol. I don't know what this means, so I certainly never assumed it. 2. What KMail does is not a definition of any standard. I never suggested it was. But I use kmail, so what kmail does is of interest to me. I find KMail works perfectly with dovecot (I had some problems originally, because of the different directory structures.) 3. (Only based on your description) KMail does not seem to share much with common (albeit poorly standardized) IMAP client behavior. KMail works perfectly as an IMAPS client, in my experience. A mailer shouldn't expect to be able to both work directly with a Maildir mailstore through the filesystem and with an IMAP server that is accessing the same mailstore. I don't use KMail on my desktop, except as an experiment, but when I do there do not appear to be any problems. My Local folders are kept in directories ~/Mail/Folder1/[cur,new,tmp[/ and are not seen by IMAPS. My IMAPS folders are kept in directories ~/Maildir/.Folder2/[cur,new,tmp]/ and are not seen my kmail.
Re: [Dovecot] Running a dovecot IMAPS server
On 9/21/2007, Bill Cole ([EMAIL PROTECTED]) wrote: A mailer shouldn't expect to be able to both work directly with a Maildir mailstore through the filesystem and with an IMAP server that is accessing the same mailstore. Absolutely... but one thing that I have wished for is 'maildir-like' support (ie, storing messages locally one file per message) in TBird for the local/cached messages/folder, so that I could delete a single email on the local side to force it to be redownloaded, rather than having to delete the entire mbox file, thus forcing TBird to have to redownload *all* email for that folder again (in some cases thousands of messages, and Gigabytes of data, if you are keeping local copies for 'off-line' access). The word is it would take a major rewrite of TBird, so it isn't likely to be implemented soon. Does KMail actually work this way? This would be enough to make me try it out... although my day to day WS is a windows box, so I'd most likely wait until KDE4 is available on Windows... Although, honestly I like TBird so much that I cannot seriously believe I'd like KMail enough to permanently switch, even for this one major benefit. -- Best regards, Charles
Re: [Dovecot] Running a dovecot IMAPS server
Timothy Murphy wrote: I don't use KMail on my desktop, except as an experiment, but when I do there do not appear to be any problems. My Local folders are kept in directories ~/Mail/Folder1/[cur,new,tmp[/ and are not seen by IMAPS. My IMAPS folders are kept in directories ~/Maildir/.Folder2/[cur,new,tmp]/ and are not seen my kmail. If Local folders are under ~/Mail/ - this is OK. But you were saying your local messages are under ~/Maildir/ - the same as dovecot-accessed. And this is wrong. This might be working fine, but still, this is wrong. FiL
[Dovecot] dovecot 1.1alpha6 deliver+quota bugs
I was playing around with dovecot-1.1 and maildir++ quotas, and ran into a reproducible error with indexing.This only seems to be a problem for new maildirs. If I send a message without the quota plugin on, and seed the index/control files, future deliveries with the quota plugin seem to succeed without errors. Version: 1.1alpha6 OS: Debian etch/x86 (ext3 filesystem) # dovecot -n # 1.1.alpha6: /etc/dovecot/dovecot.conf login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_location: maildir:~/Maildir mail_debug: yes mmap_disable: yes lock_method: dotlock mail_executable: /usr/lib/dovecot/gdbhelper /usr/lib/dovecot/imap mail_plugins: quota imap_quota auth default: verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: quota: maildir quota_rule: *:storage=102400 Here's the deliver-log from a fresh Maildir (just ~/Maildir/{cur,new,tmp}): deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: Loading modules from directory: /usr/lib/dovecot/modules/lda deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: auth input: [EMAIL PROTECTED] deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: auth input: home=/home/vmail/domains/example.com/example deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: auth input: uid=1014 deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: auth input: gid=1014 deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: Quota rule: root= mailbox= storage=102400kB messages=0 deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: maildir: data=/home/vmail/domains/example.com/example/Maildir deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: maildir++: root=/home/vmail/domains/example.com/example/Maildir, index=, control=, inbox=/home/vmail/domains/example.com/ex ample/Maildir deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Error: uid_validity mismatch in file /home/vmail/domains/example.com/example/Maildir/dovecot.list.index.uidmap: 1190399988 != 0 deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Error: Corrupted mailbox list index file /home/vmail/domains/example.com/example/Maildir/dovecot.list.index.uidmap: dir_size is s maller than record count deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Error: Internal quota calculation error deliver([EMAIL PROTECTED]): Sep 21 18:39:48 Info: msgid=[EMAIL PROTECTED]: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2007-09-21 18:39:48] Turning off the quota plugin will allow the delivery to succeed: deliver([EMAIL PROTECTED]): Sep 21 18:42:08 Info: auth input: [EMAIL PROTECTED] deliver([EMAIL PROTECTED]): Sep 21 18:42:08 Info: auth input: home=/home/vmail/domains/example.com/example deliver([EMAIL PROTECTED]): Sep 21 18:42:08 Info: auth input: uid=1014 deliver([EMAIL PROTECTED]): Sep 21 18:42:08 Info: auth input: gid=1014 deliver([EMAIL PROTECTED]): Sep 21 18:42:08 Info: maildir: data=/home/vmail/domains/example.com/example/Maildir deliver([EMAIL PROTECTED]): Sep 21 18:42:08 Info: maildir++: root=/home/vmail/domains/example.com/example/Maildir, index=, control=, inbox=/home/vmail/domains/example.com/ex ample/Maildir deliver([EMAIL PROTECTED]): Sep 21 18:42:08 Info: msgid=[EMAIL PROTECTED]: saved mail to INBOX Turning quota back on has a temporary complaint about uidvalidity: deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: Loading modules from directory: /usr/lib/dovecot/modules/lda deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: auth input: [EMAIL PROTECTED] deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: auth input: home=/home/vmail/domains/example.com/example deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: auth input: uid=1014 deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: auth input: gid=1014 deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: Quota rule: root= mailbox= storage=102400kB messages=0 deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: maildir: data=/home/vmail/domains/example.com/example/Maildir deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Info: maildir++: root=/home/vmail/domains/example.com/example/Maildir, index=, control=, inbox=/home/vmail/domains/example.com/ex ample/Maildir deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Error: uid_validity mismatch in file /home/vmail/domains/example.com/example/Maildir/dovecot.list.index.uidmap: 1190400128 != 119 0400088 deliver([EMAIL PROTECTED]): Sep 21 18:44:17 Warning:
Re: [Dovecot] Running a dovecot IMAPS server
Charles Marcus wrote: Does KMail actually work this way? This would be enough to make me try it out... although my day to day WS is a windows box, so I'd most likely wait until KDE4 is available on Windows... Offtopic to the left -- before I switched to using GMail for my personal mail, I used to use Sylpheed ( http://sylpheed.sraoss.jp/en/ ) and it stores messages in a MH format (a file-per-message design somewhat like Maildir) and it can import mbox files from Thunderbird. The client itself is very nice too, I remember really liking it a lot. Bonus: Win32 binaries are also available. hth, -te -- Troy Engel | Systems Engineer Fluid Inc. | http://www.fluid.com
Re: [Dovecot] Running a dovecot IMAPS server
Does KMail actually work this way? This would be enough to make me try it out... although my day to day WS is a windows box, so I'd most likely wait until KDE4 is available on Windows... Offtopic to the left -- before I switched to using GMail for my personal mail, I used to use Sylpheed ( http://sylpheed.sraoss.jp/en/ ) and it stores messages in a MH format (a file-per-message design somewhat like Maildir) and it can import mbox files from Thunderbird. The client itself is very nice too, I remember really liking it a lot. Bonus: Win32 binaries are also available. I tried it a long time ago, but it was still really buggy on Windows... I do remember that its interface didn't seem to be nearly as polished (being that it was GTK based). But, like I said - with TBirds extensions capability, I really don't see myself moving away. There are only two big things baout it I don't like: 1. No proper 'Signature Manager' (yes, I've seen and used the Signature extensions (Signature, Signature Switch, etc), but they still require you to manually create the sigs first. This is a *glaring* lack in my opinion... 2. Monolithic message storage... this is still a biggie to me, but I can live with it... -- Best regards, Charles
Re: [Dovecot] Running a dovecot IMAPS server
On 9/21/2007, FiL @ Kpoxa ([EMAIL PROTECTED]) wrote: I know this is totally unrelated to this topic, but... Is there any extension to create and use templates? ? Just 'Save as' Template... I don't like full name wrote: in my reply messages and would prefer some custom templates, that would be different for different accounts. Oh... maybe you meant 'custom quote line' instead of 'template'? Quickquote can do this to an extent (not to mention its killer, couldn't-live-without-it feature, 'Quote only selected text')... -- Best regards, Charles
Re: [Dovecot] Running a dovecot IMAPS server
Charles Marcus wrote: 1. No proper 'Signature Manager' (yes, I've seen and used the Signature extensions (Signature, Signature Switch, etc), but they still require you to manually create the sigs first. This is a *glaring* lack in my opinion... 2. Monolithic message storage... this is still a biggie to me, but I can live with it... I know this is totally unrelated to this topic, but... Is there any extension to create and use templates? I don't like full name wrote: in my reply messages and would prefer some custom templates, that would be different for different accounts. Thanks, FiL
[Dovecot] Multiple SSL certs
I am trying to find a way to have the SSL cert used by Dovecot be dependent on the local IP address. So far the only ways I have found is to either have two different instances running (annoying because I would need to argue with the init scripts a lot) or use the old, undocumented server{} sections. Is the latter an acceptable way to do this, or is there something better? --Noah Kantrowitz
Re: [Dovecot] Running a dovecot IMAPS server
At 4:18 PM +0100 9/21/07, Timothy Murphy wrote: On Fri 21 Sep 2007, Bill Cole wrote: It's a very bad idea for a mail client running on the same host as an IMAP server to try to access the same mailstore via the filesystem. I don't know what you mean by the same mailstore. KMail on my laptop has a Local account, and an IMAPS account. The Local account, which I rarely use, accesses messages on the laptop (such as system messages). the IMAPS account accesses messages on the desktop. This seems to me to work perfectly. I'm sorry, I clearly misunderstood your previous post. -- Bill Cole [EMAIL PROTECTED]