Configuration: RHEL 5.6 / Postfix 2.3.3.-2.1
Usage: This server is only to be used to send mail from internal monitoring station to other external email servers.
Strange: My internet connection will not let me send email utilizing the FQDN as it will timeout even after it resolves the correct IP. However if I use just the IP it will work fine.
Not working example: telnet mail.xyzdomain.com 25
Working example: telnet 1.2.3.4 25
Question #1. Is there a way to force postfix or sendmail to only use the IP to send the mail via port 25?
Question #2. I have a openBSD box configured that is obsolete but working fine with Postfix when I send email I receive the following in /var/log/maillog:
Jul 25 00:49:10 smtp01 postfix/smtp[3897]: 7B7D578B16: to=<xyz@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.113.27]:25, delay=22, delays=18/0.09/3.2/0.38, dsn=2.0.0, status=sent (250 2.0.0 OK 1311529737 ea6si1246592vdb.109)
When I send utilizing the RHEL 5.6 server I recieve the following in /var/log/maillog:
Jul 24 22:40:39 smtp02 postfix/smtp[4597]: 8EA941178EC: to=<xyz@gmail.com>, relay=none, delay=300, delays=195/0.02/105/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.65.27]: Connection timed out)
My question is how to I get rid of the relay=none in the RHEL example to look like the openBSD example?