Trying to understand why mail is not being sent ?
[For Sendmail]
If your tail -f /var/log/maillog logs are showing something like this:
Aug 30 22:43:06 netman sendmail[8100]: starting daemon (8.14.4): SMTP+queueing@01:00:00 Aug 30 22:43:06 netman sm-msp-queue[8109]: starting daemon (8.14.4): queueing@01:00:00 Aug 30 22:43:11 netman sendmail[8102]: q7SIq1Kk011256: to=<david.saliba@jial.com>, ctladdr=<root@netman.lan> (0/0), delay=2+04:51:10, xdelay=00:00:05, mailer=esmtp, pri=3720580, relay=alt4.jial-smtp-in.l.gogglee.com. [XX.125.142.26], dsn=4.0.0, stat=Deferred: alt4.jial-smtp-in.l.googglee.com.: No route to host
Try telnet-ing to the IP [XX.125.142.26] on port 25:
telnet XX.125.142.26 25
[root@netman ~]# telnet 74.125.142.27 25 Trying 74.125.142.27... telnet: connect to address 74.125.142.27: No route to host [root@netman ~]#
Check here to see if your server is blacklisted using this site:
http://www.mxtoolbox.com/blacklists.aspx
There all you need to do is enter your external IP address and see if that is the issue.
If not remember if you are using dynamically assigned IPs there is a good chance that’s the issue try relaying through another server.