Thursday, July 7, 2016

sendmail doesn't send emails to own domains

If domain is my-domain.com, in /etc/postfix/main.cf, change:

mydestination = my-domain.com, localhost, localhost.localdomain
instead of
mydestination = localhost, localhost.localdomain, localhost

service postfix restart

No comments:

Post a Comment