Jonathan Gazeley:
> I've been running a postfix server on CentOS 5 for a while with no 
> problem. I set up a new CentOS 6 box with postfix, and basically 
> transplanted my configs across to the new one. The service starts, but 
> doesn't work properly: it doesn't accept email on 25 or 587 (TLS), but 
> instead this appears in the maillog:
> 
> Jul 25 17:12:43 helios postfix/smtpd[14436]: fatal: open database 
> /etc/postfix/virtual.db: No such file or directory
> Jul 25 17:12:44 helios postfix/master[14239]: warning: process 
> /usr/libexec/postfix/smtpd pid 14436 exit status 1
> Jul 25 17:12:44 helios postfix/master[14239]: warning: 
> /usr/libexec/postfix/smtpd: bad command startup -- throttling
> 
> 
> I do have a virtual.db, though. I deleted all my *.db and recreated them 
> with postmap to ensure they were OK. The ownership and perms seem OK:
> 
> [root@helios postfix]# ls -la virtual.db
> -rw-r--r--. 1 root mail 12288 Jul 25 17:05 virtual.db
> 
> SELinux is disabled on this system, so it's not an obscure issue with 
> security contexts and mislabelling.
> 
> Am I missing something?

Try turning off chroot. It is a magic cure for mysterious errors.

http://www.postfix.org/DEBUG_README.html#no_chroot

        Wietse

Reply via email to