Need help with getting postfix sendmail working

I recently installed postfix based on the beginner's guide found here:

http://library.linode.com/email/postfix … an-5-lenny">http://library.linode.com/email/postfix/gateway-debian-5-lenny

I'm running a wordpress install on LAMP with Debian 5.

The problem is that sendmail is failing. I checked the logs under /var/log/mail.err and it's showing the following errors:

Oct 16 23:27:50 simba postfix/smtpd[17468]: fatal: open database /etc/postfix/virtual.db: No such file or directory

Oct 16 23:28:48 simba postfix/cleanup[17472]: fatal: open database /etc/postfix/virtual.db: No such file or directory

Oct 16 23:28:51 simba postfix/smtpd[17474]: fatal: open database /etc/postfix/virtual.db: No such file or directory

Oct 16 23:29:49 simba postfix/cleanup[17487]: fatal: open database /etc/postfix/virtual.db: No such file or directory

Oct 16 23:29:52 simba postfix/smtpd[17488]: fatal: open database /etc/postfix/virtual.db: No such file or directory

Can anybody tell me what's wrong?

2 Replies

The file /etc/postfix/virtual.db (the virtual address mapping database) does not exist. Did you remember to run````
postmap /etc/postfix/virtual

````

after creating the /etc/postfix/virtual file?

That did the trick. Thank you!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct