Edit /etc/postfix/main.cf and see for line;
myhostname =
Define;
myhostname = YOUR_SMTP_HOSTNAME.COM
Also make sure it YOUR_SMTP_HOSTNAME.COM is defined as first one (in case of multiple ones) to mydestination =
mydestination = YOUR_SMTP_HOSTNAME.COM server1-bla-bla.com
Finally restart Exim;
debian:~# /etc/init.d/postfix restart
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
More helpful Articles
Tags: Linux, mail transport agent, smtp