Re: [Dovecot] v2.0.beta4 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 22 Mar 2010, Thomas Leuxner wrote: --exec-mail is no longer needed. If you want for example start a imap session, just enter the command: /usr/local/libexec/dovecot/imap And you will see: * PREAUTH [CAPABILITY IMAP4rev1 … Logged in as $USER Right. Although now that you mentioned it .. Maybe there should be -u parameter also for imap/pop3/etc which also does a userdb lookup so that it'll then be identical to actually logging in. Let's say I trigger an ACL change by manually setting an administrative user (a permission). Doing so the 'dovecot-acl' file gets owned by the system user who triggered the change, in this case 'root'. Is this intended, as it will break the files OS permissions? IMHO, I interprete it as post AUTH IMAP, meaning the process after auth had taken place. The user id had been changed earlier in the Dovecot process, hence, you need to su before. http://www.mail-archive.com/dovecot%40dovecot.org/msg16350.html last lines: sudo -u test -H /usr/sbin/dovecot --exec-mail imap Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS6h/Tb+Vh58GPL/cAQK3qwgAvb3OKhfpPb/gbX9Dn8yJKuC/Dqbq804U bmV2a+e6CCFntPeLjcffSagCEidPvOtqX/fmc5RpbdlvYObUSQQDrjmfTgb+Gpn3 xBxURhmJ8t/Xo9XwiQv22k7vMlvcT1cvNyFQR0wbyCcazFfSEe1mOXY4NC1uhkod mXcBly5eJL8cNyhYEFDYcwSfYCCvP+QFivA6E6k4Af7xkIVyRGKqs4k7Cvnokg/2 Le+2+f90ArT1ORKlDu5emUgLyjubmjl0Ay+3RQxk2QLcmU9yRw8Yjq/f8nVaHTry yMWZDjZGTZ5llmf0pQ28i0AC8aCTlD/bkJ1aTYKza5rgH8K0V1ZA4Q== =ysPQ -END PGP SIGNATURE-
Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian
On 2010-03-22 9:31 PM, Stan Hoeppner wrote: Dovecot has built in locking support for NFS storage. But it has always been problematic, according to Timo. I think 2.0 is supposed to help considerably with NFS issues though, so if you choose this route, I'd highly recommend you do your testing with the 2.0 branch... -- Best regards, Charles
Re: [Dovecot] Debian Unstable Packages
Sabahattin Gucukoglu ha scritto: Hi all, Speaking of Debian, what relative position are the Debian Unstable (Sid) packages in to the latest Bleeding edge builds of RCS-based releases from the Wiki? If using Unstable is it recommended to stay or use the newer ones? I'd say it was production, yes, but I'm forgiving of problems in the latest releases, so long as they aren't meant to be beta (i.e., known breakages). In the next few days a preliminary 2.0 package will be uploaded to experimental. We (the Debian Dovecot Maintainers) plan to avoid uploading the 2.0 package to unstable until it is released stable and has at least one bug-fix release. Kind regards, Marco -- - |Marco Nenciarini| Debian/GNU Linux Developer - Plug Member | | mnen...@prato.linux.it | http://www.prato.linux.it/~mnencia | - Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4 signature.asc Description: OpenPGP digital signature
[Dovecot] NFS issues [was: Dovecot-1.2 + Sieve + Managesieve on Debian]
On Tue, Mar 23, 2010 at 05:42:02AM -0400, Charles Marcus wrote: On 2010-03-22 9:31 PM, Stan Hoeppner wrote: Dovecot has built in locking support for NFS storage. But it has always been problematic, according to Timo. Have you got any references on this, apart from http://wiki.dovecot.org/NFS ? I'm looking at migrating a courier-imap installation (FreeBSD frontends, Netapp backends, Maildir++) to dovecot. I'd be grateful of any known pitfalls I should be looking out for. I have done some small-scale testing and it looks fine. tcpdumping the NFS traffic, I see that the FreeBSD frontend is sending access requests to check that its local cache is not stale. In tests with mailboxes containing 100 messages and a web IMAP frontend (atmail.org), Dovecot was generating about 1/4 of the total NFS traffic compared to courier-imap, because of how Dovecot creates a cache file containing the message headers. I see a link to http://www.freebsd.org/cgi/query-pr.cgi?pr=123755 in the NFS wiki page. Does this problem affect only mbox over NFS, or maildir too? I've not observed any problem with courier-imap, although courier-imap is much dumber about caching, and also at the moment the majority of the userbase are on POP3 anyway. Regards, Brian.
Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian
On 23.3.2010, at 11.42, Charles Marcus wrote: On 2010-03-22 9:31 PM, Stan Hoeppner wrote: Dovecot has built in locking support for NFS storage. But it has always been problematic, according to Timo. I think 2.0 is supposed to help considerably with NFS issues though, No, v2.0 won't help at all with NFS issues. Some future version might.
Re: [Dovecot] NFS issues [was: Dovecot-1.2 + Sieve + Managesieve on Debian]
On 23.3.2010, at 13.43, Brian Candler wrote: I have done some small-scale testing and it looks fine. Stress testing by running imaptest for same user's same mailbox in 2+ different servers (i.e. two NFS clients reading/writing same mailbox files) should show up quickly what kind of errors you could get. http://imapwiki.org/ImapTest
Re: [Dovecot] Removing Duplicates
On 14 Mar 2010, at 11:41, Leonardo Rodrigues wrote: Em 14/03/2010 08:21, Sabahattin Gucukoglu escreveu: I am starting fresh with a local repository of mails, which almost certainly have duplicates in them. I am going to use maildirs, and ensure all mails are input with CRLFs. The question is: does anybody know how I can find and remove duplicates, either while injecting mail with IMAP, or afterward? I can use tools to find duplicate Message-IDs, but don't know of a way to remove duplicates in mailboxes that are already imported as opposed to incoming mail. Perhaps there is a way to use the IMAP protocol for this? i've used console tool named fdupes to find duplicate messages on Maildirs. That's done directly on the filesystem, there's no IMAP or dovecot involved. Saved about 200M in one particularly large mailbox. Thanks! Thanks to others for their suggestions, now working with delIMAPdups since I have mails (not many, but a few) which have identical content and are only different in their Content-Type header lines. One copy will have the declaration on one line, the other has its declarations folded across multiple lines for each parameter. Any idea why *that* might be? Cheers, Sabahattin smime.p7s Description: S/MIME cryptographic signature
[Dovecot] POPS and IMAPS with dovecot
Hi everyone: when I try to run dovecot after modifying the dovecot.conf file I have the following error messages: Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.info] Dovecot v1.2.10 starting up Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.info] Generating Diffie-Hellman parameters for the first time. This may take a while.. Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.error] ssl-build-param: ld.so.1: ssl-build-param: fatal: libssl.so.0.9.8: open failed: No such file or directory Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.error] dovecot: child 8103 (ssl-build-param) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: Temporary failure in creating login processes, slowing down for now Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] imap-login: ld.so.1: imap-login: fatal: libssl.so.0.9.8: open failed: No such file or directory Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] pop3-login: ld.so.1: pop3-login: fatal: libssl.so.0.9.8: open failed: No such file or directory Mar 23 09:56:53 mailer last message repeated 2 timesMar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8110 (login) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8109 (login) killed with signal 9Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8108 (login) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8107 (login) killed with signal 9Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8106 (login) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] imap-login: ld.so.1: imap-login: fatal: libssl.so.0.9.8: open failed: No such file or directoryMar 23 09:56:53 mailer last message repeated 1 time Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8111 (login) killed with signal 9 Any idea what this wrong? My dovecot.conf have enable the following: protocol imap { listen = *:143 ssl_listen = *:993 mail_plugins = quota imap_quota mail_plugin_dir = /usr/local/lib/dovecot/imap } protocol pop3 { listen = *:110 ssl_listen = *:995 mail_plugins = quota } # SSL/TLS support: yes, no, required. doc/wiki/SSL.txt ssl = yes ssl_cert_file = /etc/certs/mailer/mailer-crt.pem ssl_key_file = /etc/certs/mailer/mailer-key.pem ssl_ca_file = /etc/certs/mailer/CA-crt.pem compilation of dovecot was as follows: CPPFLAGS='-I/opt/mysql/include/mysql -I/usr/local/ssl/include' LDFLAGS='-L/opt/mysql/lib/mysql -L/usr/local/ssl/lib' ./configure --with-sql --with-mysql --with-ssl --with-ssldir=/usr/local/ssl/ -- LCC Wilberth de Jesús Pérez Segura CCSA- Administración de Servicios y Seguridad de las TI Correo: wilberth.pe...@uady.mx Universidad Autónoma de Yucatán Secretaría General Coordinación Administrativa de Tecnologías de Información RIUADY C-59 x Av. Itzáes (999)923-74-28 Ext. 1117 Mérida, Yucatán, México 2010
Re: [Dovecot] Question about SASL auth
On 3/7/2010 2:43 PM, Timo Sirainen wrote: On 8.3.2010, at 0.39, Mark Sapiro wrote: Mar 6 07:06:20 sbh16 postfix/smtpd[30273]: warning: SASL: Connect to private/auth failed: Resource temporarily unavailable A bug most likely. I fixed several related issues already, maybe it's gone in latest nightly snapshots? I should release beta4 soon.. I have installed dovecot 2.0.beta4 plus the 3 additional Mercurial changes, and this is still occurring. See my post at http://dovecot.org/pipermail/dovecot/2010-March/047392.html for more detail on my configuration. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan
Re: [Dovecot] NFS issues [was: Dovecot-1.2 + Sieve + Managesieve on Debian]
On 03/23/10 07:43, Brian Candler wrote: On Tue, Mar 23, 2010 at 05:42:02AM -0400, Charles Marcus wrote: On 2010-03-22 9:31 PM, Stan Hoeppner wrote: Dovecot has built in locking support for NFS storage. But it has always been problematic, according to Timo. Have you got any references on this, apart from http://wiki.dovecot.org/NFS ? I'm looking at migrating a courier-imap installation (FreeBSD frontends, Netapp backends, Maildir++) to dovecot. I'd be grateful of any known pitfalls I should be looking out for. I have done some small-scale testing and it looks fine. tcpdumping the NFS traffic, I see that the FreeBSD frontend is sending access requests to check that its local cache is not stale. In tests with mailboxes containing 100 messages and a web IMAP frontend (atmail.org), Dovecot was generating about 1/4 of the total NFS traffic compared to courier-imap, because of how Dovecot creates a cache file containing the message headers. I see a link to http://www.freebsd.org/cgi/query-pr.cgi?pr=123755 in the NFS wiki page. Does this problem affect only mbox over NFS, or maildir too? I've not observed any problem with courier-imap, although courier-imap is much dumber about caching, and also at the moment the majority of the userbase are on POP3 anyway. Regards, Brian. I've used: mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes on FreeBSD 6/7/8 and dovecot with multiple servers accessing the same mailboxes over NFS on a NetApp and it has worked fine since 1.0.16 or so, I think. I use 1.1 now (haven't finished testing 1.2 and haven't done much with 8.x). I have a load balancer in front and it sends IMAPS connections or HTTPS connections (making local IMAP calls) to randomized servers so even one person making 5 connections gets a speed benefit by using more than one server. If the NFS support had problems you could also use mail_location to keep indexes local.
Re: [Dovecot] POPS and IMAPS with dovecot
Hi: the problem was due to some links from openssl, but now I have the following message: Mar 23 10:55:17 mailer dovecot: [ID 583,609 mail.warning] imap-login: Waiting for SSL parameter file ssl-parameters.dat ¿what is the meaning of that? LCC Wilberth de Jesús Pérez Segura CCSA- Administración de Servicios y Seguridad de las TI Correo: wilberth.pe...@uady.mx Universidad Autónoma de Yucatán Secretaría General Coordinación Administrativa de Tecnologías de Información RIUADY C-59 x Av. Itzáes (999)923-74-28 Ext. 1117 Mérida, Yucatán, México 2010 El 23/03/2010 10:16 a.m., Mira Das escribió: I think you should give the proper IP addesses Try this as it works for me protocol imap { listen = 192.168.1.201:143 ssl_listen = 192.168.1.201:993 imap_max_line_length = 65536 mail_plugins = imap_quota quota trash .. } protocol pop3 { listen = 192.168.1.201*:110 ssl_listen = 192.168.1.201*:995 pop3_no_flag_updates = no pop3_uidl_format = %08Xu%08Xv pop3_client_workarounds = outlook-no-nuls oe-ns-eoh . } Mira Das EcoSuite Corporation m...@ecosuite.com 561-945-4466 -Original Message- Received On: Tue, 23 Mar 2010 at 12:12 PM EDT From: =?ISO-8859-1?Q?Wilberth_P=E9rez?= wilberth.pe...@uady.mx Subject: [Dovecot] POPS and IMAPS with dovecot To: dovecot@dovecot.org Hi everyone: when I try to run dovecot after modifying the dovecot.conf file I have the following error messages: Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.info] Dovecot v1.2.10 starting up Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.info] Generating Diffie-Hellman parameters for the first time. This may take a while.. Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.error] ssl-build-param: ld.so.1: ssl-build-param: fatal: libssl.so.0.9.8: open failed: No such file or directory Mar 23 09:56:52 mailer dovecot: [ID 583609 mail.error] dovecot: child 8103 (ssl-build-param) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: Temporary failure in creating login processes, slowing down for now Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] imap-login: ld.so.1: imap-login: fatal: libssl.so.0.9.8: open failed: No such file or directory Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] pop3-login: ld.so.1: pop3-login: fatal: libssl.so.0.9.8: open failed: No such file or directory Mar 23 09:56:53 mailer last message repeated 2 timesMar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8110 (login) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8109 (login) killed with signal 9Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8108 (login) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8107 (login) killed with signal 9Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8106 (login) killed with signal 9 Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] imap-login: ld.so.1: imap-login: fatal: libssl.so.0.9.8: open failed: No such file or directoryMar 23 09:56:53 mailer last message repeated 1 time Mar 23 09:56:53 mailer dovecot: [ID 583609 mail.error] dovecot: child 8111 (login) killed with signal 9 Any idea what this wrong? My dovecot.conf have enable the following: protocol imap { listen = *:143 ssl_listen = *:993 mail_plugins = quota imap_quota mail_plugin_dir = /usr/local/lib/dovecot/imap } protocol pop3 { listen = *:110 ssl_listen = *:995 mail_plugins = quota } # SSL/TLS support: yes, no, required. doc/wiki/SSL.txt ssl = yes ssl_cert_file = /etc/certs/mailer/mailer-crt.pem ssl_key_file = /etc/certs/mailer/mailer-key.pem ssl_ca_file = /etc/certs/mailer/CA-crt.pem compilation of dovecot was as follows: CPPFLAGS='-I/opt/mysql/include/mysql -I/usr/local/ssl/include' LDFLAGS='-L/opt/mysql/lib/mysql -L/usr/local/ssl/lib' ./configure --with-sql --with-mysql --with-ssl --with-ssldir=/usr/local/ssl/ -- LCC Wilberth de Jesús Pérez Segura CCSA- Administración de Servicios y Seguridad de las TI Correo: wilberth.pe...@uady.mx Universidad Autónoma de Yucatán Secretaría General Coordinación Administrativa de Tecnologías de Información RIUADY C-59 x Av. Itzáes (999)923-74-28 Ext. 1117 Mérida, Yucatán, México 2010
Re: [Dovecot] Dovecot-1.2 + Sieve + Managesieve on Debian
On 2010-03-23 9:17 AM, Timo Sirainen wrote: On 23.3.2010, at 11.42, Charles Marcus wrote: On 2010-03-22 9:31 PM, Stan Hoeppner wrote: Dovecot has built in locking support for NFS storage. But it has always been problematic, according to Timo. I think 2.0 is supposed to help considerably with NFS issues though, No, v2.0 won't help at all with NFS issues. Some future version might. Oops, sorry for speaking out of turn... that must have been what I remembered reading... -- Best regards, Charles
[Dovecot] Writing sieve script
This is probably not the best place to ask this question; however, I figured I had to start somewhere. I want to write a sieve script that can sort incoming mail into specific locations. EXAMPLE: require [fileinto]; if header :contains X-Virus-Status Infected {fileinto SPAM; stop;} elsif header :contains X-SpamCop-Disposition Blocked {fileinto SPAM; stop;} elsif address :contains To us...@domain.com {fileinto INBOX.user1;} elsif address :contains To us...@domain.com {fileinto INBOX.user2;} elsif address :contains To us...@domain.com {fileinto INBOX.user3;} # The rest goes into INBOX # The default is implicit keep, we do it here explicitly else {keep;} This works fine unless user1, user2 and or user3 are all included in the same e-mail address. It is rare; however, it does happen. In that case, a separate message for each recipient would be delivered to the first matching mailbox. The other recipients would not receive any traffic at all. I am new at writing sieve scripts, and have not come up with any way of preventing this from happening. If anyone has a suggestion, I would love to hear it. Even the examples I found by Googling were not really informative. -- Jerry dovecot.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Glory is fleeting, but obscurity is forever. - Napoleon Bonaparte
[Dovecot] Question howto wiki.dovecot.org about quotas using dict
Hi, I am configuring a server with postfix and dovecot with virtual domains and using quota. To implement quota followed the documentation of the link http://wiki.dovecot.org/Quota/Dict, did not understand what you mean the field where_field = path would be the path on the filesystem of your mailbox? I would have to create the table that he says in the documentation or can I force a value with concat and using the AS (ie select '/var/vmail/domain/user' as path from table) ? Regards. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/