[CentOS] Not receiving mail

Mon Oct 18 21:08:37 UTC 2010
Dotan Cohen <dotancohen at gmail.com>

I see now, since the last postfix restart the log is filling up with these:

Oct 18 22:59:42 mercury postfix/smtpd[11318]: fatal: open database
/etc/aliases.db: No such file or directory
Oct 18 22:59:43 mercury postfix/master[7816]: warning: process
/usr/libexec/postfix/smtpd pid 11318 exit status 1
Oct 18 22:59:43 mercury postfix/master[7816]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling

The problem will probably reveal itself here, but I will need to do a
bit of googling to decipher it all. I admit that much of the
configuration was done with tutorials that I googled, with limited
understanding. That's how we learn!

[root at mercury ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command =
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
[root at mercury ~]#



To what must I change /etc/aliases.db? Which fine manual should I be reading?

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com