Hello,
after new installation of Ubuntu 10.04LTS and Virtualmin I get fatal errors in /var/log/mail.err.
...
Nov 5 09:05:07 wiesel postfix/smtpd[30868]: fatal: open database /etc/postfix/virtual.db: No such file or directory
Nov 5 09:06:08 wiesel postfix/smtpd[30959]: fatal: open database /etc/postfix/virtual.db: No such file or directory
Nov 5 09:07:09 wiesel postfix/smtpd[30997]: fatal: open database /etc/postfix/virtual.db: No such file or directory
Nov 5 09:08:10 wiesel postfix/smtpd[30999]: fatal: open database /etc/postfix/virtual.db: No such file or directory
Nov 5 09:09:11 wiesel postfix/smtpd[31012]: fatal: open database /etc/postfix/virtual.db: No such file or directory
Nov 5 09:10:12 wiesel postfix/smtpd[31077]: fatal: open database /etc/postfix/virtual.db: No such file or directory
Nov 5 15:40:09 wiesel postfix/smtp[14250]: fatal: unknown service: smtp/tcp
Nov 5 15:49:25 wiesel postfix/smtp[14663]: fatal: unknown service: smtp/tcp
Nov 5 15:59:25 wiesel postfix/smtp[15284]: fatal: unknown service: smtp/tcp
Nov 5 16:19:25 wiesel postfix/smtp[15894]: fatal: unknown service: smtp/tcp
Nov 5 16:59:25 wiesel postfix/smtp[17389]: fatal: unknown service: smtp/tcp
Nov 5 18:09:25 wiesel postfix/smtp[19813]: fatal: unknown service: smtp/tcp
Nov 5 19:19:25 wiesel postfix/smtp[22147]: fatal: unknown service: smtp/tcp
I found the following hint: http://www.seaglass.com/postfix/faq.html#eruksvc and checked the directory /var/spool/postfix/etc/
. It is empty.
Do you have any hints how to fix it?
Thanks in advance
Oliver
Comments
Submitted by andreychek on Fri, 11/05/2010 - 14:20 Comment #1
Howdy -- the first thing I'd try is to run "newaliases" to generate that aliases.db file it says it's missing.
After that, restart Postfix with "/etc/init.d/postfix restart". Once you do that, do you still see any errors?
Submitted by oliver.nautsch on Fri, 11/05/2010 - 15:11 Pro Licensee Comment #2
Files and Directories are present now in
/var/spool/postfix/etc/
. Sending and receiving is possible.Thanks for helping.
Oliver
PS.:I like the combination of this good peace of software "virtualmin" and your fast and competent support.
Submitted by andreychek on Fri, 11/05/2010 - 15:18 Comment #3
I'm glad to hear it's working!
We'll look into having "newaliases" automatically run, as it's apparently not always done automatically during Postfix installation.
Let us know if you have any other questions!