PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > ESMTP connection timed out
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

ESMTP connection timed out

Réponse
 
LinkBack Outils de la discussion
Vieux 25/01/2007, 03h42   #1
* Tong *
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ESMTP connection timed out

Hi,

I get the "ESMTP connection timed out" error when trying to send email.
I'm wondering why:

$ sendmail -f test@email.addr -v
test@email.addr... Connecting to [127.0.0.1] port 587 via relay...
220 ;; ESMTP connection timed out; no servers could be reached Sendmail 8.13.8/8.13.8/Debian-3; Wed, 24 Jan 2007 23:21:21 -0500; (No UCE/UBE) logging access from: my.host.name(OK)-my.host.name [127.0.0.1]
>>> EHLO my.host.name

250-;; connection timed out; no servers could be reached Hello my.host.name [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
[...]
354 Enter mail, end with "." on a line by itself
>>> .

250 2.0.0 l0P4LLHX023711 Message accepted for delivery
test@email.addr... Sent (l0P4LLHX023711 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT

221 2.0.0 ;; connection timed out; no servers could be reached closing connection

In /var/log/mail.log:

Jan 24 23:21:21 myhost sm-mta[23713]: l0P4LLHX023711: to=<test@email.addr>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120408, relay=my.isp.com. [199.x.x.x], dsn=5.0.0, stat=Service unavailable
Jan 24 23:21:21 myhost sm-mta[23713]: l0P4LLHX023711: l0P4LLHX023713: DSN: Service unavailable
Jan 24 23:21:21 myhost sm-mta[23713]: l0P4LLHX023713: to=<test@email.addr>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31674, relay=my.isp.com., dsn=5.0.0, stat=Service unavailable

However, manually try the smtp connection works:

$ telnet my.isp.com 25
Connected to my.isp.com.
Escape character is '^]'.
220 smtp2.my.isp.net ESMTP Sendmail 8.13.1/8.12.11; Wed, 24 Jan 2007 23:28:01 -0500
helo another-web-site.org
250 smtp2.my.isp.net Hello node-9675.pppoe.my.isp.com [69.x.x.x], pleased to meet you
quit
221 2.0.0 smtp2.my.isp.net closing connection
Connection closed by foreign host.

So, what could be wrong?

thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sf.net/techdocs/
http://xpt.sf.net/tools/

--
Posted via a free Usenet account from http://www.teranews.com

  Réponse avec citation
Vieux 25/01/2007, 04h21   #2
* Tong *
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ESMTP connection timed out

On Thu, 25 Jan 2007 03:42:59 +0000, * Tong * wrote:

> I get the "ESMTP connection timed out" error when trying to send email.
> I'm wondering why:


everything was working fine several reboots ago...

--
Tong (remove underscore(s) to reply)
http://xpt.sf.net/techdocs/
http://xpt.sf.net/tools/

--
Posted via a free Usenet account from http://www.teranews.com

  Réponse avec citation
Vieux 25/01/2007, 06h53   #3
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ESMTP connection timed out

In article <45b82743$0$24383$88260bb3@free.teranews.com> * Tong *
<sun_tong_001@users.sourceforge.net> writes:

>I get the "ESMTP connection timed out" error when trying to send email.


Actually, no, you don't (and there is no such error msg in sendmail).

> $ sendmail -f test@email.addr -v
> test@email.addr... Connecting to [127.0.0.1] port 587 via relay...
> 220 ;; ESMTP connection timed out; no servers could be reached
>Sendmail 8.13.8/8.13.8/Debian-3; Wed, 24 Jan 2007 23:21:21 -0500; (No
>UCE/UBE) logging access from: my.host.name(OK)-my.host.name [127.0.0.1]
> >>> EHLO my.host.name

> 250-;; connection timed out; no servers could be reached Hello
>my.host.name [127.0.0.1], pleased to meet you


You seem to be a victim of the same broken "fulness" as described in
the (apparently misthreaded by google) thread at

http://groups.google.com/group/comp....95fe4c3569eed1

- i.e. some install script or whatever has "configured" your sendmail
with a *host name* of literally ";; connection timed out; no servers
could be reached"! This is actually an error message from the 'dig'
command - i.e. the script probably tries to use 'dig' to get the
fully-qualified host name, and blindly accepts any output from 'dig'.
The slightly different greeting comes from the fact that sendmail
inserts the "ESMTP" there as the second word, under the reasonable
assumption that the host name is a single word...

> 250 2.0.0 l0P4LLHX023711 Message accepted for delivery
> test@email.addr... Sent (l0P4LLHX023711 Message accepted for delivery)


So the submission went OK, despite the repeated "error messages".

>In /var/log/mail.log:
>
> Jan 24 23:21:21 myhost sm-mta[23713]: l0P4LLHX023711:
>to=<test@email.addr>, delay=00:00:00, xdelay=00:00:00, mailer=relay,
>pri=120408, relay=my.isp.com. [199.x.x.x], dsn=5.0.0, stat=Service
>unavailable


This occurs when the MTA relays your message to your smart host - the
sender should have received a bounce with a more detailed explanation
than "Service unavailable", but it's a good guess that the broken host
name makes the remote complain and reject the message, or the whole
transaction - e.g. it would result in a syntactically invalid HELO/EHLO
command for starters.

--Per Hedeland
per@hedeland.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h38.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12310 seconds with 11 queries