ispCP - Board - Support
[HowTo] Replace courier with dovecot - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HowTo] Replace courier with dovecot (/thread-6088.html)

Pages: 1 2 3 4 5 6 7 8


RE: [HowTo] Replace courier with dovecot - edeis - 05-07-2010 03:17 AM

Thanks Aseques. The HowTo on the wiki was not clear, I thought this is something that had to be done for the distros listed: Debian Etch usw, Debian Lenny, and *BSD dovecot from port.

Looking at my directory structure (Centos5.4), I see dovecot/deliver is in: /usr/libexec/dovecot/deliver

So this should be the correct piping for RHEL and CentOS??:

Quote:dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient} -s

I get the following error in /var/log/maillog:

Quote:(command line usage error. Command output: Fatal: Unknown argument: -s Usage: deliver [-c <config file>] [-d <destination user>] [-m <mailbox>] [-n] [-e] [-f <envelope sender>] )



RE: [HowTo] Replace courier with dovecot - aseques - 05-07-2010 09:12 PM

From deliver manual:
-s: Subscribe to mailboxes that are automatically created (via -m parameter or fileinto Sieve action). (v1.1.3+)


It might be that you're using an older versions than 1.1.3 or that this option is not availabel on centOS. Delete the -s part from master.cf and should go fine.


RE: [HowTo] Replace courier with dovecot - edeis - 05-08-2010 05:49 AM

Thanks. Yes, CentOS uses version 1.07 in their repository. Used the atrpms.net repository and upgrade to latest version, now it works with "-s".

Still have a problem trying to use sieve and managesieve, even after restarting the services. But, I guess that isn't for this forum. The ISP portion is working now.

dovecot: dovecot: Created login processes successfully, unstalling
May 7 12:46:47 drizzle dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
May 7 12:46:47 drizzle dovecot: managesieve-login: Fatal: Dovecot version mismatch: Master is v1.2.11, login is v1.2.10 (if you don't care, set version_ignore=yes)
May 7 12:46:47 drizzle dovecot: dovecot: Created login processes successfully, unstalling
May 7 12:46:48 drizzle dovecot: managesieve-login: Fatal: Dovecot version mismatch: Master is v1.2.11, login is v1.2.10 (if you don't care, set version_ignore=yes)


RE: [HowTo] Replace courier with dovecot - aseques - 05-10-2010 08:54 PM

(05-08-2010 05:49 AM)edeis Wrote:  Thanks. Yes, CentOS uses version 1.07 in their repository. Used the atrpms.net repository and upgrade to latest version, now it works with "-s".

Still have a problem trying to use sieve and managesieve, even after restarting the services. But, I guess that isn't for this forum. The ISP portion is working now.

dovecot: dovecot: Created login processes successfully, unstalling
May 7 12:46:47 drizzle dovecot: dovecot: Temporary failure in creating login processes, slowing down for now
May 7 12:46:47 drizzle dovecot: managesieve-login: Fatal: Dovecot version mismatch: Master is v1.2.11, login is v1.2.10 (if you don't care, set version_ignore=yes)
May 7 12:46:47 drizzle dovecot: dovecot: Created login processes successfully, unstalling
May 7 12:46:48 drizzle dovecot: managesieve-login: Fatal: Dovecot version mismatch: Master is v1.2.11, login is v1.2.10 (if you don't care, set version_ignore=yes)
This seems to be something related to the compilation of sieve module, it might be that sieve and dovecot are packaged with different versions, you should look at the source of those packages or try with the "version_ignore=yes" (I've never used it tought)


RE: [HowTo] Replace courier with dovecot - edeis - 05-11-2010 03:16 AM

Yes, it was a version problem.

For anyone else who experiences the following error using ATRPMS repo for dovecot:

May 6 17:12:31 drizzle dovecot: dovecot: Created login processes successfully, unstalling
May 6 17:12:31 drizzle dovecot: managesieve-login: Fatal: Dovecot version mismatch: Master is v1.2.11, login is v1.2.10 (if you don't care, set version_ignore=yes)
May 6 17:12:31 drizzle last message repeated 2 times
May 6 17:12:31 drizzle dovecot: dovecot: Temporary failure in creating login processes, slowing down for now


Here are the steps to correct:
# yum install dovecot-devel dovecot-sieve-devel
# wget http://dl.atrpms.net/all/dovecot-managesieve-0.11.11-0_4.src.rpm
# rpmbuild --rebuild dovecot-managesieve-0.11.11-0_4.src.rpm
# yum remove dovecot-managesieve
!! yum upgrade will not work because atrpms package is same version, so remove it.
# cd /usr/src/redhat/RPMS/x86_64
# yum --nogpgcheck install dovecot-managesieve-0.11.11-0_4.x86_64.rpm
# service dovecot restart


RE: [HowTo] Replace courier with dovecot - bodysplit - 05-11-2010 05:51 AM

To me, Fedora's EPEL-backports repository worked fine.


RE: [HowTo] Replace courier with dovecot - chani - 08-14-2010 05:00 PM

imap/pop3 traffic-accounting not working after switching to dovecot?


RE: [HowTo] Replace courier with dovecot - aseques - 08-16-2010 10:17 PM

(08-14-2010 05:00 PM)chani Wrote:  imap/pop3 traffic-accounting not working after switching to dovecot?

It should work with no problems, at least for POP3, about imap you should have a look at here, there is a pending patch, that behaves properly.
http://isp-control.net/forum/thread-10714-post-81562.html#pid815623


RE: [HowTo] Replace courier with dovecot - Mazga - 09-10-2010 11:58 PM

Another small issue for people who are not so familar with linux, after replace of Courier with Dovecot everything works fine until the first reboot - on debian hosts dovecot isnt started automatically so you have to run
8. Start services
/etc/init.d/dovecot start
/etc/init.d/postfix restart

maybe you can put this info into the wiki
regards Martin


RE: [HowTo] Replace courier with dovecot - aseques - 09-14-2010 06:57 PM

(09-10-2010 11:58 PM)Mazga Wrote:  Another small issue for people who are not so familar with linux, after replace of Courier with Dovecot everything works fine until the first reboot - on debian hosts dovecot isnt started automatically so you have to run
8. Start services
/etc/init.d/dovecot start
/etc/init.d/postfix restart

maybe you can put this info into the wiki
regards Martin
Dovecot is definitively started automatically on any standard install. You should check that there are the appropiate links in /etc/rcX.d in your case.