Outgoing emails are staying in mail queue and the following error appears in
connect to alt2.gmail-smtp-in.l.google.com[126.96.36.199]:25: Connection timed out
BF8DD84260: to=, relay=none, delay=90, delays=0.03/0/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[188.8.131.52]:25: Connection timed out)
Postfix is not able to route emails through the domain IP (184.108.40.206), because it is not configured to work on this IP. It can be checked by trying to connect to the remote mail server from the domain IP:
telnet alt2.gmail-smtp-in.l.google.com 25 -b 220.127.116.11
Server firewall is blocking connection
Add the following value for
smtp_bind_address parameter in
# grep bind /etc/postfix/master.cf
18.104.22.168- unix - n n - - smtp -o smtp_bind_address=22.214.171.124 -o smtp_bind_address6= -o smtp_address_preference=ipv4
Additionally, please, check the article "How to configure the IP address for outgoing mail in Postfix" .
Since Plesk 12.0.18 it is possible to choose IP addresses for sending emails: Tools & Settings > Mail Server Settings > Outgoing mail mode > Send from the specified IP addresses
External IP can be specified instead of internal one.
If everythnig is configured in Postfix correctly, check server firewall using