LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-30-2005, 09:00 AM   #1
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Rep: Reputation: 0
Question Exim4 SMTP command timeout (some servers)


Hi yall,

I seem to be having a problem receiving mail from some servers, hotmail, outblaze (ie the mail.com stable of site and dbzmail) and a few others. Sending to anywhere I've tested works fine, receiving from most places works fine (gmail + 2 isps) Here is the debug output from exim

Code:
11160 Connection request from 205.158.62.120 port 54751
11160 search_tidyup called
11160 1 SMTP accept process running
11160 Listening...
11175 host in rfc1413_hosts? yes (matched "*")
11175 doing ident callback
11175 ident connection to 205.158.62.120 failed: Connection timed out
11175 sender_fullhost = [205.158.62.120]
11175 sender_rcvhost = [205.158.62.120]
11175 Process 11175 is handling incoming connection from [205.158.62.120]
11175 host in host_lookup? yes (matched "*")
11175 looking up host name for 205.158.62.120
11175 DNS lookup of 120.62.158.205.in-addr.arpa (PTR) succeeded
11175 IP address lookup yielded fallback.us4.outblaze.com
11175 gethostbyname2(af=inet6) returned 4 (NO_DATA)
11175 gethostbyname2 looked up these IP addresses:
11175   name=fallback.us4.outblaze.com address=205.158.62.120
11175 checking addresses for fallback.us4.outblaze.com
11175   205.158.62.120 OK
11175 sender_fullhost = fallback.us4.outblaze.com [205.158.62.120]
11175 sender_rcvhost = fallback.us4.outblaze.com ([205.158.62.120])
11175 set_process_info: 11175 handling incoming connection from fallback.us4.outblaze.com [205.158.62.120]
11175 host in host_reject_connection? no (option unset)
11175 host in sender_unqualified_hosts? no (option unset)
11175 host in recipient_unqualified_hosts? no (option unset)
11175 host in helo_verify_hosts? no (option unset)
11175 host in helo_try_verify_hosts? no (option unset)
11175 host in helo_accept_junk_hosts? no (option unset)
11175 SMTP>> 220 mail.krwdigital.com ESMTP Exim 4.44 Wed, 30 Mar 2005 22:13:24 +1000
11175 Process 11175 is ready for new message
11175 smtp_setup_msg entered
At this point it waits for HELO/EHLO until eventually (after 5 minute default timeout)

Code:
11175 LOG: lost_incoming_connection MAIN
11175   SMTP command timeout on connection from fallback.us4.outblaze.com [205.158.62.120]
11175 SMTP>> 421 mail.krwdigital.com: SMTP command timeout - closing connection
11175 search_tidyup called
11175 >>>>>>>>>>>>>>>> Exim pid=11175 terminating with rc=1 >>>>>>>>>>>>>>>>
setup notes:
Debian 3.1 (testing)
Exim 4.44 (exim4-daemon-heavy 4.44-2)
ADSL router port forwards port 25 to host on internal network

Hope someone can help...

Thanks

Kurt
(if you feel like it, send me a message lqtest(at)krwdigital(dot)com - see how it goes/how bad the problem actually is)
 
Old 03-30-2005, 02:06 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
I can't recall clearly enough, but check your rfc1413_query_timeout value...I had a problem similar to that, but it was only from one particular Solaris box with a hand build of sendmail...this may or may not help.
 
Old 03-30-2005, 02:54 PM   #3
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks Technoslave,

I already have this value set to 15 seconds (revised down from the default 30s). The logs (posted) show that the rfc1413 lookup times out well before exim announces itself as ready.

Strangely however, 2 messages got through from outblaze in the 5 hours since I originally posted (though still others fail) I'm going to revise the default timeout value up from 5 to 15 mins. See how that goes.

I'm still taking suggestions.

Kurt
 
Old 03-31-2005, 06:41 AM   #4
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Original Poster
Rep: Reputation: 0
Ok ramping up the time out values didn't help. I read that this might be cause MTU discovery packets not getting to the mail server via the router, I'll try read up about it - anyone got any advice

(I -really- need to get this problem sorted and I will be _very_ appreciative of any help)
 
Old 03-31-2005, 10:24 AM   #5
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
I set my timeout value to 5s I think. At one point I went ahead and set the value to 0s. And my rfc1413_hosts = *

Dont' know about the MTU though.

I take it you already went to the exim website and looked through the extensive FAQs?
 
Old 03-31-2005, 07:51 PM   #6
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Original Poster
Rep: Reputation: 0
I've looked through the faqs, the question that relates to my problem (SMTP Command Timeout) tells me that its not my problem - but since hotmail, outblaze etc work for everyone else, i suspect that it is my problem.
 
Old 04-01-2005, 08:38 AM   #7
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
I may just be beating on the wrong horse, but the problem I had was with a buddy using a Solaris box and sendmail on there and I had what I vaguely recall to be the same problem. Have you tried setting your rfc to 0s, restarting exim and seeing if you get the same problem?
 
Old 04-20-2005, 08:13 AM   #8
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Original Poster
Rep: Reputation: 0
Technoslave - as it turns out you were beating exactly the right horse.

i know its been a long time between posts but for some strange reason, which is unclear to me now, i didn't want to set the rfc1413 to zero. After receiving similar advice from someone else I thought I'd try it.

I am ever grateful for you help

Kurt
 
  


Reply



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
Setting up smtp authentication for exim4 explorer1979 Debian 2 02-21-2006 08:29 AM
POP3 and SMTP Servers fakie_flip Linux - Networking 1 09-20-2005 11:42 AM
exim4 SMTP client authentication: help! Peff Debian 1 08-05-2005 10:43 PM
Debian Exim4 SMTP Auth TLS? shaun_bakker Linux - Software 1 06-30-2005 11:04 AM
smtp timeout medrew Linux - Software 7 04-09-2003 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:26 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