I recently installed postfix, among other programs, and have been configuring it. POP3 and IMAP are working just fine, but postfix seems to fail:
# telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
ehlo localhost
Not only does this render PuTTY unusable (server doesn't respond to any commands), but I also checked syslog
and this is what I found:
postfix/smtpd[7248]: fatal: open database /etc/postfix/controlled_envelope_senders.db: No such file or directory
postfix/master[1582]: warning: process /usr/lib/postfix/smtpd pid 7248 exit status 1
postfix/master[1582]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
This sequence seems to be endlessly repeating.
So, what should I do to make sure postfix works properly?