Re: [Dovecot] dsync not copying all mail
Tobias Daucher wrote: Am 10.01.2011 14:59, schrieb Nick Rosier: Hi, I'm still trying to migrate from Dovecot 1.2.16 to 2.0.7 on FreeBSD. Previous attempts have failed with mails not being visible after the upgrade. Version 1.2.16 was migrated from maildir to dbox about a year ago via the convert-plugin. After previous attempts to clean the hybrid maildir-dbox situation I used imapsync to copy all mails from the old account to a new account. I would assume in this case I get a clean dbox-mailmap. I tried to run dsync on this new map but noticed a lot of mails are not syncing: [vm...@mail ~]$ find /vmail2/new/bunbun.be/nick | wc -l 5329 [vm...@mail ~]$ find /vmail2/old/bunbun.be/nick | wc -l 6134 Any ideas? N. deleted mails on old server... do expunge or purge befor syncing. imapsync will not copy deleted messages i think... The problem is not imapsync but dsync. I created a new account nick2 and synced, with imapsync all mails from nick to nick2. I moved the old maildir (nick) to nick.old and renamed nick2 to nick. I checked the new mail and all mails were there (with the exception of 23 mails which according to imapsync were duplicates). So at this point I have a new clean mailmap; there are no mails missing. I copied this new mailmap (nick) to a new filesystem (/vmail2/new) to do some migration tests and ran dsync to sync these mails. [vm...@mail ~]$ ./dsync -D -o mail_location=dbox:/vmail2/old/bunbun.be/nick mirror dbox:/vmail2/new/bunbun.be/nick When I compare the 2 maildirs there are about 800 files missing: [vm...@mail ~]$ find /vmail2/new/bunbun.be/nick | wc -l 5329 [vm...@mail ~]$ find /vmail2/old/bunbun.be/nick | wc -l 6134 If I do a diff on the missing files there are maps that are empty and where the source contains valid, non-deleted mails. N.
Re: [Dovecot] Last login
Op 9-1-2011 23:55, Jan-Frode Myklebust schreef: On Sun, Jan 09, 2011 at 09:19:39PM +0100, Egbert Jan van den Bussche wrote: I'm trying to find a way to find inactive users. What we do is to touch a file upon every login: protocol imap { snip mail_executable = /usr/local/dovecot/sbin/imap-wrapper.sh } protocol pop3 { snip mail_executable = /usr/local/dovecot/sbin/pop-wrapper.sh } and these simply do: #! /bin/sh - touch /var/log/activemailaccounts/imap/$USER exec /usr/local/dovecot/libexec/dovecot/imap Once a day we push this info to a database, and use that to view stats on account/protocol usage. -jf TNX! This works fine! I had to change the path but that is Ubuntu versus your distro. One question though: I have file called dump-capability in the ...activeaccounts/imap dir. Any idea what that is? Maybe generated during restart of dovecot? Must be created bij the imap-wrapper.sh. Egbert Jan
Re: [Dovecot] mbox sync problem [was: Urgent problem: Dovecot fetches the same mails multiple times per POP]
The problem in my OP seems to be this log message: mbox sync: UID inserted in the middle of mailbox /var/mail/office (3938 3918, seq=2, idx_msgs=10) which appears from time to time. Every time it occurs, all mails are fetches again. I guess that's because all X-UID have now been replaced and the E-Mail Client (or Dovecot itself??) thinks they are all new. Am I right? What can I do about this? How can I diagnose this? Many thanks, Andi On 10.01.2011 16:08, Andi Meier wrote: I have a problem since a couple of hours: I manage several mboxes on a virtual server using Dovecot (over POP3). Until a few hours ago, it worked well, but since 11:50, the e-mail clients which access Dovecot's mailboxes, receive all e-mails new each time the mailbox is queried. For example: 15:40 fetches 22 new mails 15:41 fetches the same 22 mails again as new 15:42 fetches the same 22 mails again as new etc. Dovecot version is 1.0.15 on Debian Lenny. How can I fix this? How can I diagnose what's wrong? The mailbox files themselves seem ok, no dupe messages. I noticed that in the /var/log/mail.log Dovecot says: --- START - Jan 10 15:27:08 lvps87-230-81-99 dovecot: POP3(office): Disconnected: Logged out top=0/0, retr=23/6273313, del=23/23, size=6272894 Jan 10 15:40:02 lvps87-230-81-99 dovecot: POP3(office): Effective uid=1002, gid=1002 Jan 10 15:40:02 lvps87-230-81-99 dovecot: POP3(office): mbox: data=/var/mail:INBOX=/var/mail/office Jan 10 15:40:02 lvps87-230-81-99 dovecot: POP3(office): mbox: root=/var/mail, index=/var/mail, inbox=/var/mail/office Jan 10 15:40:02 lvps87-230-81-99 dovecot: POP3(office): mbox sync: Expunged message reappeared in mailbox /var/mail/office (UID 3234 3261, seq=2, idx_msgs=0) Jan 10 15:40:02 lvps87-230-81-99 dovecot: pop3-login: Login: user=office, method=PLAIN, rip=80.122.113.70, lip=87.230.81.99 Jan 10 15:40:02 lvps87-230-81-99 dovecot: POP3(office): mbox sync: UID inserted in the middle of mailbox /var/mail/office (3261 3234, seq=2, idx_msgs=24) Jan 10 15:40:02 lvps87-230-81-99 dovecot: POP3(office): mbox sync: UID inserted in the middle of mailbox /var/mail/office (3285 3234, seq=2, idx_msgs=24) Jan 10 15:40:22 lvps87-230-81-99 dovecot: POP3(office): mbox sync: UID inserted in the middle of mailbox /var/mail/office (3309 3234, seq=2, idx_msgs=24) Jan 10 15:40:22 lvps87-230-81-99 dovecot: POP3(office): Disconnected: Logged out top=2/0, retr=24/6274745, del=24/24, size=6274309 --- END - What puzzles me: Each time the retr=XX value is never decreasing. Shouldn't it be 0/x the next time when the mails are not kept on the server? Apparently Dovecot does not manage to remove the mails form the mbox, although the email client tells it so (= del=24/24) Is this the problem? How can I check this? I am very thankful for any hints! Cheers, Andi
Re: [Dovecot] mbox sync problem [was: Urgent problem: Dovecot fetches the same mails multiple times per POP]
On 10.1.2011, at 18.28, Andi Meier wrote: The problem in my OP seems to be this log message: mbox sync: UID inserted in the middle of mailbox /var/mail/office (3938 3918, seq=2, idx_msgs=10) which appears from time to time. Every time it occurs, all mails are fetches again. Yep. I guess that's because all X-UID have now been replaced and the E-Mail Client (or Dovecot itself??) thinks they are all new. Dovecot thinks that. http://wiki.dovecot.org/MboxProblems talks about the possible reasons. What can I do about this? How can I diagnose this? Dovecot version is 1.0.15 on Debian Lenny. It's also possible that there's a bug that causes this. You could try v1.2 from Debian backports. And finally, one sure way to get rid of mbox problems is to switch to maildir.
Re: [Dovecot] dsync not copying all mail
On 10.1.2011, at 15.59, Nick Rosier wrote: I'm still trying to migrate from Dovecot 1.2.16 to 2.0.7 on FreeBSD. Previous attempts have failed with mails not being visible after the upgrade. Version 1.2.16 was migrated from maildir to dbox about a year ago via the convert-plugin. After previous attempts to clean the hybrid maildir-dbox situation I used imapsync to copy all mails from the old account to a new account. I would assume in this case I get a clean dbox-mailmap. I tried to run dsync on this new map but noticed a lot of mails are not syncing: Hmm. I thought I already answered this. Maybe I got distracted while answering it and aborted.. Anyway, you need a different way to migrate the hybrid maildir. http://dovecot.org/list/dovecot/2010-September/053012.html had some old ideas, but there is a newer program explained in http://dovecot.org/list/dovecot/2010-November/055191.html and the program itself is slightly updated in http://dovecot.org/list/dovecot/2010-November/055192.html. Save the attachment.bin into dbox-dehybrid.c and compile and run it. Get backups. :)
Re: [Dovecot] Last login
On Mon, Jan 10, 2011 at 04:57:19PM +0100, Egbert Jan van den Bussche wrote: This works fine! I had to change the path but that is Ubuntu versus your distro. One question though: I have file called dump-capability in the ...activeaccounts/imap dir. Any idea what that is? Maybe generated during restart of dovecot? Must be created bij the imap-wrapper.sh. No idea what it is, but I see that too.. and the timestamp matches the last time dovecot was started on all servers. http://wiki.dovecot.org/PostLoginScripting has an example working around the dump-capability user.. -jf
Re: [Dovecot] Multiple imap crashes (Panic: file squat-trie.c: line 876 (squat_build_word): assertion failed: (i + bytelen = size))
On 10.1.2011, at 20.48, Ralf Hildebrandt wrote: Jan 10 19:41:19 postamt dovecot: imap(heie): Panic: file squat-trie.c: line 876 (squat_build_word): assertion failed: (i + bytelen = size) I think Squat has bigger issues with its performance when updating the index, so I haven't really been looking much into its crashes.. But since apparently some people are using it, is it still better than nothing?
Re: [Dovecot] dsync not copying all mail
Timo Sirainen wrote: On 10.1.2011, at 15.59, Nick Rosier wrote: I'm still trying to migrate from Dovecot 1.2.16 to 2.0.7 on FreeBSD. Previous attempts have failed with mails not being visible after the upgrade. Version 1.2.16 was migrated from maildir to dbox about a year ago via the convert-plugin. After previous attempts to clean the hybrid maildir-dbox situation I used imapsync to copy all mails from the old account to a new account. I would assume in this case I get a clean dbox-mailmap. I tried to run dsync on this new map but noticed a lot of mails are not syncing: Hmm. I thought I already answered this. Maybe I got distracted while answering it and aborted.. Anyway, you need a different way to migrate the hybrid maildir. http://dovecot.org/list/dovecot/2010-September/053012.html had some old ideas, but there is a newer program explained in http://dovecot.org/list/dovecot/2010-November/055191.html and the program itself is slightly updated in http://dovecot.org/list/dovecot/2010-November/055192.html. Save the attachment.bin into dbox-dehybrid.c and compile and run it. Get backups. :) Hi Timo, you had indeed answered this; I tried the utility but it did not help. That's why I tried the imapsync approach in hope that would clean the messages and create a new dbox-only account. I also ran the utility on the synced mailboxes and retried dsync but that did not fix it either. I'm really puzzled to why this is. How can I recognize a hybrid mailbox? All mailboxes only contain dovecot.index, dovecot.index.log, dbox.index and u.* files. N.
Re: [Dovecot] dsync not copying all mail
On 10.1.2011, at 21.25, Nick Rosier wrote: you had indeed answered this; I tried the utility but it did not help. That's why I tried the imapsync approach in hope that would clean the messages and create a new dbox-only account. I also ran the utility on the synced mailboxes and retried dsync but that did not fix it either. I'm really puzzled to why this is. How can I recognize a hybrid mailbox? All mailboxes only contain dovecot.index, dovecot.index.log, dbox.index and u.* files. If there are no filenames that begin with a number, then it's not a hybrid mailbox. If there are more u.* files than number of messages in a converted mailbox with dsync, then .. well .. I'd just use Dovecot v2.0 on the original non-converted mailbox: doveadm -u username force-resync INBOX This will make sure all of INBOX's u.* files are in the index files. Do the same for the rest of the mailboxes too.
[Dovecot] enforce STARTTLS on port 110 with POP3?
Hi there, We are using DoveCot 1.0.7. User will use POP3 or POP. We want to force user to securely send their credential and keep a secure connection between us and them. We can do TLS/SSL on port 995, or STARTTLS on port 110. The problem is that we have no way to enforce STARTTLS on 110, user can connect to DoveCot on port 110, sending user credential without STARTTLS (thus insecure). Reading DoveCot documentation does not sound it supports this. Here is what I got from documentation. Dovecot supports: * IMAP (including TLS/STARTTLS) * IMAP+SSL (imaps) * POP3 (including TLS/STLS) * POP3+SSL (pops) My only option to enforce securely sending user credential is to enable port 995 and disable port 110, sound right? Thanks, Yan Confidentiality Notice: The information contained in this electronic transmission is confidential and may be legally privileged. It is intended only for the addressee(s) named above. If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of the information contained in this transmission is prohibited and may be unlawful. If you have received this transmission in error, please notify us by telephone (513) 229-5500 or by email (postmas...@medplus.com). After replying, please erase it from your computer system.
Re: [Dovecot] enforce STARTTLS on port 110 with POP3?
On 10.1.2011, at 23.09, Zhou, Yan wrote: The problem is that we have no way to enforce STARTTLS on 110, user can connect to DoveCot on port 110, sending user credential without STARTTLS (thus insecure). default_plaintext_auth = yes It's the default.
Re: [Dovecot] dsync not copying all mail
Timo Sirainen wrote: On 10.1.2011, at 21.25, Nick Rosier wrote: you had indeed answered this; I tried the utility but it did not help. That's why I tried the imapsync approach in hope that would clean the messages and create a new dbox-only account. I also ran the utility on the synced mailboxes and retried dsync but that did not fix it either. I'm really puzzled to why this is. How can I recognize a hybrid mailbox? All mailboxes only contain dovecot.index, dovecot.index.log, dbox.index and u.* files. If there are no filenames that begin with a number, then it's not a hybrid mailbox. If there are more u.* files than number of messages in a converted mailbox with dsync, then .. well .. I'd just use Dovecot v2.0 on the original non-converted mailbox: doveadm -u username force-resync INBOX This will make sure all of INBOX's u.* files are in the index files. Do the same for the rest of the mailboxes too. Thank you very much, that solved the problem! Ran force-resync on all mailboxes that were missing mails (made handy use of the subscriptions file) and they automagicly re-appeared. Just had to mark them read again. N.
[Dovecot] Max number of mail processes
Dovecot version 1.1.11. Error: Maximum number of mail processes exceeded (see max_mail_processes setting). I can't seem to get rid of these errors. I get batches of these errors about 4 or 5 times a day. I have a cron-job checking for the existence of this error and then I reboot dovecot when I see this error, but what is causing this error ? What I am reading on the Internet about this particular issue has not helped to resolve the issue. I would really like to know how many mail processes it thinks that it is using at any one instant in time. Is this possible ? Maybe then I can track the reason for the error.
[Dovecot] OS X Server Partition Problems
I'm a nube to Dovecot and this list. Please be kind. ;) I'm running Dovecot 1.1.20 and Postfix 2.5.5 on OS X Server 10.6.6. I've moved accounts from another, older cyrus-based server (thank god), and used fetchmail to imap the existing mail to the new server. At some point, I developed a problem with my partition map being semi-ignored. Mail is stored in multiple places, and I'm not sure why or entirely clear how it ended up there. My log is overflowing with entries such as… Jan 10 15:44:57 gilded-bat dovecot[65]: auth(default): od(john_doe_com): unable to find partition for tag=johndoe: using default mail location: /var/spool/imap/dovecot/mail …referring to each of my defined partitions. Here's what I semi-understand. /etc/dovecot/partition_map.conf.default contains: default:/var/spool/imap/dovecot/mail /etc/dovecot/partition_map.conf contains correct entries like default:/Mail JohnDoe:/Groups/JohnDoe/Mail [etc.] dovecotd -n is below. It's configuration with regard to mail store locations look ok to me, but then I'm a virgin. In practice, mail is being stored in three different locations. They're all full of mail directories and are busy. /var/spool/imap/dovecot/mail /Mail /Groups/JohnDoe/Mail …with of course the third entry being many entries for each client. The directories described definitely exist. Clients started out being able to see old mail that was transferred from the retired server, but no longer do. I'm not actually clear which of the three mail stores in use are being accessed by whom or for what. (And let's not even ask why none of this showed up in testing.) In short, I'm over my head and the villagers are outside with the usual pitchforks and torches. Thanks, Bryan dovecotd -n # 1.1.20apple0.5: /private/etc/dovecot/dovecot.conf Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 356). Either grow the limit or change login_max_processes_count and max_mail_processes settings # OS: Darwin 10.5.0 x86_64 hfs base_dir: /var/run/dovecot syslog_facility: local6 protocols: pop3s imaps pop3 imap ssl_ca_file: /etc/certificates/gilded-bat.laughingboot.net.92CAF9E2B8684ABB0933B96C62F678EC73339F22.chain.pem ssl_cert_file: /etc/certificates/gilded-bat.laughingboot.net.92CAF9E2B8684ABB0933B96C62F678EC73339F22.cert.pem ssl_key_file: /etc/certificates/gilded-bat.laughingboot.net.92CAF9E2B8684ABB0933B96C62F678EC73339F22.key.pem ssl_cipher_list: ALL:!LOW:!SSLv2:!aNULL:!ADH:!eNULL 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_user: _dovecot login_process_per_connection: no max_mail_processes: 100 mail_max_userip_connections(default): 20 mail_max_userip_connections(imap): 20 mail_max_userip_connections(pop3): 10 verbose_proctitle: yes first_valid_uid: 6 first_valid_gid: 6 mail_access_groups: mail mail_location: maildir:/Mail/%u mail_debug: yes mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_process_sharing: full mail_max_connections: 5 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 lda: postmaster_address: postmas...@example.com hostname: gilded-bat.laughingboot.net mail_plugins: quota quota_full_tempfail: yes sendmail_path: /usr/sbin/sendmail auth_socket_path: /var/run/dovecot/auth-master log_path: /var/log/mailaccess.log info_log_path: /var/log/mailaccess.log auth default: mechanisms: gssapi login plain apop cram-md5 verbose: yes debug: yes debug_passwords: yes passdb: driver: od userdb: driver: od args: partition=/etc/dovecot/partition_map.conf enforce_quotas=yes socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: _dovecot group: mail plugin: quota_warning: storage=100%% /usr/libexec/dovecot/quota-exceeded.sh quota_warning2: storage=80%% /usr/libexec/dovecot/quota-warning.sh quota: maildir:User quota sieve: /var/spool/imap/dovecot/sieve-scripts/%u/dovecot.sieve
[Dovecot] Dovecot fails after updating MySQL
I just updated MySQL to Server version: 5.5.8 on my FreeBSD-8.2 system. Now Dovecot refuses to run. Prior to this, dovecot had been running for several years without a problem. This is the output of dovecot -n # 1.2.16: /usr/local/etc/dovecot.conf # OS: FreeBSD 8.2-PRERELEASE amd64 ufs log_path: /var/log/dovecot.log login_dir: /var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login verbose_proctitle: yes first_valid_uid: 1000 first_valid_gid: 1000 mail_privileged_group: mail mail_location: maildir:/var/mail/vhost/seibercom.net/gerard mail_plugins: expire imap_client_workarounds: delay-newmail netscape-eoh tb-extra-mailbox-sep lda: postmaster_address: postmas...@seibercom.net mail_plugins: sieve sieve_global_path: /usr/local/etc/dovecot/sieve/gerard.sieve sendmail_path: /usr/sbin/sendmail auth default: mechanisms: plain login digest-md5 cram-md5 username_format: %Lu verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: expire: Trash 2 Spam/* 2 expire_dict: proxy::expire dict: expire: mysql:/usr/local/etc/dovecot-dict-expire.conf The /var/run/dovecot directory looks like this: drwxr-xr-x 3 root wheel 512B 2011-01-10 18:49:44 EST ./ drwxr-xr-x 15 root wheel 1.0K 2011-01-10 18:49:37 EST ../ srw-rw 1 root wheel 0B 2011-01-10 18:49:37 EST auth-client= srw--- 1 vmail vmail 0B 2011-01-10 18:49:37 EST auth-master= srw--- 1 root wheel 0B 2011-01-10 18:49:37 EST auth-worker.34781= srwxrwxrwx 1 root wheel 0B 2011-01-10 18:49:37 EST dict-server= lrwx-- 1 root wheel 27B 2011-01-10 18:49:37 EST dovecot.conf@ - /usr/local/etc/dovecot.conf drwxr-x--- 2 root dovecot 512B 2011-01-10 18:49:37 EST login/ -rw--- 1 root wheel 6B 2011-01-10 18:49:37 EST master.pid This is the log file output, updated every second (snippet) Jan 10 18:42:11 dovecot: Info: Dovecot v1.2.16 starting up Jan 10 18:42:11 dovecot: Error: child 34517 (auth-worker) killed with signal 11 (core not dumped) Jan 10 18:42:11 dovecot: Error: child 34521 (auth-worker) killed with signal 11 (core not dumped) I have tried deleting and rebuilding dovecot without success. I am at a lose to figure out what the problem is. -- Jerry ✌ dovecot.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ I would rather say that a desire to drive fast sports cars is what sets man apart from the animals.
Re: [Dovecot] Dovecot fails after updating MySQL
On Jan 10, 2011, at 4:19 PM, Jerry wrote: I just updated MySQL to Server version: 5.5.8 on my FreeBSD-8.2 system. Now Dovecot refuses to run. Prior to this, dovecot had been running for several years without a problem. This is the output of dovecot -n # 1.2.16: /usr/local/etc/dovecot.conf # OS: FreeBSD 8.2-PRERELEASE amd64 ufs log_path: /var/log/dovecot.log login_dir: /var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login verbose_proctitle: yes first_valid_uid: 1000 first_valid_gid: 1000 mail_privileged_group: mail mail_location: maildir:/var/mail/vhost/seibercom.net/gerard mail_plugins: expire imap_client_workarounds: delay-newmail netscape-eoh tb-extra-mailbox- sep lda: postmaster_address: postmas...@seibercom.net mail_plugins: sieve sieve_global_path: /usr/local/etc/dovecot/sieve/gerard.sieve sendmail_path: /usr/sbin/sendmail auth default: mechanisms: plain login digest-md5 cram-md5 username_format: %Lu verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: sql args: /usr/local/etc/dovecot-sql.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: expire: Trash 2 Spam/* 2 expire_dict: proxy::expire dict: expire: mysql:/usr/local/etc/dovecot-dict-expire.conf The /var/run/dovecot directory looks like this: drwxr-xr-x 3 root wheel 512B 2011-01-10 18:49:44 EST ./ drwxr-xr-x 15 root wheel 1.0K 2011-01-10 18:49:37 EST ../ srw-rw 1 root wheel 0B 2011-01-10 18:49:37 EST auth- client= srw--- 1 vmail vmail 0B 2011-01-10 18:49:37 EST auth- master= srw--- 1 root wheel 0B 2011-01-10 18:49:37 EST auth- worker.34781= srwxrwxrwx 1 root wheel 0B 2011-01-10 18:49:37 EST dict- server= lrwx-- 1 root wheel 27B 2011-01-10 18:49:37 EST dovecot.conf@ - /usr/local/etc/dovecot.conf drwxr-x--- 2 root dovecot 512B 2011-01-10 18:49:37 EST login/ -rw--- 1 root wheel 6B 2011-01-10 18:49:37 EST master.pid This is the log file output, updated every second (snippet) Jan 10 18:42:11 dovecot: Info: Dovecot v1.2.16 starting up Jan 10 18:42:11 dovecot: Error: child 34517 (auth-worker) killed with signal 11 (core not dumped) Jan 10 18:42:11 dovecot: Error: child 34521 (auth-worker) killed with signal 11 (core not dumped) I have tried deleting and rebuilding dovecot without success. I am at a lose to figure out what the problem is. What version of mysql were you at before? Do your mysql logs reveal anything? Have you turned on mysql query logging? Can you run the /usr/local/etc/dovecot-sql.conf queries in a mysql client successfully? -- Brad
Re: [Dovecot] enforce STARTTLS on port 110 with POP3?
On 1/10/2011 4:17 PM, Timo Sirainen wrote: On 10.1.2011, at 23.09, Zhou, Yan wrote: The problem is that we have no way to enforce STARTTLS on 110, user can connect to DoveCot on port 110, sending user credential without STARTTLS (thus insecure). default_plaintext_auth = yes It's the default. You meant disable_plaintext_auth, right?
Re: [Dovecot] Dovecot fails after updating MySQL
On Tue, Jan 11, 2011 at 3:54 AM, Bradley Giesbrecht bradley.giesbre...@gmail.com wrote: On Jan 10, 2011, at 4:19 PM, Jerry wrote: I just updated MySQL to Server version: 5.5.8 on my FreeBSD-8.2 system. Now Dovecot refuses to run. Prior to this, dovecot had been running for several years without a problem. Please recompile Dovecot again so that it re-links with the MySQL library. This is a known problem on FreeBSD with the upgrade from MySQL 5.5.7 - 5.5.8. I believe the port maintainer has also incorporated a fix into the FreeBSD ports. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!!
Re: [Dovecot] Courier-mta with Dovecot LDA again
Yes i'm using sendmail from Courier. When i changed sendmail_path to original sednmail binary it's working and vacation is sent, but i can see some errors from sendmail. Jan 4 12:14:36 OVZ sendmail[15576]: p04BEabd015576: Authentication-Warning: OVZ.mail: komodo set sender to using -f Jan 4 12:14:36 OVZ sendmail[15576]: p04BEabd015576: from=, size=478, class=-60, nrcpts=1, msgid=dovecot-sieve-1294139676-404210-0, relay=kom...@localhost Jan 4 12:14:36 OVZ courieresmtpd: started,ip=[:::127.0.0.1] Jan 4 12:14:36 OVZ sendmail[15576]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256 I am not so familiar with sendmail, is there any way to set up something to resolve these errors ? Changing sendmail binary from original sendmail to Exim sendmail solved the problem. Just one question, if is there someone who use courier with dovecot deliver ? How should i set up DEFAULTDELIVERY in courierd config file ? When i try setup via dot-courier file in users home directory then file looks like this | /usr/bin/spamc -U /var/run/spamassassin/spamd.sock -e /usr/libexec/dovecot/deliver -f $SENDER but i can't use $SENDER in courierd config file, or i don't know how, and without this option vacation plugin does not send reply. Thank you Martin
Re: [Dovecot] /var/mail/user and mail group privileges
On Tuesday, January 04, 2011 00:47:16 Timo Sirainen wrote: On 3.1.2011, at 19.15, Michal Hlavinka wrote: Shouldn't mkdir and chown make together a transaction? When it fails just for first time, it confuses some admins (this is the reason why I'm getting complains (bug reports) just because missing/wrong configuration). I think it a) should work even for first connection (ignore chown failure) or b)it should not work for following connection, so the behavior should be more consistent. Sounds reasonable, yes. (Not such which one, a or b.) I should probably do something about it, but it's still about how to handle an error condition, so not a hugely important thing. I think a) is better for lazy admins, but b) is more correct, because other way it's (a little bit) harder to find out this error - having wrong permissions in situations when group is really required.
[Dovecot] dsync not copying all mail
Hi, I'm still trying to migrate from Dovecot 1.2.16 to 2.0.7 on FreeBSD. Previous attempts have failed with mails not being visible after the upgrade. Version 1.2.16 was migrated from maildir to dbox about a year ago via the convert-plugin. After previous attempts to clean the hybrid maildir-dbox situation I used imapsync to copy all mails from the old account to a new account. I would assume in this case I get a clean dbox-mailmap. I tried to run dsync on this new map but noticed a lot of mails are not syncing: [vm...@mail ~]$ find /vmail2/new/bunbun.be/nick | wc -l 5329 [vm...@mail ~]$ find /vmail2/old/bunbun.be/nick | wc -l 6134 Any ideas? N.
Re: [Dovecot] dsync not copying all mail
Am 10.01.2011 14:59, schrieb Nick Rosier: Hi, I'm still trying to migrate from Dovecot 1.2.16 to 2.0.7 on FreeBSD. Previous attempts have failed with mails not being visible after the upgrade. Version 1.2.16 was migrated from maildir to dbox about a year ago via the convert-plugin. After previous attempts to clean the hybrid maildir-dbox situation I used imapsync to copy all mails from the old account to a new account. I would assume in this case I get a clean dbox-mailmap. I tried to run dsync on this new map but noticed a lot of mails are not syncing: [vm...@mail ~]$ find /vmail2/new/bunbun.be/nick | wc -l 5329 [vm...@mail ~]$ find /vmail2/old/bunbun.be/nick | wc -l 6134 Any ideas? N. deleted mails on old server... do expunge or purge befor syncing. imapsync will not copy deleted messages i think... -- Dr. Nagler Company GmbH Hauptstraße 9 92253 Schnaittenbach Tel : 09622-7197-38 Fax : 09622-7197-50 Web : http://www.nagler-company.com E-Mail : tobias.dauc...@nagler-company.com Hauptsitz: Schnaittenbach Handelregister: Amberg HRB 4653 Gerichtsstand: Amberg Steuernummer: 201/118/51825 USt.-ID-Nummer: DE 273143997 Geschäftsführer:Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze