Re: [Dovecot] hardluck w/ sieve
On Saturday, May 21, 2011 10:53:55 PM errno wrote: I've followed the docs here: http://wiki.dovecot.org/LDA/Sieve/Dovecot ... in particular, the 'Per-user Sieve script location' scenario. However, I'm unable to get any behavior that indicates that sieve is functioning correctly - well, functioning _at_all_ would be more accurate. Relevant dovecot.conf: snip plugin { sieve = /var/sieve-scripts/%d/%u.sieve } ... sheesh, of course the moment I send this it dawns on me what the problem is... The following fixed the issue: plugin { sieve = /var/sieve-scripts/%d/%n.sieve } I was using %u when I should have been using %n. Sorry for the noise!
[Dovecot] dovecot-antispam dependencies
Hi There's currently a version block for the dovecot and dovecot-antispam packages in Gentoo. Dependencies indicate that dovecot-2.0.11 does not accept dovecot-antispam-1.3. Is this correct or should it work? If not: How about the current rc of version 1.4? Cheers, -sven
Re: [Dovecot] fts squat index file not appearing
On 22.5.2011, at 5.59, Daniel L. Miller wrote: On 5/20/2011 1:37 PM, Timo Sirainen wrote: On 20.5.2011, at 23.33, Daniel L. Miller wrote:.. protocol imap { mail_plugins = fts fts_squat imap_zlib zlib } You've enabled fts for imap protocol, nothing else. Same with zlib, which can cause trouble. Make them global: mail_plugins = fts fts_squat zlib protocol imap { mail_plugins = $mail_plugins imap_zlib } Amazing - that works! Now...WHY does that work?! I thought I was doing the RIGHT thing by using the individual protocol plugin variables - not including plugins in areas that I THOUGHT were unnecessary. Sure it worked with imap. But you were trying to use doveadm. doveadm isn't imap.. If there are plugins that need to be global (and there obviously are) - please indicate so in the wiki. Everything that isn't imap_* should probably be global. That is how all the examples are written. I don't know where/how I could say it better.
Re: [Dovecot] dovecot-antispam dependencies
On 05/22/2011 01:21 AM, Sven Schwyn wrote: Hi There's currently a version block for the dovecot and dovecot-antispam packages in Gentoo. Dependencies indicate that dovecot-2.0.11 does not accept dovecot-antispam-1.3. Is this correct or should it work? If not: How about the current rc of version 1.4? Cheers, -sven I believe you will find a much cleaned up version here: http://hg.dovecot.org/dovecot-antispam-plugin/ It will work. Thanks to Eugene for his work. Trever -- Black holes are where God divided by zero. -- Unknown signature.asc Description: OpenPGP digital signature
Re: [Dovecot] Dovecot imaptest on RHEL4/GFS1, RHEL6/GFS2, NFS and local storage results
Timo, Can you recommend us some benchmarking tools to test the dovecot cluster setup?? Best regards 2011/5/10 Timo Sirainen t...@iki.fi I don't think those results look too bad, even the original ones. imaptest doesn't measure real world performance anyway. Some ideas: - Try mdbox instead of sdbox. Cluster filesystems apparently like a few bigger files better than many small ones. - Try imaptest with logout=0 (or =1 or something). Now you're measuring way too much the login performance. - autocreate plugin sucks, especially with logout=100 because it has to check that all of the mailboxes exist. In v2.1 autocreate plugin is redesigned to not do any disk I/O. On Fri, 2011-05-06 at 23:01 -0400, Aliet Santiesteban Sifontes wrote: New results, now with all plugins disabled: os rhel6 x86_64, GFS2 Lun Totals: Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 50% 100% 100% 100% 100% 30% 5% 1- 4514 2189 2250 4514 4264 6163 709 3403 4260 4292 8726 2- 2827 1409 1389 2827 2765 3951 495 2168 2765 2777 5644 3- 2711 1409 1368 2711 2649 3833 512 2145 2647 2662 5396 4- 1799 912 890 1799 1720 2492 360 1370 1719 1735 3592 5- 3817 1869 1896 3760 3717 5313 575 3026 3715 3737 7616 6- 3296 1583 1628 3296 3215 4585 523 2600 3215 3238 6584 2011/5/6 Aliet Santiesteban Sifontes alietsantieste...@gmail.com the configs: [root@n02 ~]# dovecot -n # 2.0.12: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-71.24.1.el6.x86_64 x86_64 Red Hat Enterprise Linux Server release 6.0 (Santiago) auth_cache_size = 15 M auth_default_realm = test.com auth_mechanisms = plain login auth_worker_max_count = 60 disable_plaintext_auth = no login_greeting = Server ready. mail_fsync = never mail_location = sdbox:~/sdbox:INDEX=/vmail/index/%n mail_plugins = quota zlib 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 mbox_write_locks = fcntl mmap_disable = yes namespace { inbox = yes location = prefix = separator = / } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { autocreate = Sent autocreate2 = Trash autocreate3 = Drafts autocreate4 = Junk autocreate5 = Archives autocreate6 = Templates autosubscribe = Sent autosubscribe2 = Trash autosubscribe3 = Drafts autosubscribe4 = Junk autosubscribe5 = Archives autosubscribe6 = Templates quota = dict:User quota::file:%h/sdbox/dovecot-quota quota_rule = *:storage=250M quota_rule2 = Trash:storage=+50M quota_rule3 = Spam:storage=+25M quota_rule4 = Sent:ignore sieve = ~/.dovecot.sieve sieve_before = /var/vmail/sievescripts/before.d sieve_dir = ~/sieve zlib_save = gz zlib_save_level = 6 } postmaster_address = postmas...@test.com protocols = imap pop3 lmtp sieve service auth { unix_listener auth-userdb { group = vmail mode = 0660 user = root } } service imap-login { service_count = 0 } best regards 2011/5/6 Charles Marcus cmar...@media-brokers.com On 2011-05-05 7:56 PM, Aliet Santiesteban Sifontes wrote: We have used sdbox as mailbox format, and all the user data is configured in LDAP Servers It might help Timo to provide some suggestions if you also provide dovecot -n output... ;) -- Best regards, Charles
Re: [Dovecot] Dovecot stops with Fatal: kevent(): Invalid argument
Is there a problem adding a patch like this to the stable code? Annoying to add ugly debug code for a problem that happens so rarely.. But what are the alternatives? Best regards Henrik Larsson
Re: [Dovecot] dovecot-antispam dependencies
On May 22, 2011, at 4:59 AM, Trever L. Adams wrote: On 05/22/2011 01:21 AM, Sven Schwyn wrote: Hi There's currently a version block for the dovecot and dovecot-antispam packages in Gentoo. Dependencies indicate that dovecot-2.0.11 does not accept dovecot-antispam-1.3. Is this correct or should it work? If not: How about the current rc of version 1.4? Cheers, -sven I believe you will find a much cleaned up version here: http://hg.dovecot.org/dovecot-antispam-plugin/ It will work. Thanks to Eugene for his work. It would be nice to make a release of Eugene's dovecot-antispam-plugin so packages can be made. I can find no version or tag info at http://hg.dovecot.org/dovecot-antispam-plugin/. -- Bradley Giesbrecht
Re: [Dovecot] dovecot-antispam dependencies
On 05/22/2011 09:59 AM, Bradley Giesbrecht wrote: It would be nice to make a release of Eugene's dovecot-antispam-plugin so packages can be made. I can find no version or tag info at http://hg.dovecot.org/dovecot-antispam-plugin/. -- Bradley Giesbrecht Bradley, Just use the latest versions of the files. It works fine (a long time of using it on three servers here, one of which sees thousands of emails every few hours). If you want a rpm spec, I have made one. Trever -- millihelen, n.: The amount of beauty required to launch one ship. -- Unknown signature.asc Description: OpenPGP digital signature
Re: [Dovecot] dovecot-antispam dependencies
On 22/05/11 19:42, Trever L. Adams wrote: On 05/22/2011 09:59 AM, Bradley Giesbrecht wrote: It would be nice to make a release of Eugene's dovecot-antispam-plugin so packages can be made. I can find no version or tag info at http://hg.dovecot.org/dovecot-antispam-plugin/. -- Bradley Giesbrecht Bradley, Just use the latest versions of the files. It works fine (a long time of using it on three servers here, one of which sees thousands of emails every few hours). If you want a rpm spec, I have made one. I would like to see a tagged version too, but trunk works fine here. Since the OP mentions Gentoo, my latest ebuild for dovecot-antispam for 2.x is attached. -- Tom # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: Exp $ EAPI=2 inherit base mercurial DESCRIPTION=A dovecot antispam plugin supporting multiple backends HOMEPAGE=http://wiki2.dovecot.org/Plugins/Antispam; EHG_REPO_URI=http://hg.dovecot.org/dovecot-antispam-plugin; LICENSE=GPL-2 SLOT=0 KEYWORDS=~x86 ~amd64 IUSE= DEPEND==net-mail/dovecot-2 RDEPEND=${DEPEND} S=${WORKDIR}/dovecot-antispam-plugin src_prepare() { # kludge for missing EHG_BOOTSTRAP, see https://bugs.gentoo.org/show_bug.cgi?id=340153 cd ${S} ./autogen.sh }
Re: [Dovecot] dovecot-antispam dependencies
On May 22, 2011, at 10:51 AM, Tom Hendrikx wrote: On 22/05/11 19:42, Trever L. Adams wrote: On 05/22/2011 09:59 AM, Bradley Giesbrecht wrote: It would be nice to make a release of Eugene's dovecot-antispam-plugin so packages can be made. I can find no version or tag info at http://hg.dovecot.org/dovecot-antispam-plugin/. -- Bradley Giesbrecht Bradley, Just use the latest versions of the files. It works fine (a long time of using it on three servers here, one of which sees thousands of emails every few hours). If you want a rpm spec, I have made one. I would like to see a tagged version too, but trunk works fine here. Since the OP mentions Gentoo, my latest ebuild for dovecot-antispam for 2.x is attached. I maintain the MacPorts port of dovecot-antispam. Tags or releases help produce packages with consistent build results. I will go ahead and use a hg changeset and a date for a version to produce my package. -- Bradley Giesbrecht
[Dovecot] zlib
How can I enable zlib for reading compressed messages but not writing? -- Daniel
Re: [Dovecot] zlib
only enable the plugin for pop and imap, but not lda or lmtp modes. Quoting Daniel L. Miller dmil...@amfes.com: How can I enable zlib for reading compressed messages but not writing? -- Daniel
[Dovecot] SVN Compilation error
Hi, Here the error I get (SVN) Making all in dns make[3]: Entering directory `/data/admin/src/mail/dovecot2/dovecot-2.0/src/dns' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/admin/src/mail/dovecot2/dovecot-2.0/src/dns' Making all in ipc make[3]: Entering directory `/data/admin/src/mail/dovecot2/dovecot-2.0/src/ipc' MAKE[3]: *** NO RULE TO MAKE TARGET `ALL'. STOP. make[3]: Leaving directory `/data/admin/src/mail/dovecot2/dovecot-2.0/src/ipc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/admin/src/mail/dovecot2/dovecot-2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/admin/src/mail/dovecot2/dovecot-2.0' make: *** [all] Error 2
[Dovecot] Debian or Ubuntu packages ?
Hello Anyone knows which version of Dovecot 2 are availables on Squeeze Debian or Ubuntu server 10.04 LTS ? Also what is the Linux OS that is must up to date ? Thanks
[Dovecot] PERMANENTFLAGS response if ACL seen/write rights are missing
In dovecot 2.0.13, if a user does not have either s or w ACL rights on a mailbox, PERMANENTFLAGS correctly indicates that the mailbox has not permanent flags: * OK [PERMANENTFLAGS ()] Read-only mailbox. However, if one is set but not the other, the PERMANENTFLAGS list is not being pruned appropriately. For example, for a mailbox with the following flags: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $Junk) If s is set, but not w, I would expect PERMANENTFLAGS to look like: * OK [PERMANENTFLAGS (\Seen)] If w is set, but not s, I would expect this: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft $Forwarded $Junk \*)] However, in both cases I currently see all flags in the mailbox: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $Junk \*)] michael