centos - postfix delivers mail for support@domain to root's mailbox -
i'm trying new postfix setup. tried few tutorials, whatever do, mail sent support@mydomain.com , info@mydomain.com delivered root. other recipients fine.
the os centos 6.9 minimal setup. (dedicated server @ hetzner)
i gave up.
/etc/postfix/aliases
root@mydomain.com support postmaster@mydomain.com support
/etc/postfix/main.cf
myhostname = realhostname mydomain = realdomain.com myorigin = $mydomain home_mailbox = maildir/ mynetworks = 127.0.0.0/8 inet_interfaces = mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain smtpd_sasl_auth_enable = yes smtpd_sasl_type = cyrus smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_tls_auth_only = no smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_cafile = /etc/postfix/ssl/cacert.pem smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom mailbox_command = virtual_alias_maps = hash:/etc/postfix/virtual
/var/log/maillog
aug 18 12:44:44 allfortips postfix/local[3409]: ac9f63600a7: to=<root@mydomain.com>, orig_to=<support@mydomain.com>, relay=local, delay=0.13, delays=0.13/0/0/0, dsn=2.0.0, status=sent (delivered maildir)
what can check see why happens?
edit: noticed info@ has same problem.
don't forget check /etc/aliases don't!
after editing file, run newaliases
Comments
Post a Comment