LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-08-2009, 06:16 AM   #1
rasalp
LQ Newbie
 
Registered: May 2009
Posts: 13

Rep: Reputation: 0
Mail Resolution Problem


Hi everyone,

This is quite irritating problem started to through in our company.

User mails sent to oxfordjournals.org to should go through thier relay01 not to relay02. since the oxfordjournals relay02 has slower smtp we are receiving bounce back message some time.

Can any help me to make my smtp server to start handshake with relay01 server of oxfordjournals.

Please guide me to proceed.

please find my success and failure log of the same in maillog.

its a urgent issue at our end.

May 8 15:09:11 tnqdns2 postfix/smtp[1820]: DCBBA7080FC: to=<jnci@oxfordjournals.org>, relay=none, delay=34, status=deferred (connect to relay02.us.hub.oup.com[12.107.205.11]: server dropped connection without sending the initial SMTP greeting)
May 8 15:09:11 tnqdns2 postfix/smtp[1820]: DCBBA7080FC: to=<mark.geanacopoulos@oxfordjournals.org>, relay=none, delay=34, status=deferred (connect to relay02.us.hub.oup.com[12.107.205.11]: server dropped connection without sending the initial SMTP greeting)
May 8 15:14:46 tnqdns2 postfix/smtp[665]: 116DB708101: to=<camres@oxfordjournals.org>, relay=relay02.us.hub.oup.com[12.107.205.11], delay=32, status=sent (250 Requested mail action okay, completed)
May 8 15:28:29 tnqdns2 postfix/smtp[4159]: 1DF4F708101: to=<famprj@oxfordjournals.org>, relay=relay02.us.hub.oup.com[12.107.205.11], delay=32, status=sent (250 Requested mail action okay, completed)
May 8 15:33:23 tnqdns2 postfix/smtp[5857]: 0581D708101: to=<annonc@oxfordjournals.org>, relay=relay02.us.hub.oup.com[12.107.205.11], delay=54, status=sent (250 Requested mail action okay, completed)
 
Old 05-08-2009, 06:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

With sendmail this is done using the mailertable feature. As I'm not familiar with postfix, I had to do a little search and it seems that you have to use transport to route mail for a specific domain through a specific mail server.
 
Old 05-08-2009, 06:53 AM   #3
rasalp
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
thanks

Let me check that too now

Regards,
Rasal
 
Old 05-08-2009, 07:03 AM   #4
rasalp
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
can i add a /etc/hosts entry for the below will it resolve????

below got through dnslookup for oxfordjournals.org
relay01.uk.hub.oup.com 1 A 193.63.239.164 301s
relay02.us.hub.oup.com 1 A 12.107.205.11 1066s

please help

thanks in advance
Rasal.
 
Old 05-08-2009, 07:08 AM   #5
rasalp
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
i could see the below log for the relay01 is always fails to connect. this is because firewall is blocking.


May 8 17:17:48 tnqdns2 postfix/smtp[21224]: connect to relay01.uk.hub.oup.com[193.63.239.164]: Connection timed out (port 25)
May 8 17:28:23 tnqdns2 postfix/smtp[23663]: connect to relay01.uk.hub.oup.com[193.63.239.164]: Connection timed out (port 25)
May 8 17:34:19 tnqdns2 postfix/smtp[26548]: connect to relay01.uk.hub.oup.com[193.63.239.164]: Connection timed out (port 25)
May 8 17:34:33 tnqdns2 postfix/smtp[26595]: connect to relay01.uk.hub.oup.com[193.63.239.164]: Connection timed out (port 25)
 
Old 05-08-2009, 07:34 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
That explains why your mailserver uses relay02. Because according to dig results, relay01 is the preferred mail server for oxfordjournals.org:
Quote:
dig mx oxfordjournals.org

; <<>> DiG 9.6.0-P1 <<>> mx oxfordjournals.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10548
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;oxfordjournals.org. IN MX

;; ANSWER SECTION:
oxfordjournals.org. 3600 IN MX 10 relay01.uk.hub.oup.com.
oxfordjournals.org. 3600 IN MX 20 relay02.us.hub.oup.com.
Anyway since I can connect to port 25 of relay01, I guess it's a problem from your end.
 
Old 05-08-2009, 08:25 AM   #7
rasalp
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
thanks dude. i found out that our firewall blocks the 25 port to the server. since our outside firewall machine listens to relay01 25 port.

great it done the trick.

thanks very much
Rasalll
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail relaying problem, cannout mail from outside network using outlook andrewfeberwee Linux - Newbie 4 03-30-2009 07:12 PM
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 07:41 AM
Qmail problem: ISP mail and virtual mail, "sorry no mailbox, here by that user" barryw Linux - Networking 7 05-28-2005 12:43 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Strange mail problem, no errors, and no mail quincy56 Linux - Networking 4 09-07-2004 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration