[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-1421.html) |
RE: [HowTo] Replace courier with dovecot - rbtux - 10-01-2007 04:00 AM thx @ joximu ;-) please test also the avelsieve howto... this should work now too RE: [HowTo] Replace courier with dovecot - BeNe - 10-01-2007 04:34 PM I started to test it on my new Server. But i have a Permission Error: Code: Oct 1 06:23:03 vs24 dovecot: chdir(/var/mail/virtual/my-domain.tld/bene) failed with uid 1001: Permission denied I created the Mailboxes AFTER the install, so this could not be a migration Error. Here the two users: Code: drwxr-xr-x 9 vmail mail 4096 Sep 30 13:38 bene Greez BeNe RE: [HowTo] Replace courier with dovecot - rbtux - 10-01-2007 04:36 PM what is the id of the vmail user and the gid of the mail group? RE: [HowTo] Replace courier with dovecot - rbtux - 10-01-2007 04:47 PM i can't reproduce the error now... i haven't access to a installed ispcp server before evening... But I think your vmail user has an id different than 1001... If thats true you have to change the uid part in the files /etc/dovecot/dovecot-sql-{subdomain,domain}.conf RE: [HowTo] Replace courier with dovecot - BeNe - 10-01-2007 05:26 PM You are right. The UID in the passwd is wrong: Code: vmail:x:65002:8:vmail-user:/home/vmail:/bin/false I changed the vmail user back to 1001 like this: Code: vmail:x:1001:8:vmail-user:/home/vmail:/bin/false Code: mail:!:8:dovecot But get the same Error. Greez BeNe RE: [HowTo] Replace courier with dovecot - rbtux - 10-01-2007 05:29 PM BeNe Wrote:But get the same Error. have you applied the new rights to the filesystem (filesystem stores uid not username!) chown -R vmail:mail /var/mail/virtual RE: [HowTo] Replace courier with dovecot - rbtux - 10-01-2007 05:30 PM [quote=BeNe] You are right. The UID in the passwd is wrong: Code: vmail:x:65002:8:vmail-user:/home/vmail:/bin/false [/code] you could alter the sql files to the uid 65002 when the directories have this permissions... RE: [HowTo] Replace courier with dovecot - BeNe - 10-01-2007 05:55 PM Ok, thanks! I have it Greez BeNe RE: [HowTo] Replace courier with dovecot - rbtux - 10-01-2007 05:59 PM updated howto RE: [HowTo] Replace courier with dovecot - jmeyerdo - 10-24-2007 06:10 PM Hello! I found this howto yesterday and read the howto and the forum-thread in detail. Great concept! If I understand the config-files correctly dovecot is using the mysql-records for emails directly? But postfix is still using the alias-configurationfiles, isn't it? I would like to see a full database-driven mailhandling in the future. It should be no major problem to change the postfix-configuration to use mysql for mail-requests. What is your opinion about that: + easier generation of postboxes/aliases + less errors (?) + ??? - postfix-mysql must be compiled on several distros - ??? Kind regards, Jens |