Current time: 11-26-2024, 03:10 AM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] Replace courier with dovecot
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #28
RE: [HowTo] Replace courier with dovecot
(02-18-2010 06:59 PM)dexter1983 Wrote:  This appear on /var/log/mail.log

Feb 18 02:22:26 web postfix/trivial-rewrite[2885]: warning: do not list domain domain.tld in BOTH mydestination and virtual_mailbox_domains
You should also fix this. It should be:
Code:
mydestination                = $myhostname, $mydomain
Where
Code:
myhostname                   = "your hostname here"
mydomain                     = "your hostname here".local
...
virtual_mailbox_domains      = hash:/etc/postfix/ispcp/domains

Quote:Feb 18 03:11:11 web dovecot: auth-worker(default): sql(office@domain.tld,127.0.0.1): User query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(mail_type='normal_mail' OR mail_type='normal_mail,normal_forward')' at line 1
Do you have in /etc/dovecot/dovecot-sql-domain.conf this query? Some time ago there was a mistake in the wiki and we where not checking properly the domain.
Code:
user_query = SELECT concat('/var/mail/virtual/', domain.domain_name, '/',mail_acc) as home, '1001' as uid, '8' as gid FROM mail_users inner join domain on mail_users.domain_id = domain.domain_id WHERE mail_acc='%n' and domain.domain_name='%d' and (mail_type='normal_mail' OR mail_type='normal_mail,normal_forward');



Also there's something wrong with postgrey:
Quote:Feb 18 03:18:28 web postgrey[2183]: 2010/02/18-03:18:28 Server closing!
Feb 18 03:18:28 web postgrey[2183]: Couldn't unlink "/var/run/postgrey.pid" [Permission denied]
Feb 18 03:18:28 web postfix/master[2245]: terminating on signal 15
Feb 18 03:18:32 web postfix/policyd-weight[2149]: cache killed
Feb 18 03:18:32 web postfix/policyd-weight[2148]: master: child 2149 exited
Feb 18 03:18:32 web postfix/policyd-weight[2487]: warning: Got SIGPIPE. Child 2487 terminated.
Feb 18 03:18:32 web postfix/policyd-weight[2487]: warning: child: err: Died at /usr/sbin/policyd-weight line 1311.#012
Feb 18 03:18:32 web postfix/policyd-weight[2487]: warning: Got SIGPIPE. Child 2487 terminated.
Feb 18 03:18:32 web dovecot: Killed with signal 15
Maybe you should bypass it at the moment commeting the line in postfix main.cf.
02-18-2010 07:18 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [HowTo] Replace courier with dovecot - aseques - 02-18-2010 07:18 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)