It doesn't usually give me much trouble but at the moment I am having a bit of strangeness with my media server which uses postfix to send out various alerts etc.
My main.cf is below and /etc/mailname is digimatic.co.uk
It all seems to work well except it is ignoring .forward files in the user home folders, i.e I have a user 'francis' who has his own email address in the .forward but if I mail 'francis' it gets routed to francis@digimatic.co.uk rather than the address in his forward file. Similarly I tried a .forward in my own home dir of info@digimatic.co.uk but the mail to me still goes to my username wstallwood@digimatic.co.uk
myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no
append_dot_mydomain = no
#delay_warning_time = 4h
# TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = myhostname = localhost.localdomain alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = localhost.localdomain, localhost relayhost = mail.digimatic.co.uk mynetworks = 127.0.0.0/8 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all message_size_limit = 10240000