Re: [Dovecot] Sieve Adding headers.
On 7/25/2012 3:56 AM, Steven Haigh wrote: Hi all, I've just migrated my mail system from procmail to managesieve/sieve and I'm having trouble trying to duplicate a could of rules I used to use in my procmail config. One particular rule would be this: :0 Wfh * ^Sender: owner-scientific-linux-de...@listserv.fnal.gov | (sed -e '/^Subject:/ s/\[SCIENTIFIC-LINUX-DEVEL\] *//g'| sed ':a;N;$!ba;s/Precedence: list/Precedence: list\nList-Post: mailto:scientific-linux-de...@fnal.gov/g') :0 A .Mail\ Lists.SL-Devel/ This in effect adds the header List-Post: mailto:scientific-linux-de...@fnal.gov after Precedence: list. This allows me to use the Reply To List functionality in Thunderbird. You'll need the editheader extension (meaning a fairly new Pigeonhole v0.3.0+): require [fileinto, editheader, variables, regex]; if address sender owner-scientific-linux-de...@listserv.fnal.gov { if header :regex subject \\[SCIENTIFIC-LINUX-DEVEL\\] *(.*) { deleteheader Subject; addheader Subject ${1}; } addheader List-Post mailto:scientific-linux-de...@fnal.gov; fileinto Mail List.SL-Devel; } Another rule is: :0 Wfh * ^X-BeenThere: us...@lists.repoforge.org | sed -e '/^Subject:/ s/\[users\] *//g' :0 A .Mail\ Lists.RPMForge/ This removes the [users] tag from the subject of each message to the RPMForge / RepoForge mailing lists. Is there a way to do this with sieve? Nothing I have seen seems to do this - however I'm only a beginner in this area. Please CC myself as well as the list. I'm not currently subscribed. require [fileinto, editheader, variables, regex]; if header X-BeenThere us...@lists.repoforge.org { if header :regex subject \\[users\\] *(.*) { deleteheader Subject; addheader Subject ${1}; } fileinto Mail Lists.RPMForge; } Don't forget to enable the editheader extension in your configuration using the sieve_extensions setting. Regards, Stephan.
Re: [Dovecot] Sieve Adding headers.
Thanks for the reply Stephan! Out of interest, how can I tell what version is installed? The system is EL6.2 - but dovecot etc is installed via yum. It currently has: # rpm -qa | grep dovecot dovecot-2.0.9-2.el6_1.1.x86_64 dovecot-pigeonhole-2.0.9-2.el6_1.1.x86_64 dovecot-mysql-2.0.9-2.el6_1.1.x86_64 However these look nothing like the pigeonhole version numbers. I can see a few newer packages here and there, but some guidance would be helpful for upgrading either both dovecot managesieve etc, or just managesieve. -- Steven Haigh Email: net...@crc.id.au Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299 On 25/07/2012 5:16 PM, Stephan Bosch wrote: On 7/25/2012 3:56 AM, Steven Haigh wrote: Hi all, I've just migrated my mail system from procmail to managesieve/sieve and I'm having trouble trying to duplicate a could of rules I used to use in my procmail config. One particular rule would be this: :0 Wfh * ^Sender: owner-scientific-linux-de...@listserv.fnal.gov | (sed -e '/^Subject:/ s/\[SCIENTIFIC-LINUX-DEVEL\] *//g'| sed ':a;N;$!ba;s/Precedence: list/Precedence: list\nList-Post: mailto:scientific-linux-de...@fnal.gov/g') :0 A .Mail\ Lists.SL-Devel/ This in effect adds the header List-Post: mailto:scientific-linux-de...@fnal.gov after Precedence: list. This allows me to use the Reply To List functionality in Thunderbird. You'll need the editheader extension (meaning a fairly new Pigeonhole v0.3.0+): require [fileinto, editheader, variables, regex]; if address sender owner-scientific-linux-de...@listserv.fnal.gov { if header :regex subject \\[SCIENTIFIC-LINUX-DEVEL\\] *(.*) { deleteheader Subject; addheader Subject ${1}; } addheader List-Post mailto:scientific-linux-de...@fnal.gov; fileinto Mail List.SL-Devel; } Another rule is: :0 Wfh * ^X-BeenThere: us...@lists.repoforge.org | sed -e '/^Subject:/ s/\[users\] *//g' :0 A .Mail\ Lists.RPMForge/ This removes the [users] tag from the subject of each message to the RPMForge / RepoForge mailing lists. Is there a way to do this with sieve? Nothing I have seen seems to do this - however I'm only a beginner in this area. Please CC myself as well as the list. I'm not currently subscribed. require [fileinto, editheader, variables, regex]; if header X-BeenThere us...@lists.repoforge.org { if header :regex subject \\[users\\] *(.*) { deleteheader Subject; addheader Subject ${1}; } fileinto Mail Lists.RPMForge; } Don't forget to enable the editheader extension in your configuration using the sieve_extensions setting. Regards, Stephan. smime.p7s Description: S/MIME Cryptographic Signature
Re: [Dovecot] Sieve Adding headers.
Op 7/25/2012 9:57 AM, Steven Haigh schreef: Thanks for the reply Stephan! Out of interest, how can I tell what version is installed? The system is EL6.2 - but dovecot etc is installed via yum. It currently has: # rpm -qa | grep dovecot dovecot-2.0.9-2.el6_1.1.x86_64 dovecot-pigeonhole-2.0.9-2.el6_1.1.x86_64 dovecot-mysql-2.0.9-2.el6_1.1.x86_64 However these look nothing like the pigeonhole version numbers. I can see a few newer packages here and there, but some guidance would be helpful for upgrading either both dovecot managesieve etc, or just managesieve. I should have mentioned that right away: Pigeonhole 0.3.x is for Dovecot v2.1 Regards, Stephan.
[Dovecot] help about quota config
hi all : mysql mailbox below : CREATE TABLE `mailbox` ( `username` varchar(255) NOT NULL DEFAULT '', `uid` varchar(255) NOT NULL DEFAULT '', `password` varchar(255) NOT NULL DEFAULT '', `clearpwd` varchar(128) NOT NULL DEFAULT '', `name` varchar(255) NOT NULL DEFAULT '', `mailhost` varchar(255) NOT NULL DEFAULT '', `maildir` varchar(255) NOT NULL DEFAULT '', `homedir` varchar(255) NOT NULL DEFAULT '', `quota` varchar(16) NOT NULL DEFAULT '0', `netdiskquota` varchar(16) NOT NULL DEFAULT '0', `domain` varchar(255) NOT NULL DEFAULT '', `uidnumber` int(6) NOT NULL DEFAULT '1000', `gidnumber` int(6) NOT NULL DEFAULT '1000', `createdate` datetime NOT NULL DEFAULT '-00-00 00:00:00', `expiredate` date NOT NULL DEFAULT '-00-00', `active` smallint(1) NOT NULL DEFAULT '1', `disablepwdchange` smallint(1) DEFAULT NULL, `disablesmtpd` smallint(1) DEFAULT NULL, `disablesmtp` smallint(1) DEFAULT NULL, `disablewebmail` smallint(1) DEFAULT NULL, `disablenetdisk` smallint(1) DEFAULT NULL, `disableimap` smallint(1) DEFAULT NULL, `disablepop3` smallint(1) DEFAULT NULL, `question` text NOT NULL, `answer` text NOT NULL, PRIMARY KEY (`username`), KEY `username` (`username`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='ExtMail - Virtual Mailboxes' dovecot config below : root@mail:/etc/dovecot# dovecot -n # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-686 i686 Debian 6.0.5 ext3 log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s managesieve listen(default): * listen(imap): * listen(pop3): * listen(managesieve): *:2000 disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_executable(managesieve): /usr/lib/dovecot/managesieve-login mail_privileged_group: mail mail_uid: vuser mail_gid: vgroup mail_location: maildir:/home/data/domains/%d/%n/Maildir mail_debug: yes mbox_write_locks: fcntl dotlock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugins(default): quota mail_plugins(imap): quota mail_plugins(pop3): quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve managesieve_logout_format(default): bytes=%i/%o managesieve_logout_format(imap): bytes=%i/%o managesieve_logout_format(pop3): bytes=%i/%o managesieve_logout_format(managesieve): bytes(in=%i/out=%o) lda: postmaster_address: f...@5dshu.com mail_plugins: sieve quota mail_plugin_dir: /usr/lib/dovecot/modules/lda auth_socket_path: /var/run/dovecot/auth-master auth default: mechanisms: plain login verbose: yes debug: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 384 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vuser group: vgroup plugin: quota: dict:user::proxy::quota sieve_dir: /home/data/domains/%d/%n/sieve sieve: /home/data/domains/%d/%n/.dovecot.sieve dict: quota: mysql:/etc/dovecot/dovecot-dict-sql.conf /etc/dovecot/dovecot-dict-sql.conf file : connect = host=localhost dbname=extmail user=root password=bamwei map { pattern = priv/quota/storage table = mailbox username_field = username value_field =quota } map { pattern = priv/quota/messages table = mailbox username_field = username value_field = uid } in the dovecot-sql.conf: user_query= SELECT homedir AS home, maildir, uidnumber AS uid, gidnumber AS gid ,CONCAT( '*:storage=', quota, 'B' ) AS quota_rule FROM mailbox WHERE username ='%u' password_query= SELECT username,domain,password,homedir AS home, maildir, uidnumber AS uid, gidnumber AS gid, CONCAT( '*:storage=', quota, 'B' ) AS userdb_quota_rule FROM mailbox WHERE username ='%u' when is seting quota_rule=*:storage=10M:messages=1000 in plugin quote, all user get 10MB quota. when i comment it .quota no enable . i see the http://wiki1.dovecot.org/Quota/Dict ,but unknow to get Correct setup...thanks ! fy
Re: [Dovecot] Sieve Adding headers.
On 25/07/2012 7:12 PM, Stephan Bosch wrote: Op 7/25/2012 9:57 AM, Steven Haigh schreef: Thanks for the reply Stephan! Out of interest, how can I tell what version is installed? The system is EL6.2 - but dovecot etc is installed via yum. It currently has: # rpm -qa | grep dovecot dovecot-2.0.9-2.el6_1.1.x86_64 dovecot-pigeonhole-2.0.9-2.el6_1.1.x86_64 dovecot-mysql-2.0.9-2.el6_1.1.x86_64 However these look nothing like the pigeonhole version numbers. I can see a few newer packages here and there, but some guidance would be helpful for upgrading either both dovecot managesieve etc, or just managesieve. I should have mentioned that right away: Pigeonhole 0.3.x is for Dovecot v2.1 Thanks again! Does anyone on the list happen to know if the atrpms dovecot packages are / have been updated on a regular basis? They seem to be newer than the EL6 ones, but the last build seems to have been 2.1 beta1. -- Steven Haigh Email: net...@crc.id.au Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299
Re: [Dovecot] Remove leading and trailing spaces from folder names?
* Ed W li...@wildgooses.com: Oh, sorry. Why doveadm though? Why not attack the filesystem directly? It's a bit hard with mdbox: mailboxes. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [Dovecot] Remove leading and trailing spaces from folder names?
On 25.7.2012, at 13.43, Ralf Hildebrandt wrote: * Ed W li...@wildgooses.com: Oh, sorry. Why doveadm though? Why not attack the filesystem directly? It's a bit hard with mdbox: mailboxes. Actually it is allowed to simply mv the directory names, but I don't think that's all that much easier than just using doveadm rename. The way I'd do this is to just do doveadm mailbox list, put the strings through some regexps and doveadm rename if necessary. Repeat for all users.
Re: [Dovecot] Remove leading and trailing spaces from folder names?
* Timo Sirainen t...@iki.fi: Actually it is allowed to simply mv the directory names, but I don't think that's all that much easier than just using doveadm rename. My point exactly. It's such a nice tool, so why not use a tool which keeps the integrity of the mailboxes and folders if it exists. :) The way I'd do this is to just do doveadm mailbox list, put the strings through some regexps and doveadm rename if necessary. Repeat for all users. Yes, something along those lines. It's just that I find it hard to craft a regexp which does that. Maybe after the vacation. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [Dovecot] Remove leading and trailing spaces from folder names?
On 25.7.2012, at 13.54, Ralf Hildebrandt wrote: The way I'd do this is to just do doveadm mailbox list, put the strings through some regexps and doveadm rename if necessary. Repeat for all users. Yes, something along those lines. It's just that I find it hard to craft a regexp which does that. Maybe after the vacation. echo foo/ b a r / baz / sup | perl -pe 's, +/,/,g; s,/ +,/,g; s/^ +//; s/ +$//'
Re: [Dovecot] what best for anti-spam filter?
On 24.7.2012, at 16.46, Patrick Ben Koetter wrote: this is a mailing list dedicated to Dovecot and the protocols POP, IMAP and MANAGESIEVE with the one or the other detour to storage. Greylisting and other Anti-Spam techniques, as discussed in this thread, truely are off-topic. Please take discussion offlist or to another list that deals with such stuff. I think threads like this and storage and maybe others could be moved to some wiki pages. It could be helpful to have a list of possibilities discussing their upsides and downsides, which would work much better in a wiki page than spread into 100 different messages in this list. So, anyone feel free to create http://wiki2.dovecot.org/AntiSpam and start filling it out.
Re: [Dovecot] what best for anti-spam filter?
Am 25.07.2012 13:31, schrieb Timo Sirainen: On 24.7.2012, at 16.46, Patrick Ben Koetter wrote: this is a mailing list dedicated to Dovecot and the protocols POP, IMAP and MANAGESIEVE with the one or the other detour to storage. Greylisting and other Anti-Spam techniques, as discussed in this thread, truely are off-topic. Please take discussion offlist or to another list that deals with such stuff. I think threads like this and storage and maybe others could be moved to some wiki pages. It could be helpful to have a list of possibilities discussing their upsides and downsides, which would work much better in a wiki page than spread into 100 different messages in this list. So, anyone feel free to create http://wiki2.dovecot.org/AntiSpam and start filling it out. hi Timo, good idea, thx for this by the way , the best anti spam filter , would be the one ,you dont need *g -- Best Regards MfG Robert Schetterer
Re: [Dovecot] mysql auth failover failing
As per this discussion almost a year ago, was there any attempt to introduce failover mode planned Timo? On Mon, 2011-09-12 at 13:26 -0700, Paul B. Henson wrote: Perhaps it could be an option, either load balancing between all available servers, or only using later listed servers when the earlier listed ones are failing. For my purposes, either way is fine, as long as authentications don't fail :). The other contributor to this thread, who has a local mysql replica listed first and the central master listed second probably wouldn't want the load balanced between them. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Remove leading and trailing spaces from folder names?
On 25/07/2012 11:59, Timo Sirainen wrote: On 25.7.2012, at 13.54, Ralf Hildebrandt wrote: The way I'd do this is to just do doveadm mailbox list, put the strings through some regexps and doveadm rename if necessary. Repeat for all users. Yes, something along those lines. It's just that I find it hard to craft a regexp which does that. Maybe after the vacation. echo foo/ b a r / baz / sup | perl -pe 's, +/,/,g; s,/ +,/,g; s/^ +//; s/ +$//' Bet you can't pronounce all of the above ;-) Stack overflow on doing it in bash (probably would use the perl regexp above though, but only because I understand perl regexps better) http://stackoverflow.com/questions/369758/how-to-trim-whitespace-from-bash-variable Ed W
[Dovecot] OT Re: what best for anti-spam filter?
On 2012-07-24 2:36 AM, Federico Bianchi fbian...@arte.unipi.it wrote: On Tue, 24 Jul 2012, fy wrote: what anti-spam for you used ? dspam?spammassian? amavisd-new ? what is best ? If you can afford using a separate boundary SMTP (and, thanks to virtual machines, this is much more common than just a few years ago), MailAvenger is likely to be a very good solution: for Bayesian filtering it relies on plain SpamAssassin, but it really shines in doing deep SMTP transaction analysis, ruling out most spam at that level and making it far less CPU and memory intensive than its counterparts. You can find it at http://mailavenger.org/ Since it doesn't even directly support postfix, I wouldn't even give it a chance. Personally, my dream antispam system would be ASSP integrated with amavisd-new running only as an after-queue content filter, and use postfix's rock-solid built-in pre-queue anti-spam measures. ASSP's Block Reporting feature is really awesome for end users to manage anything in their quarantine. -- Best regards, Charles
Re: [Dovecot] what best for anti-spam filter?
Den 2012-07-24 05:58, fy skrev: what anti-spam for you used ? dspam?spammassian? amavisd-new ? what is best ? depends of your gool, if you like to have user controls, then dovecot, dovecot-antispam, with dspam is best, save the spamassassin resources here amavisd-new is NOT an spam filter btw and if you want to have no user control then go for spamassassin currently here i plan to drop spamassassin and only use dspam via dovecot antispam plugin, it save me resources on dns, with lately here is unstable like hell, and talking to dns hosters helps nothing :/
[Dovecot] get recipient entry while in the zlib plugin context
Hello, is it possible to get a recipient of an email while being in the zlib plugin context ? Thank you ! -BEGIN PGP PUBLIC KEY BLOCK- mQINBE9zuXMBEADG8O1eZpo8gxMFcQ2Bf4K/n2MvDoH5WDnffvLQcswkigKedicz lNNQzMTsk31gH8Hkl3upEK1jd0yfAmB20puITl52Mlzm3Xe6p8JDDZdKBppIaZI+ E0sin1ff/OBn/BPsPQjvCa92kOvm8Km118Wph3mUtQM4kZlMvxWSLWye1l9SUO0b Ou8zbuL0+5YaUABz57BGfJZDMHLORaeJMu3OVty4cpVBZl1Cn6aHN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/4DSlIZdwSiKPDlBtfBpA43I4c76DtRZc0knlo+drwZvCZMbu6CCs3gW0ZkZs v5qmkDopG83bysq5ll+pytRRDx2Uzmd6jOXnTE3EFKUjuOUalHIF7NJJIv9lTcon Nb4rYu3KdOkilj06jAQWbHPgk4yI+ZOr95Vu5vbLd2Ft+06Af1UhbIJ5wY2Mkh/q CDhxA3vBoOulljNRUn6iwNSSxAeWekYw+ULUapL0 =wxyH -END PGP PUBLIC KEY BLOCK-
Re: [Dovecot] what best for anti-spam filter?
Am 25.07.2012 21:35, schrieb Benny Pedersen: currently here i plan to drop spamassassin and only use dspam via dovecot antispam plugin, it save me resources on dns, with lately here is unstable like hell, and talking to dns hosters helps nothing :/ why in the world do you not setup our own DNS? it is not rocket scienece to configure BIND as recursion-resolver and caching server directly on the mail-machine and with high load you should always run local resolvers signature.asc Description: OpenPGP digital signature
Re: [Dovecot] what best for anti-spam filter?
Stop replying here and start writing to http://wiki2.dovecot.org/AntiSpam - I added some kind of a template now. Thread closed.
Re: [Dovecot] what best for anti-spam filter?
Den 2012-07-24 08:20, Radim Kolar skrev: what anti-spam for you used ? dspam?spammassian? amavisd-new ? what is best ? i got best results with dspam + graylist. but dspam is not scalable solution, it works only if you do not have many users. depends on backend imho i know a hoster that only have dspam filtering pr user level, no complains seen in the forum
[Dovecot] lock file strangeness
We are running dovecot-1.2.10 on a Solaris 10 x86 host. Starting on July 24 I started seeing the following type lock files I the /var/mail directory. -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138908.28535.hardy.purdue.edu -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138907.28535.hardy.purdue.edu -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138906.28535.hardy.purdue.edu -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138905.28535.hardy.purdue.edu They are being created by only three of our users. What is common with the three users is that they are using alpine mail client. Again these just started on July 24. We have over 300 user and a lot of them use alpine but only three users seem to generate these lock files. Can some one tell me what and why these are being created and why they are not getting destroyed? Thanks Robert _ Robert P. McGraw, Jr. Manager, Computer SystemEMAIL: rmcg...@purdue.edu Purdue UniversityROOM: MATH-807 Department of Mathematics PHONE: (765) 494-6055 150 N. University Street West Lafayette, IN 47907-2067
Re: [Dovecot] lock file strangeness
Dovecot doesn't create lock files named like these. On 25.7.2012, at 22.50, McGraw, Robert P wrote: We are running dovecot-1.2.10 on a Solaris 10 x86 host. Starting on July 24 I started seeing the following type lock files I the /var/mail directory. -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138908.28535.hardy.purdue.edu -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138907.28535.hardy.purdue.edu -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138906.28535.hardy.purdue.edu -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138905.28535.hardy.purdue.edu They are being created by only three of our users. What is common with the three users is that they are using alpine mail client. Again these just started on July 24. We have over 300 user and a lot of them use alpine but only three users seem to generate these lock files. Can some one tell me what and why these are being created and why they are not getting destroyed? Thanks Robert _ Robert P. McGraw, Jr. Manager, Computer SystemEMAIL: rmcg...@purdue.edu Purdue UniversityROOM: MATH-807 Department of Mathematics PHONE: (765) 494-6055 150 N. University Street West Lafayette, IN 47907-2067
Re: [Dovecot] lock file strangeness
From: McGraw, Robert P rmcg...@purdue.edu We are running dovecot-1.2.10 on a Solaris 10 x86 host. Starting on July 24 I started seeing the following type lock files I the /var/mail directory. -rw-rw-rw- 1 agab mail 0 Jul 24 10:08 agabriel.lock.1343138908.28535.hardy.purdue.edu Hmm, are you sure these are dovecot locks? They look sort of like what alpine would produce. Do your clients have direct filesystem access to the INBOX spool? Joseph Tam jtam.h...@gmail.com
[Dovecot] Problem with running two dovecot instances on the same server
Hello All, Have anyone met the problem I am struggling with at the moment ? The problem is when I run two instances of dovecot 2.1.8 which are one for proxy-director and another one is a regular one on the same server then I have big amount of strange entries in the /var/log/mail.err: Jul 26 11:51:20 dovecot-test-1 dovecot: director: Error: Empty server list Jul 26 11:51:20 dovecot-test-1 dovecot: director: Fatal: Invalid value for director_mail_servers setting Jul 26 11:51:20 dovecot-test-1 dovecot: master: Error: service(director): command startup failed, throttling for 60 secs Jul 26 11:52:20 dovecot-test-1 dovecot: director: Error: Empty server list Jul 26 11:52:20 dovecot-test-1 dovecot: director: Fatal: Invalid value for director_mail_servers setting Jul 26 11:52:20 dovecot-test-1 dovecot: master: Error: service(director): command startup failed, throttling for 60 secs That's for sure set-director_mail_servers variable in main_preinit of ./src/director/main.c But after dumping it it turns out that ppid of the process which failed to use main_preinit function is a regular dovecot not the proxy one. When main_preinit is used by dovecot-proxy then set-director_mail_servers = ip address of a mail server and it is all good but if main_preinit is used by dovecot then set-director_mail_servers = empty and I get fatal errors in logs. So here is a question: How come that non-proxy dovecot requests director_mail_servers variable and writes fatal error in the logs if it doesn't find it ? Thank you very much for any assistance! Please find my configs: DOVECOT: root@dovecot-test-1:~/software/dovecot/dovecot-2.1.8# /usr/local/dovecot/sbin/dovecot -n # 2.1.8: /usr/local/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.5 auth_mechanisms = plain digest-md5 cram-md5 apop auth_verbose = yes base_dir = /var/run/dovecot/ default_internal_user = webmail disable_plaintext_auth = no doveadm_password = secret listen = 192.168.0.42 mail_fsync = always mail_location = maildir:~/ mail_nfs_index = yes mail_nfs_storage = yes mail_plugins = quota fts fts_solr mmap_disable = yes passdb { args = /usr/local/dovecot/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { fts = solr fts_solr = break-imap-search url=http://localhost:8080/solr/ quota = maildir:User quota } service doveadm { inet_listener { port = 8282 } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service imap { executable = imap } service lmtp { inet_listener lmtp { port = 24 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service pop3 { executable = pop3 } ssl_cert = /usr/local/dovecot/ssl/dovecot.pem ssl_key = /usr/local/dovecot/ssl/dovecot.pem userdb { args = /usr/local/dovecot/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol imap { mail_plugins = quota fts fts_solr imap_quota } DOVECOT-PROXY: root@dovecot-test-1:~/software/dovecot/dovecot-2.1.8# /usr/local/dovecot/sbin/dovecot -c /usr/local/dovecot/etc/dovecot/dovecot-proxy.conf -n # 2.1.8: /usr/local/dovecot/etc/dovecot/dovecot-proxy.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.5 auth_verbose = yes base_dir = /var/run/dovecot-proxy default_internal_user = webmail director_mail_servers = 192.168.0.42 director_servers = 192.168.0.41 disable_plaintext_auth = no doveadm_password = secret doveadm_proxy_port = 8282 instance_name = dovecot-proxy listen = 192.168.0.41 login_greeting = Dovecot Proxy ready. mail_location = maildir:~/ passdb { args = proxy=y nopassword=y driver = static } service auth-worker { user = webmail } service auth { client_limit = 2400 } service director { fifo_listener login/proxy-notify { mode = 0666 } inet_listener { port = 8181 } unix_listener director-userdb { mode = 0600 } unix_listener login/director { mode = 0666 } } service doveadm { inet_listener { port = 8282 } } service imap-login { executable = imap-login director inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service imap { service_count = 0 } service lmtp { inet_listener lmtp { port = 24 } } service pop3-login { executable = pop3-login director inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service pop3 { service_count = 0 } ssl_cert = /usr/local/dovecot/ssl/dovecot.pem ssl_key = /usr/local/dovecot/ssl/dovecot.pem userdb { args = /usr/local/dovecot/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol imap { mail_max_userip_connections = 100 } protocol doveadm { auth_socket_path = director-userdb } -- Regards, Alexandr Sabitov