Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts
On Mon, 12 Dec 2011, Timo Sirainen wrote: On Sat, 2011-12-10 at 15:10 +0100, Mike Constabel wrote: OK, this should do it, hopefully without breaking anything: http://hg.dovecot.org/dovecot-2.1/rev/ab696ead12cc This works for me with a litte problem. If I create in TB folder like moe (without special chars) the folder will be created, subscribed and TB shows the folder instantly. But if I create a folder like mö (with special chars) the folder will be created, subscribed and *TB doesn't show the folder*. I must unsubscribe and subscribe it in TB to show it in folder pane. http://hg.dovecot.org/dovecot-2.1/rev/b9fcac239aed should fix it. Yes, it works. Thanks. Mike
[Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Hi, now the umlauts problem with sieve: # cat /mailspool1/in-preetz.de/test1/.dovecot.sieve ## Generated by Roundcube Webmail SieveRules Plugin ## require [fileinto]; # rule:[Test] if anyof (header :contains Subject test) { fileinto mAPY-; } Error: DBBjDsXL5U7mIAAA/TNBsA: sieve: execution of script /mailspool1/in-preetz.de/test1/.dovecot.sieve failed, but implicit keep was successful (user logfile /mailspool1/in-preetz.de/test1/.dovecot.sieve.log may reveal additional details) # cat /mailspool1/in-preetz.de/test1/.dovecot.sieve.log sieve: info: started log at Dec 12 10:40:04. error: msgid=20111212094004.db86918...@mx4.constabel-it.de: failed to store into mailbox 'mAPY-': Mailbox doesn't exist: m-APY-. Here the same: 'mAPY-' != m-APY- Mike
Re: [Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
On 12.12.2011, at 11.46, Mike Constabel wrote: now the umlauts problem with sieve: .. ## Generated by Roundcube Webmail SieveRules Plugin ## Roundcube bug/feature. fileinto mAPY-; Sieve uses UTF-8 mailbox names. The reason why Roundcube doesn't use them, is because some old Cyrus Sieve versions didn't use UTF-8.
Re: [Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Op 12/12/2011 10:46 AM, Mike Constabel schreef: Hi, now the umlauts problem with sieve: # cat /mailspool1/in-preetz.de/test1/.dovecot.sieve ## Generated by Roundcube Webmail SieveRules Plugin ## require [fileinto]; # rule:[Test] if anyof (header :contains Subject test) { fileinto mAPY-; } And here it is actually correct. Sieve fileinto expects the argument to be in utf8 and you are passing the IMAP mutf7. Use fileinto mö; instead. Regards, Stephan.
Re: [Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Hello, On 2011-12-12 at 10:58 CET Timo Sirainen wrote: On 12.12.2011, at 11.46, Mike Constabel wrote: now the umlauts problem with sieve: .. ## Generated by Roundcube Webmail SieveRules Plugin ## Roundcube bug/feature. fileinto mAPY-; Sieve uses UTF-8 mailbox names. The reason why Roundcube doesn't use them, is because some old Cyrus Sieve versions didn't use UTF-8. Ok, good to know. I found the setting in the roundcube sieverules plugin. After setting this to UTF-8 it works. Thanks for the hint. Mike
Re: [Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Hello Stephan, On 2011-12-12 at 11:00 CET Stephan Bosch wrote: Op 12/12/2011 10:46 AM, Mike Constabel schreef: Hi, now the umlauts problem with sieve: # cat /mailspool1/in-preetz.de/test1/.dovecot.sieve ## Generated by Roundcube Webmail SieveRules Plugin ## require [fileinto]; # rule:[Test] if anyof (header :contains Subject test) { fileinto mAPY-; } And here it is actually correct. Sieve fileinto expects the argument to be in utf8 and you are passing the IMAP mutf7. Use fileinto mö; instead. Thanks for the hint, now it works. :) Mike
Re: [Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Op 12/12/2011 11:08 AM, Mike Constabel schreef: Hello, On 2011-12-12 at 10:58 CET Timo Sirainen wrote: On 12.12.2011, at 11.46, Mike Constabel wrote: ## Generated by Roundcube Webmail SieveRules Plugin ## Roundcube bug/feature. fileinto mAPY-; Sieve uses UTF-8 mailbox names. The reason why Roundcube doesn't use them, is because some old Cyrus Sieve versions didn't use UTF-8. Ok, good to know. I found the setting in the roundcube sieverules plugin. After setting this to UTF-8 it works. For posterity: The following setting of the Roundcube Sieverules plugin is relevant to solve this issue (from config.inc.php.dist): // Sieve RFC says that we should use UTF-8 encoding for mailbox names, // but some implementations does not covert UTF-8 to modified UTF-7. // set to null for default behaviour $rcmail_config['sieverules_folder_encoding'] = null; Setting it to 'UTF-8' resolves the issue. Regards, Stephan.
Re: [Dovecot] database failover
Thanks, we considered options, ruled out master-master for security, and since everything is with mysql (AAA) we decided not to introduce another database type, we only use a few servers, so we might use a cron job every minute to test for db response and if fails drop interface, returns up interface, as we use linux HA solution, so if the heartbeat fails it ignores it, and other alerting will notify us eventually if it stays down, not optimum I know, in fact darn right messy, but it'll suffice until Dovecot offers such a solution. On Sat, Dec 10, 2011 at 8:18 PM, Robert Schetterer rob...@schetterer.orgwrote: Am 10.12.2011 11:07, schrieb Nick Edwards: Trying to get dovecot to _only_ use local copy of database, only querying another database server (same database, just replicated) if local copy is not responding, I have google fu'd a bit and found my only answer in so far as dovecot did this once upon as time, but it was only due to a dovecot bug, that has since been fixed, is that so? The wiki shows no information of failover, just load sharing, or is it an undocumented feature, or can dovecot not do failover, if not, can it be made so? Trying to cut down on network traffic, postfix does this nicely, I thought dovecot did too. as far i know recent dovecot cant do it youre right postfix does you can do a master-master setup i.e with mysql solving this works nice here, but might not be the best solution perhaps ldap, or other databases are better -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Re: [Dovecot] database failover
Hello Timo, On Sat, Dec 10, 2011 at 8:26 PM, Timo Sirainen t...@iki.fi wrote: On 10.12.2011, at 12.07, Nick Edwards wrote: Trying to get dovecot to _only_ use local copy of database, only querying another database server (same database, just replicated) if local copy is not responding, I have google fu'd a bit and found my only answer in so far as dovecot did this once upon as time, but it was only due to a dovecot bug, that has since been fixed, is that so? The wiki shows no information of failover, just load sharing, or is it an undocumented feature, or can dovecot not do failover, if not, can it be made so? Trying to cut down on network traffic, postfix does this nicely, I thought dovecot did too. You could add two passdbs + userdbs with different configs. The second dbs would be used when first db is down, but also for unknown users / wrong authentications. But yeah, the load balancing should be optional. There are just so many other things to do as well.. Yes, it would be nice, but I understand you have many things on your todo list.
Re: [Dovecot] Refiltering mails without loosing flags
Op 12/12/2011 1:42 AM, Dieter Knopf schreef: is there a way to refilter all mails in a folder without loosing all flags and moving all messages in a different folder? I have10k mails in my Inbox and need to create new filterrules from time to time. But there is no way to refilter my inbox without moving. Atm i need to move all mails in a folder like refilter and then run getmail/... to refilter the mails. It would be really nice to refilter a existing folder and just move mails with hits in the filter list. Since last week, the new sieve-filter command line tool, which is intended for just such a task, is part of the normal compile output for Pigeonhole 0.3.x for Dovecot v2.1. Unfortunately, it is not released yet, so I guess you're stuck with your old getmail-based solution for now. The tool is still experimental and I must say that I have not tested the preservation of flags for some time and many changes were performed since then. I will verify that later today. Also, the interaction with the new editheader extension needs attention. Regards, Stephan.
Re: [Dovecot] database failover
On Mon, Dec 12, 2011 at 09:25:14PM +1000, Nick Edwards wrote: Thanks, we considered options, ruled out master-master for security, and since everything is with mysql (AAA) we decided not to introduce another database type, But LDAP master-master is sooo nice :-) and once you have your users in LDAP it's triviall to re-use it as user source in lots of services (postfix lookups, authenticated smtp, apache basic auth, dovecot, etc..). To get away from our SPoF mysql userdatabase I wrote some scripts that checkes for changes in the mysql userdatabase, and push these to LDAP every x minutes. The mysql-database is still our master user source, but I'm looking forward to getting rid of it completely real soon now. -jf
[Dovecot] Documentation clarifiction on mmap_disable
Greetings, On http://wiki.dovecot.org/MainConfig I read: mmap_disable = no Don't use mmap() at all. This is required if you store indexes to shared filesystems (NFS or clustered filesystem). Does that mean: 1. mmap is required when using NFS or 2. it is required to don't use mmap at all when using NFS? Sorry if this is obvious. Best regards. -- *Marcio Merlone*
Re: [Dovecot] Documentation clarifiction on mmap_disable
On 12.12.2011, at 13.57, Marcio Merlone wrote: On http://wiki.dovecot.org/MainConfig I read: mmap_disable = no Don't use mmap() at all. This is required if you store indexes to shared filesystems (NFS or clustered filesystem). The wording is a bit too strong, but..: Does that mean: 1. mmap is required when using NFS or 2. it is required to don't use mmap at all when using NFS? It's better not to use mmap() with NFS. 1. mmap_disable=yes is required if you attempt to access the same mailbox from more than one Dovecot server, otherwise index files get corrupted really easily. But even with this setting this setup isn't safe! http://wiki2.dovecot.org/NFS explains the problems. 2. mmap_disable=yes is a good idea with NFS even if there's only one Dovecot server, since it should be more optimal and also failures are handled better. 3. mmap_disable=yes is a good idea with cluster filesystems, since it should make the performance better. 4. With local filesystems mmap_disable=no should be faster.
[Dovecot] simultaneous scripts not running via sieve_before
Hi again everyone, So I've finally got sieve integration happening on my REHL Postfix/Dovecot server, with private user scripts happily running when users create them. (we user SquirrelMail, so the avelsieve plugin runs the sieve integration). Now I'd like to utilise additional per-user scripts (probably via sieve_before), but I've not been able to get my additional scripts to execute. I am doing the following: a) getting avelsieve to write my redirect script (ie. logging on as user, completing private script wizard, and activating it) b) compiling .dovecot.sieve with sievec c) copying the resultant .dovecot.svbin to sieve/ directory (and renaming it eg redirect.svbin still, it appears that each /home/%u/.dovecot.sieve file is the only one taking effect. Any thoughts on how to make the other ones active? (The idea behind this is to automatically forward all of joeuser@mydomain's incoming mail to somewhere like joeusersbac...@gmail.com, for backup reasons. One day, I'll work out how to configure postfix to do this for all outgoing email too, but that's for another day :) Below are what my .conf files look like. Thanks in advance, Scott /etc/dovecot.conf: [code] protocols = imap imaps managesieve listen = * protocol imap { #mail_plugins = sieve quota } ## ## ManageSieve specific settings ## protocol managesieve { # debugging mail_debug = yes #login_executable = /usr/libexec/dovecot/managesieve-login #mail_executable = /usr/libexec/dovecot/managesieve #managesieve_max_line_length = 65536 #managesieve_logout_format = bytes ( in=%i : out=%o ) #managesieve_implementation_string = Cyrus timsieved v2.2.13 } protocol lda { mail_plugins = sieve quota sieve=~/.dovecot.sieve sieve_extentions = +include sieve_dir=~/sieve sieve_before = /home/%u/sieve/redirect.svbin sieve_global_path = /etc/globalsieverc.svbin [/code]
Re: [Dovecot] IMAP SPECIAL-USE extension
Date: Wed, 07 Dec 2011 00:49:49 +0200 From: Timo Sirainen t...@iki.fi Subject: Re: [Dovecot] IMAP SPECIAL-USE extension I did this: http://hg.dovecot.org/dovecot-2.1/rev/9b9a206395f7 Just to add to the confusion: Pine/Alpine uses sent-mail :(
Re: [Dovecot] postlogin script
Hi again, show plain passwrod works perfectly. But i have little problem about prefetch. we have users inda openldap usern...@domain.edu.tr, so, users login their user name to check their emails. after I opened prefetc property, users cannot acceees maildir directory, they use usern...@domain.edu.trdirectories and they cannot see emails on web (squireel mail). (becouse we migrate our server) our structure domain\username\Maildir, but after prefetch thay try to look in webmail ( also outlook etc. client download email again) domain\usern...@domain.edu.tr\cur,new etc can we fix this ? thanks. On Thu, Dec 8, 2011 at 10:58 AM, Selcuk Yazar selcuk.ya...@gmail.comwrote: Hi, i 'sorry, my mistake, it shold be pass_attrs = uid=user,userPassword=password, *=userdb_plaintext_pass=%w* as you said it must contain *equal sign* before userdb_plaintext_pass=%w, i missed it. thank you very much it works.! selçuk On Thu, Dec 8, 2011 at 10:55 AM, Timo Sirainen t...@iki.fi wrote: On Thu, 2011-12-08 at 10:40 +0200, Selcuk Yazar wrote: Hi, i applied settingsin below but dovecot says that prefetch(..@edu.tr,IP_ADDRESS): passdb didn't return userdb entries, trying the next userdb That's why I said make the userdb prefetch work first, the way described in: http://wiki2.dovecot.org/UserDatabase/Prefetch You'll need to add stuff to your pass_attrs. It doesn't work automatically. -- Selçuk YAZAR http://www.selcukyazar.blogspot.com -- Selçuk YAZAR http://www.selcukyazar.blogspot.com
Re: [Dovecot] simultaneous scripts not running via sieve_before
On Monday, December 12, 2011 at 13:02:05 UTC, scott_the_music...@yahoo.com.au confabulated: Hi again everyone, So I've finally got sieve integration happening on my REHL Postfix/Dovecot server, with private user scripts happily running when users create them. (we user SquirrelMail, so the avelsieve plugin runs the sieve integration). Now I'd like to utilise additional per-user scripts (probably via sieve_before), but I've not been able to get my additional scripts to execute. I am doing the following: a) getting avelsieve to write my redirect script (ie. logging on as user, completing private script wizard, and activating it) b) compiling .dovecot.sieve with sievec c) copying the resultant .dovecot.svbin to sieve/ directory (and renaming it eg redirect.svbin still, it appears that each /home/%u/.dovecot.sieve file is the only one taking effect. Any thoughts on how to make the other ones active? (The idea behind this is to automatically forward all of joeuser@mydomain's incoming mail to somewhere like joeusersbac...@gmail.com, for backup reasons. One day, I'll work out how to configure postfix to do this for all outgoing email too, but that's for another day :) Below are what my .conf files look like. Thanks in advance, Scott /etc/dovecot.conf: [code] protocols = imap imaps managesieve listen = * protocol imap { #mail_plugins = sieve quota } ## ## ManageSieve specific settings ## protocol managesieve { # debugging mail_debug = yes #login_executable = /usr/libexec/dovecot/managesieve-login #mail_executable = /usr/libexec/dovecot/managesieve #managesieve_max_line_length = 65536 #managesieve_logout_format = bytes ( in=%i : out=%o ) #managesieve_implementation_string = Cyrus timsieved v2.2.13 } protocol lda { mail_plugins = sieve quota sieve=~/.dovecot.sieve sieve_extentions = +include sieve_dir=~/sieve sieve_before = /home/%u/sieve/redirect.svbin sieve_global_path = /etc/globalsieverc.svbin [/code] sieve_before and sieve_after are directories where extra scripts are run sequentially before user scripts and after user scripts. See: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration -- If at first you don't succeed, so much for skydiving.
[Dovecot] Syncing shared mailboxes
Hi, while trying to sync the mailboxes of several users who use and share their mailboxes dsync prints this message: dsync-local(user-who-uses-shared-mailbox): Warning: Subscriptions file /home/user-who-uses-shared-mailbox/Maildir/subscriptions: Removing invalid entry: shared/sharing-user/shared-folder The problem is: Every user has to subscribe the shared folder again after each run of dsync... Is dsync capable of syncing shared mailboxes? Are there any preliminaries to do so? thanks in advance, Knud
Re: [Dovecot] simultaneous scripts not running via sieve_before
Op 12/12/2011 2:57 PM, Duane Hill schreef: On Monday, December 12, 2011 at 13:02:05 UTC, scott_the_music...@yahoo.com.au confabulated: protocol lda { mail_plugins = sieve quota sieve=~/.dovecot.sieve sieve_extentions = +include sieve_dir=~/sieve sieve_before = /home/%u/sieve/redirect.svbin sieve_global_path = /etc/globalsieverc.svbin [/code] sieve_before and sieve_after are directories where extra scripts are run sequentially before user scripts and after user scripts. See: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration It can be a file, but then it must point to the sieve script (in this case redirect.sieve) and not to the compiled binary (redirect.svbin in this case). Regards, Stephan.
[Dovecot] Prevent re-download mails
Hi, today we have a problem our mail server about user accounts. (something about prefetch) anyway i corrected, but some clients re-download emails again. how can i stop this .I've read about some forums about UIDVALIDITY ? is it posibble prevent clients redownload emails with pop3 ? thanks in advance. -- Selçuk YAZAR
Re: [Dovecot] Prevent re-download mails
On 12.12.2011, at 18.34, Selcuk Yazar wrote: today we have a problem our mail server about user accounts. (something about prefetch) anyway i corrected, but some clients re-download emails again. how can i stop this .I've read about some forums about UIDVALIDITY ? This isn't enough information to give a useful answer. is it posibble prevent clients redownload emails with pop3 ? http://wiki2.dovecot.org/Migration#POP3_migration basically explains the redownloading..
Re: [Dovecot] Prevent re-download mails
Hello, I got the same problem today, anyone have the this problem? Started few minutes ago. My pop3 server have this uidl setting: pop3_uidl_format = %f and the version 2.0.12, not changed anything in the last monts and got today this problem with lots of clients. Looking for more info. On Mon, Dec 12, 2011 at 3:04 PM, Timo Sirainen t...@iki.fi wrote: On 12.12.2011, at 18.34, Selcuk Yazar wrote: today we have a problem our mail server about user accounts. (something about prefetch) anyway i corrected, but some clients re-download emails again. how can i stop this .I've read about some forums about UIDVALIDITY ? This isn't enough information to give a useful answer. is it posibble prevent clients redownload emails with pop3 ? http://wiki2.dovecot.org/Migration#POP3_migration basically explains the redownloading..
[Dovecot] question regarding postfixadmin
Hello! I hope someone here is already using postfixadmin with dovecot and can help me out =) the install-readme for postfixadmin mentions, that the mail-home should be set to default_mail_env = maildir:/var/mail/vmail/%u/ but my dovecot is already installed and working with another config, namely mail_location = maildir:/var/dovecotmail/%n/Maildir. Do i have to change this, or is postfixadmin able to read this or can i set this value in postfixadmin somewhere? i´d rather avoid moving all mailfolders around just because of that, and unfortunately the paths don´t really lend themself to an easy solution via symlink ^_^ thanks for any replies best regards sil -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Re: [Dovecot] Prevent re-download mails
Hello, The clients re-download the messages on every connection, i current looking for the client versions with this problem. On Mon, Dec 12, 2011 at 3:15 PM, Wouter van der Schagt wou...@vdschagt.comwrote: Looking for more info. Even with the same UIDL values, some e-mail clients will still redownload the messages if a hostname changed. Anyway, annoying as it is, after the second download it will stop, you can ask your users to simply delete the duplicates, it won't download a 3rd time. - WS
[Dovecot] Saving archive copy of all mail sent/received w/Dovecot+Postfix?
I'm running Dovecot 2.0.15 and Postfix 2.7.7 with postfix handing off to Dovecot's LDA. I am hosting multiple virtual domains with multiple users and everything is working. I would now like to create a permanent archive of all sent/received mail with each virtual user's mail saved to its own sent file and received file. This needs to be independent of the user's regular Maildir store since he can't delete or modify the permanent archive. Any suggestions on how to best accomplish this either via postfix or dovecot? Postfix has in main.cf virtual_transport = dovecot and in master.cf dovecot unix - n n - - pipe flags=DRhu user=virtual:virtual argv=/usr/libexec/dovecot /dovecot-lda -d ${recipient} -f ${sender} dovecot uses this: [root@xxx andrew]# dovecot -n # 2.0.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.35.14-103.fc14.x86_64 x86_64 Fedora release 14 (Laughlin) ext4 auth_mechanisms = plain login cram-md5 disable_plaintext_auth = no mail_location = maildir:/home/vmail/%d/%n/Maildir mbox_write_locks = fcntl passdb { args = scheme=plain username_format=%u /etc/postfix/passwd driver = passwd-file } protocols = imap lmtp service auth { inet_listener { port = 12345 } unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-userdb { mode = 0666 } } ssl_cert = /etc/pki/tls/certs/xxx.com.crt ssl_key = /etc/pki/tls/private/xxx.com.key userdb { args = username_format=%u uid=5000 gid=5000 home=/home/vmail/%d/%n driver = static } Thanks, Andrew
[Dovecot] v2.1.rc1 managesieve TLS
Hi, TLS on imap port 143 works. But if I try TLS on managesieve port 4190, I get no connection. Dec 12 21:16:10 managesieve-login: Info: Disconnected (no auth attempts in 5 secs): rip=192.168.10.117, lip=192.168.10.117, secured Dec 12 21:16:20 managesieve-login: Info: Disconnected (no auth attempts in 5 secs): rip=192.168.10.117, lip=192.168.10.117, TLS handshaking: Disconnected # gnutls-cli --starttls -p 4190 192.168.10.117 Resolving '192.168.10.117'... Connecting to '192.168.10.117:4190'... - Simple Client Mode: IMPLEMENTATION Dovecot Pigeonhole SIEVE fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave NOTIFY mailto SASL PLAIN LOGIN CRAM-MD5 STARTTLS VERSION 1.0 OK Dovecot ready. STARTTLS NO Begin TLS negotiation now. ^ There is a NO and not an OK... Possible something wrong with my config, but I cannot find something... # doveconf -n # 2.1.rc1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 6.0.3 auth_cache_size = 1 M auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login cram-md5 auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot/dovecot-debug.log default_client_limit = 2600 dict { expire = sqlite:/etc/dovecot/dovecot-dict-expire.conf.ext } disable_plaintext_auth = no hostname = mx4.constabel-it.de info_log_path = /var/log/dovecot/dovecot-info.log log_path = /var/log/dovecot/dovecot.log mail_debug = yes mail_location = mdbox:~/mdbox mail_plugins = quota notify mail_log expire acl mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox = yes location = mailbox Archive/2011 { auto = subscribe } mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = separator = / type = private } passdb { args = scheme=PLAIN username_format=%u /etc/imap.userdb driver = passwd-file } plugin { expire = Trash expire2 = Trash/* expire3 = Spam expire_dict = proxy::expire quota = dict:User quota::file:/mailspool1/%d/%n/dovecot-quota quota_rule = *:storage=9000M:messages=100 sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } postmaster_address = postmaster@localhost protocols = imap lmtp sieve pop3 service auth { inet_listener { address = 192.168.10.117 port = 12345 } } service dict { unix_listener dict { group = vmail mode = 0666 } } service imap-login { inet_listener imap { address = 192.168.10.117 port = 143 } inet_listener imaps { address = 192.168.10.117 port = 993 ssl = yes } } service lmtp { inet_listener lmtp { address = 192.168.10.117 port = 24 } } service managesieve-login { inet_listener sieve { address = 192.168.10.117 port = 4190 } inet_listener sieve_deprecated { port = 2000 } } service pop3-login { inet_listener pop3 { address = 192.168.10.117 port = 110 } inet_listener pop3s { address = 192.168.10.117 port = 995 ssl = yes } } ssl_ca = /etc/postfix/psw-ssl/ssl.ca-bundle ssl_cert = /etc/postfix/psw-ssl/ssl.crt ssl_key = /etc/postfix/psw-ssl/ssl.key userdb { args = username_format=%Lu /etc/imap.userdb driver = passwd-file } protocol lmtp { mail_plugins = quota notify mail_log expire acl sieve } protocol lda { mail_plugins = quota notify mail_log expire acl } protocol imap { imap_logout_format = bytes=%i/%o mail_plugins = quota notify mail_log expire acl imap_quota imap_acl } protocol sieve { mail_debug = yes managesieve_logout_format = bytes=%i/%o } protocol pop3 { mail_plugins = quota notify mail_log expire acl } regards, Mike
Re: [Dovecot] v2.1.rc1 managesieve TLS
On 12/12/2011 9:30 PM, Mike Constabel wrote: Hi, TLS on imap port 143 works. But if I try TLS on managesieve port 4190, I get no connection. Dec 12 21:16:10 managesieve-login: Info: Disconnected (no auth attempts in 5 secs): rip=192.168.10.117, lip=192.168.10.117, secured Dec 12 21:16:20 managesieve-login: Info: Disconnected (no auth attempts in 5 secs): rip=192.168.10.117, lip=192.168.10.117, TLS handshaking: Disconnected [..] NO Begin TLS negotiation now. My bad. By the looks of things you are using the automatic Debian repository. Currently, these builds are a bit tainted by a couple of patches of mine, which apparently caused problems once more. As not to frustrate generic debugging any further, I have removed these patches from the normal v2.1 builds. I did fix this bug, but I'll start a separate builder for the patched packages that I need for a project of mine. If all goes well, new untainted packages should roll out within the hour. Regards, Stephan.
Re: [Dovecot] Prevent re-download mails
Hi, i give more detail our problem, i edited configuration dovecot for show plain text password(and use postlogin feature), after that, maildir location property (it comes from ldap attribute) changed with domain extension. so some client can't show mails on web interface (squirrel), after that i disabled showing-logging plaintext password, and some client download mails again. in conf file we have %u property , if i sould this change with %n , we don't have this problem :) . now if i change this uidl format can i prevent re-download mails again ? sorry for my english thanks in advance. On Mon, Dec 12, 2011 at 7:18 PM, Francisco Wagner C. Freire wgrcu...@gmail.com wrote: Hello, The clients re-download the messages on every connection, i current looking for the client versions with this problem. On Mon, Dec 12, 2011 at 3:15 PM, Wouter van der Schagt wou...@vdschagt.comwrote: Looking for more info. Even with the same UIDL values, some e-mail clients will still redownload the messages if a hostname changed. Anyway, annoying as it is, after the second download it will stop, you can ask your users to simply delete the duplicates, it won't download a 3rd time. - WS -- Selçuk YAZAR http://www.selcukyazar.blogspot.com
Re: [Dovecot] Panic when attempting index with Apache Solr : fts_solr plugin
Over the weekend I updated the OS on the machine in question to Fedora 15, which should have updated libcurl in the process, and I'm still getting the same error message. I also moved Solr to another server instead of trying to use it on the local box, but that didn't seem to make a difference. On 12/07/2011 11:22 PM, Timo Sirainen wrote: On Fri, 2011-12-02 at 12:47 -0600, A Dovecot User wrote: [root@mymailserver ~]# doveadm -D index -u username mailbox inbox The mailbox isn't necessary above. doveadm(username): Info: INBOX: Caching mails seq=1..466 doveadm(username): Panic: file solr-connection.c: line 545 (solr_connection_post_more): assertion failed: (maxfd = 0) This happens every time? It can't index any mails at all? Have you tried with Dovecot v2.0? I can't reproduce it. Anyway I guess either I'm using libcurl wrong somehow, or there's a bug in libcurl..
Re: [Dovecot] mail_max_userip_connections=10
Timo Sirainen tss at iki.fi writes: On 19.9.2011, at 11.27, Tom Clark wrote: Is there anyway of whitelisting an IP so that it can ignore mail_max_userip_connections=10? With v2.0 in theory: remote 1.2.3.4 { mail_max_userip_connections = 0 } I don't know if it actually works. Not sure I follow- in which conf file would it be appropriate to place this? Is it possible to maintain separate values for the same config directive? (I'm having a similar problem with iOS devices connecting to our server- they seem to open multiple connections, easily going over 10 if they have many subscribed directories). Thanks, -E-