LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help: Mail Issue (https://www.linuxquestions.org/questions/linux-newbie-8/help-mail-issue-4175459332/)

luisvidal 04-23-2013 02:42 PM

Help: Mail Issue
 
Having an issue with one of my SLES 10 sp3 servers. I am able to email within the company, but unable to email outside. Already checked with the network team, and no firewall is blocking mail from this data center. I tried emailing to my Gmail account, but never got the emails.

What steps do I need to take to troubleshoot this?

Kustom42 04-23-2013 03:39 PM

What do your maillogs say it is doing with the emails? Tail -f your mail log file while attempting to send one to see what is going on. Without that info its kind of hard to tell you where to start.

luisvidal 04-24-2013 11:21 AM

As I said above, email works fine when it is sent within the company, however, here is last few lines from /vat/log/mail when sending outside:

Apr 24 11:50:10 SERVER1 postfix/smtp[28951]: connect to alt1.gmail-smtp-in.l.google.com[173.194.75.26]:25: Connection refused
Apr 24 11:50:10 SERVER1 postfix/smtp[28951]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable
Apr 24 11:50:10 SERVER1 postfix/smtp[28951]: 79DAA84062: to=<my-email@gmail.com>, relay=none, delay=4722, delays=4717/0.03/5.4/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable)
Apr 24 12:00:05 SERVER1 postfix/qmgr[6867]: D3C6084060: from=<root@SERVER1.SITE.COMPANY.COM>, size=1538, nrcpt=4 (queue active)
Apr 24 12:00:05 SERVER1 postfix/qmgr[6867]: 0A83084064: from=<root@SERVER1.SITE.COMPANY.COM>, size=1113, nrcpt=4 (queue active)
Apr 24 12:00:05 SERVER1 postfix/qmgr[6867]: 4FDA88406C: from=<root@SERVER1.SITE.COMPANY.COM>, size=6804, nrcpt=4 (queue active)
Apr 24 12:00:05 SERVER1 postfix/smtp[10274]: connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused
Apr 24 12:00:05 SERVER1 postfix/smtp[10276]: connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused
Apr 24 12:00:05 SERVER1 postfix/smtp[10275]: connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused
Apr 24 12:00:06 SERVER1 postfix/smtp[10274]: D3C6084060: to=<vaultcsr@archivecorp.com>, relay=none, delay=17214, delays=17214/0.18/0.13/0, dsn=4.4.1, status=deferred (connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused)
Apr 24 12:00:06 SERVER1 postfix/smtp[10276]: 4FDA88406C: to=<vaultcsr@archivecorp.com>, relay=none, delay=17214, delays=17214/0.02/0.12/0, dsn=4.4.1, status=deferred (connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused)
Apr 24 12:00:06 SERVER1 postfix/smtp[10275]: 0A83084064: to=<vaultcsr@archivecorp.com>, relay=none, delay=17214, delays=17214/0.01/0.12/0, dsn=4.4.1, status=deferred (connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused)
Apr 24 12:00:06 SERVER1 postfix/smtp[10274]: D3C6084060: to=<vaultmain@archivecorp.com>, relay=none, delay=17214, delays=17214/0.18/0.13/0, dsn=4.4.1, status=deferred (connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused)
Apr 24 12:00:06 SERVER1 postfix/smtp[10275]: 0A83084064: to=<vaultmain@archivecorp.com>, relay=none, delay=17214, delays=17214/0.01/0.12/0, dsn=4.4.1, status=deferred (connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused)
Apr 24 12:00:06 SERVER1 postfix/smtp[10276]: 4FDA88406C: to=<vaultmain@archivecorp.com>, relay=none, delay=17214, delays=17214/0.02/0.12/0, dsn=4.4.1, status=deferred (connect to mail.archivecorp.com[71.101.204.50]:25: Connection refused)
Apr 24 12:12:48 SERVER1 postfix/pickup[20765]: D230C8406B: uid=0 from=<root>
Apr 24 12:12:48 SERVER1 postfix/cleanup[28521]: D230C8406B: message-id=<20130424161248.D230C8406B@SERVER1.SITE.COMPANY.COM>
Apr 24 12:12:48 SERVER1 postfix/qmgr[6867]: D230C8406B: from=<root@SERVER1.SITE.COMPANY.COM>, size=22758, nrcpt=1 (queue active)
Apr 24 12:12:49 SERVER1 postfix/smtp[28523]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4002:c04::1b]:25: Network is unreachable
Apr 24 12:12:49 SERVER1 postfix/smtp[28523]: connect to gmail-smtp-in.l.google.com[74.125.140.27]:25: Connection refused
Apr 24 12:12:49 SERVER1 postfix/smtp[28523]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400c:c03::1b]:25: Network is unreachable
Apr 24 12:12:49 SERVER1 postfix/smtp[28523]: connect to alt1.gmail-smtp-in.l.google.com[74.125.131.27]:25: Connection refused
Apr 24 12:12:49 SERVER1 postfix/smtp[28523]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c05::1a]:25: Network is unreachable
Apr 24 12:12:49 SERVER1 postfix/smtp[28523]: D230C8406B: to=<my-email@gmail.com>, relay=none, delay=1.4, delays=0.38/0.01/0.99/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400c:c05::1a]:25: Network is unreachable)

luisvidal 04-25-2013 01:29 PM

Solved the issue. I was missing the mail relay entry in my /etc/postfix/main.cf file.


All times are GMT -5. The time now is 01:06 PM.