Re: Dovecot top stats
On 10/15/2015 06:17 PM, Steffen Kaiser wrote: > On Thu, 15 Oct 2015, Kilburn Abrahams wrote: > > > I have enabled doevcot stats and I can do a doveadm stats dump user > but I > > get a 0 for disk_input, disk_output, read_bytes and write_bytes. I > do get > > mail_read_bytes numbers but I am not sure these numbers are correct. > > my stats contain numbers greater than zero, except for very few users. > > Did you tested it with some account and waited a bit, incl. > logins/logouts? > > -- Steffen Kaiser Yes I waited more than 24 hrs but I would assume it would a few minutes would do it as well. I am using gentoo and dovecot 2.2.19. I get numbers for all columns except disk_input, disk_output, read_count, read_bytes, write_count and write_bytes which is 0. cat /proc/self/io rchar: 2068 wchar: 0 syscr: 6 syscw: 0 read_bytes: 0 write_bytes: 0 cancelled_write_bytes: 0 Is this a kernel setting that causes this read_bytes and write_bytes to be 0 as it happens on a test server as well. /Kilburn
Dovecot top stats
Hi, I have being try to track down top email users to sometime. When I do a network traffic check I can see there is about 15 times more email traffic pulled from mail server than sent. The problem I am trying to track down is which users are the culprit. I have enabled doevcot stats and I can do a doveadm stats dump user but I get a 0 for disk_input, disk_output, read_bytes and write_bytes. I do get mail_read_bytes numbers but I am not sure these numbers are correct. I there a top utility that works well so I can see email traffic from users mailboxes. The doveadm top does not work well. I also tried the perl scripts and that does not do a much better job. Thanks Kilburn
Re: [Dovecot] Outlook 2007 & 2010 hangs in v2.2?
On 06/09/2014 02:58 AM, Charles Marcus wrote: > On 6/7/2014 10:46 AM, Kilburn Abrahams wrote: >> These users >> have 50GB+ mailboxes using IMAP. > > What mailbox format (maildir? dbox? mbox?)? Maildir++. I have got most Outlook users to remove delete items so the size ~ 30GB with the exception of 2 users that I want to keep for testing. I switched to fetch headers. It seemed to reduce the error a bit but I don't know if this is factor of mail reduction or headers. Either way, there is a regression in 2.2.
Re: [Dovecot] Outlook 2007 & 2010 hangs in v2.2?
I can confirm also that since upgrading from 2.1.16 to 2.2.13 that Outlook 2013 (don't have previous versions to test) is throwing strange errors when users send emails. This predominantly happens when sending but has happened when they compose a long email then send. These users have 50GB+ mailboxes using IMAP. I will try the fetch headers and report back. The Outlook errors we are getting is "The operation failed. The messaging interfaces returned an unknown error. Please restart Outlook". So I can confirm there is problem, as one of the users who use Thunderbird with an equally large mailbox and does not have problems. Kilburn On 06/07/2014 12:25 AM, Andy Dills wrote: > We just upgraded from 2.1.16 to 2.2.13, and we have been have horrendous > troubles with outlook since the upgrade. > > For users with large mailboxes, they are unable to sync their folders. > Perhaps this is specifically because of the problem you are mentioning Timo. > > The only solution we could come up with for now was to configure outlook to > only fetch headers and not bodies, when syncing. For the most part, bringing > up individual messages is fine, haven't seen that fail. So, with that tweak > to the outlook config, things are working error-free again for our > users...but it was certainly an unexpected situation to tackle. > > Also, we found a marked improvement connecting via SSL on 993 than we do > unencrypted on 143. > > I can definitely confirm 100% there is a regression in dovecot 2.2 that > severely impacts the performance of outlook (but works great with everything > else). > > Let me know if I can help you track this down Timo. > > Andy > > Sent from my iPhone > >> On Jun 5, 2014, at 1:40 PM, Timo Sirainen wrote: >> >>> On 5.6.2014, at 20.23, Robert Schetterer wrote: >>> >>> Am 05.06.2014 17:02, schrieb Timo Sirainen: On 5.6.2014, at 17.41, Martin Rabl wrote: > Am 05.06.2014 16:38, schrieb Timo Sirainen: >> Has anybody noticed Outlook 2007 & 2010 (but apparently not 2013) >> hanging IMAP connections with Dovecot v2.2 (but not v2.1) when they're >> FETCHing large mails? I can't think of any reasonable explanation for >> this. > how large? I don't know yet if the mail size is even relevant. At least one hang was caused by downloading ~55 MB mail where it stopped just before the last 400 kB. I find it strange that v2.2 has been out for a long time and nobody before this complained about any hangs. >>> 55 MB mail may are rare ,i can test it ,but it will need some time ( old >>> outlook install on clean new windows system) >>> perhaps anyone has an existing setup which could do it faster >> Happens also with smaller mails, for example 3 MB and I think there were >> also even smaller ones like 1 MB. I see that once Outlook tried to download >> the same 3 MB mail 3 times and it stopped reading it when it had 400 kB >> left, but the 4th time succeeded. Dovecot sent exactly the same data with >> the same TCP packet boundaries all times (at least to Dovecot proxy - would >> have to look with tcpdump further to see if proxy does something >> differently..) >> >> Anyway, nobody in general has had trouble with Dovecot v2.2 and Outlook >> 2007/2010? Maybe the problem is something else, although strange if it >> started happening only immediately after Dovecot upgrade.
Re: [Dovecot] SSL Warning Message
Hi Marcus Oops forgot dovecot -n EBox dovecot # dovecot -n # 2.0.12: /etc/dovecot/dovecot.conf doveconf: Warning: SSL is disabled because global ssl=no, ignoring ssl=yes for subsection doveconf: Warning: SSL is disabled because global ssl=no, ignoring ssl=yes for subsection # OS: Linux 2.6.36-gentoo-r5 x86_64 Gentoo Base System release 1.12.14 ext4 auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain base_dir = /var/run/dovecot/ default_process_limit = 400 deliver_log_format = msgid=%m: &f %s %$ disable_plaintext_auth = no first_valid_uid = 150 info_log_path = /var/log/dovecot-mail.log last_valid_uid = 150 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * log_path = /var/log/dovecot-mail.log mail_debug = yes mail_location = maildir:/var/vmail/%d/%n mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { autocreate = Sent autocreate1 = Trash autocreate2 = Spam autocreate3 = Archive autocreate4 = Drafts autocreate5 = Deleted autosubscribe = Sent autosubscribe1 = Trash autosubscribe2 = Spam autosubscribe3 = Archive autosubscribe4 = Drafts autosubscribe5 = Deleted fts = squat fts_squat = partial=4 full=10 mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename quota = maildir:User quota quota_rule = *:storage=4G quota_rule2 = Trash:storage=+400M sieve = ~/.dovecot.sieve sieve_before = /etc/dovecot/archive.sieve sieve_dir = ~/sieve } protocols = imap pop3 sieve service anvil { client_limit = 2000 } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-master { group = mail mode = 0600 user = vmail } user = $default_internal_user } service imap-login { inet_listener imap { port = 143 } inet_listener imap_second { port = 220 } process_min_avail = 2 service_count = 0 vsz_limit = 256 M } service managesieve-login { inet_listener sieve { port = 4190 } service_count = 1 } service pop3-login { inet_listener pop3 { port = 110 } service_count = 0 } ssl = no userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } protocol lda { auth_socket_path = /var/run/dovecot/auth-master info_log_path = /var/log/dovecot-deliver.log log_path = /var/log/dovecot-deliver.log mail_plugins = sieve quota } protocol imap { imap_client_workarounds = delay-newmail tb-extra-mailbox-sep imap_idle_notify_interval = 2 mins imap_logout_format = bytes=%i/%o mail_plugins = " quota imap_quota fts fts_squat autocreate" } protocol sieve { managesieve_logout_format = bytes=%i/%o managesieve_max_line_length = 65536 } protocol pop3 { mail_plugins = " quota" pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s pop3_uidl_format = %08Xu%08Xv } On 15/04/2011 9:34 PM, Charles Marcus wrote: On 2011-04-14 6:49 PM, Kilburn Abrahams wrote: Upgraded to 2.0.12 and when I restart I get this 'doveconf: Warning: SSL is disabled because global ssl=no, ignoring ssl=yes for subsection.' even though there is no subsection with ssl=yes. Prove it (e.g. - provide output of dovecot -n output)...
[Dovecot] SSL Warning Message
Hi Upgraded to 2.0.12 and when I restart I get this 'doveconf: Warning: SSL is disabled because global ssl=no, ignoring ssl=yes for subsection.' even though there is no subsection with ssl=yes. Regards Kilburn
Re: [Dovecot] correct syntax for multiple ports
On 12/11/2010 11:10 PM, Daniel Luttermann wrote: Kilburn Abrahams wrote on 12/11/2010: On 12/11/2010 10:17 PM, Daniel Luttermann wrote: Kilburn Abrahams wrote on 12/11/2010: Hi, What is the correct format to specify multple ports in dovecot 2. With dovecot 1.2 listen = *:143 *:6188 worked fine. I cannot find any mention in the wiki2 about the different combinations of listen, address and port parameters and dovecot complains about the combinations I tried. Does not seem to work 1. inet_listener imap { listen = *:143 *:6188 } 2. inet_listener imap { address = *:143 *:6188 } 3. inet_listener imap { port = 143, 6188 or port = 143 6188 } This start dovecot, but roundcube will not connect on port 143, although Thunderbird will connect on 1432 and 6188 listen = *, :: 1. inet_listener imap { port 143 port = 6188 } This should work: listen = *:143, *:6188 -- Daniel I tried that and get doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 68: Unknown setting: listen. Line 68 refers to listen = *:143, *:6188 OK, it seems that it's needed to specify multiple ports this way: service imap-login { inet_listener imap { port = 143 } inet_listener imap_second { port = 6188 } } -- Daniel Ok, that works. Is this listed somewhere? What is the syntax if you want to add more ports. /K
Re: [Dovecot] correct syntax for multiple ports
On 12/11/2010 10:17 PM, Daniel Luttermann wrote: Kilburn Abrahams wrote on 12/11/2010: Hi, What is the correct format to specify multple ports in dovecot 2. With dovecot 1.2 listen = *:143 *:6188 worked fine. I cannot find any mention in the wiki2 about the different combinations of listen, address and port parameters and dovecot complains about the combinations I tried. Does not seem to work 1. inet_listener imap { listen = *:143 *:6188 } 2. inet_listener imap { address = *:143 *:6188 } 3. inet_listener imap { port = 143, 6188 or port = 143 6188 } This start dovecot, but roundcube will not connect on port 143, although Thunderbird will connect on 1432 and 6188 listen = *, :: 1. inet_listener imap { port 143 port = 6188 } This should work: listen = *:143, *:6188 -- Daniel I tried that and get doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 68: Unknown setting: listen. Line 68 refers to listen = *:143, *:6188
[Dovecot] correct syntax for multiple ports
Hi, What is the correct format to specify multple ports in dovecot 2. With dovecot 1.2 listen = *:143 *:6188 worked fine. I cannot find any mention in the wiki2 about the different combinations of listen, address and port parameters and dovecot complains about the combinations I tried. Does not seem to work 1. inet_listener imap { listen = *:143 *:6188 } 2. inet_listener imap { address = *:143 *:6188 } 3. inet_listener imap { port = 143, 6188 or port = 143 6188 } This start dovecot, but roundcube will not connect on port 143, although Thunderbird will connect on 1432 and 6188 listen = *, :: 1. inet_listener imap { port 143 port = 6188 } Regards K
Re: [Dovecot] Expunge -A cannot find users
On 11/08/2010 10:29 PM, A.L.E.C wrote: > On 08.11.2010 06:00, Kilburn Abrahams wrote: > >> doveadm expunge -u t...@planetseafood.com mailbox Archive ON '8-Nov-2010' >> >> But in this format doveadm expunge -A mailbox Archive ON '8-Nov-2010', >> it will list all the users in the database and display the following and >> no messages are expunged. >> >> doveadm(t...@planetseafood.com@planetseafood.com): Info: User no longer >> exists, skipping. >> >> The iterate_query = SELECT username AS username, domain FROM mailbox >> which is correct for the DB layout. > What returns this query? Maybe you should just use "-u test" (without > domain part)? > Changed iterate_query = SELECT username FROM mailbox and it works. Sorry for the noise.
[Dovecot] Expunge -A cannot find users
Hi List, If I use doveadm expunge in this format expunge will delete the email doveadm expunge -u t...@planetseafood.com mailbox Archive ON '8-Nov-2010' But in this format doveadm expunge -A mailbox Archive ON '8-Nov-2010', it will list all the users in the database and display the following and no messages are expunged. doveadm(t...@planetseafood.com@planetseafood.com): Info: User no longer exists, skipping. The iterate_query = SELECT username AS username, domain FROM mailbox which is correct for the DB layout. I am not using the expire plugin. Is this a permissions issue? Thanks Kilburn
Re: [Dovecot] Migrating from CommunigatePro to Dovecot - anyone done this?
Migrated 300+ mailboxes a few days ago (pop->imap and imap->imap) using imap tools from http://www.athensfbc.com/imap_tools/. Use v1.74 tar file. The author fixed a date issue. For some reason Dovecot expects that time format to be 2 characters, so for example 2:10:41 will fail but 02:10:41 will pass. After the script was changed all went very smooth. You can use the mass migration tools (migrateimap.pl and pop2imap.pl) I did not have much luck with imapsync. Regards Kilburn On 17/06/2010 12:44 AM, Gavin Lawrie wrote: Arne, Timo Really helpful suggestions. Thanks! imapsync looks like it will do the job - I think I can get the two servers to co-exist on the same server, so bandwidth issue will be minimised. Presumably also it will negate the need to convert each user to having just MailDir directories before the move I will have a think about the script / dsync solution - if it turns out to be useful over imapsync and I create anything useful I will of course share it back via list etc. Regards Gavin * Balanced Scorecard Training from 2GC: Next course 16th July 2010 in the UK. More information from http://www.2gc.co.uk/balanced-scorecard-training-dates - 2GC Limited is a limited company registered in England and Wales. Address: Albany House, Market Street, Maidenhead, Berkshire, SL6 8BE. Contact: +44 (0) 1628 421506 // i...@2gc.co.uk Registered number: 3754183. Registered office:16, Wentworth Road, Oxford OX2 7TQ. http://www.2gc.co.uk/
[Dovecot] Version Mismatch
hi list I upgraded to 1.1.3, and have my logs turned off for some time, but turned it back on when someone complained about moving emails. I saw this in the logs. Seems strange. Using gentoo on AMD 64 bit. All is working fine, but is this a cause for alarm. dovecot: Jun 05 17:10:32 Fatal: imap-login: Dovecot version mismatch: Master is v1.1.rc6, login is v1.1.rc8 (if you don't care, set version_ignore=yes) SBox dovecot # dovecot -n # 1.1.3: /etc/dovecot/dovecot.conf log_path: /var/log/mail.log info_log_path: /var/log/mail.log protocols: imap imaps pop3 pop3s managesieve listen(default): *:143 listen(imap): *:143 listen(pop3): *:110 listen(managesieve): *:2000 ssl_listen(default): *:993 ssl_listen(imap): *:993 ssl_listen(pop3): *:995 ssl_listen(managesieve): ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_executable(managesieve): /usr/libexec/dovecot/managesieve-login first_valid_uid: 150 last_valid_uid: 150 mail_privileged_group: mail mail_location: maildir:/var/vmail/%d/%n mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_executable(managesieve): /usr/libexec/dovecot/managesieve mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 mail_plugin_dir(managesieve): /usr/lib64/dovecot/managesieve imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): imap_client_workarounds(managesieve): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(managesieve): auth default: user: nobody 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: 432 user: vmail group: mail plugin: quota: maildir quota_rule: *:storage=30GB quota_rule2: Trash:storage=1000M acl: vfile:/etc/dovecot/acls trash: /etc/dovecot/trash.conf Thanks !DSPAM:1,48c73e8460241318355894!