Hi,
I get this when I check a smtp server: Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Other smtp servers are working fine. This is the smtp server of the ISP.
How can I find out what the exact conversation is between my hobbit server and the smtp server ?
Stef
On Thu, Dec 01, 2005 at 10:12:14AM, Stef Coene wrote:
Hi,
I get this when I check a smtp server: Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Telnet to port 25 of the smtp server
Other smtp servers are working fine. This is the smtp server of the ISP.
How can I find out what the exact conversation is between my hobbit server and the smtp server ?
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
On Thursday 01 December 2005 10:15, Asif Iqbal wrote:
On Thu, Dec 01, 2005 at 10:12:14AM, Stef Coene wrote:
Hi,
I get this when I check a smtp server: Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Telnet to port 25 of the smtp server Please read the full post ...........
Other smtp servers are working fine. This is the smtp server of the ISP.
How can I find out what the exact conversation is between my hobbit server and the smtp server ?
Stef
Stef Coene a écrit :
Hi,
I get this when I check a smtp server: Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Other smtp servers are working fine. This is the smtp server of the ISP.
How can I find out what the exact conversation is between my hobbit server and the smtp server ?
Hi Stef
the default SMTP test sequence is in ~server/etc/bb-services :
[smtp] send "mail\r\nquit\r\n" expect "220" options banner port 25
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
On Thursday 01 December 2005 10:22, Frédéric Mangeant wrote:
Stef Coene a écrit :
Hi,
I get this when I check a smtp server: Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Other smtp servers are working fine. This is the smtp server of the ISP.
How can I find out what the exact conversation is between my hobbit server and the smtp server ?
Hi Stef
the default SMTP test sequence is in ~server/etc/bb-services :
[smtp] send "mail\r\nquit\r\n" expect "220" options banner port 25 I know, but that does not help me. Connecting to port 25 of the telnet server is working. The commands mail and quit are giving an error on all smtp servers I tried. Even on the ones that are green in hobbit. I just want to know if I can find out exactly what's the communication between the smtp server and the hobbit server so I can see what's going wrong.
Stef
Perhaps the mailserver neeed a Helo/ehlo first?
This is what I have in my bb.services:
[smtp] send "ehlo\r\nquit\r\n" expect "220" options banner port 25
Regards Lars
----- Original Message ----- From: "Stef Coene" <stef.coene at docum.org> To: <hobbit at hswn.dk> Sent: Thursday, December 01, 2005 10:12 AM Subject: [hobbit] smtp check
Hi,
I get this when I check a smtp server: Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Other smtp servers are working fine. This is the smtp server of the ISP.
How can I find out what the exact conversation is between my hobbit server and the smtp server ?
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This is what the conversation looks like when I run telnet:
telnet xxx.xxx.xxx.xxx 25
Trying... Connected to xxx.xxx.xxx.xxx. Escape character is 'ÜÅ'. ehlo 220-Welcome to mailserver.domain.tld 220 mailserver.domain.tld (NT0234.04.fdc0aadd) ready for ESMTP transfer 501 Hostname expected. quit 221 Goodbye Ä62.119.162.107Å Connection closed by foreign host.
Regards Lars
----- Original Message ----- From: "lars ebeling" <lars.ebeling at leopg9.no-ip.org> To: <hobbit at hswn.dk> Sent: Thursday, December 01, 2005 1:34 PM Subject: Re: [hobbit] smtp check
Perhaps the mailserver neeed a Helo/ehlo first?
This is what I have in my bb.services:
[smtp] send "ehlo\r\nquit\r\n" expect "220" options banner port 25
Regards Lars
----- Original Message ----- From: "Stef Coene" <stef.coene at docum.org> To: <hobbit at hswn.dk> Sent: Thursday, December 01, 2005 10:12 AM Subject: [hobbit] smtp check
Hi,
I get this when I check a smtp server: Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Other smtp servers are working fine. This is the smtp server of the ISP.
How can I find out what the exact conversation is between my hobbit server and the smtp server ?
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thursday 01 December 2005 13:51, lars ebeling wrote:
This is what the conversation looks like when I run telnet:
telnet xxx.xxx.xxx.xxx 25
Trying... Connected to xxx.xxx.xxx.xxx. Escape character is 'ÜÅ'. ehlo 220-Welcome to mailserver.domain.tld 220 mailserver.domain.tld (NT0234.04.fdc0aadd) ready for ESMTP transfer 501 Hostname expected. quit 221 Goodbye Ä62.119.162.107Å Connection closed by foreign host. This is my "conversation":
Trying 195.86.128.62... Connected to mail1.enrtd.nl.easynet.net. Escape character is '^]'. 220 SMTP ehlo 250-Requested mail action okay, completed 250-SIZE 5242880 250 HELP
As you can see, the mail server returns 250 and not 220. Also, it takes a few seconds before the 220 SMTP appears. Maybe hobbit is too fast ??
Stef
On Thursday 01 December 2005 13:34, lars ebeling wrote:
Perhaps the mailserver neeed a Helo/ehlo first?
This is what I have in my bb.services:
[smtp] send "ehlo\r\nquit\r\n" expect "220" options banner port 25
This time I get an other error:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.013304, totaltime=1.204438, banner='554 SMTP synchronization error' (32 bytes)
Remember, this was the "old" error:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Stef
On Thu, Dec 01, 2005 at 01:52:57PM +0100, Stef Coene wrote:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.013304, totaltime=1.204438, banner='554 SMTP synchronization error' (32 bytes)
Remember, this was the "old" error:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Most likely, it complains because Hobbit fires off SMTP commands before waiting for the SMTP server's greeting. Technically, this is in violation of the SMTP protocol, and some newer servers complain about this.
Try removing the "send" part from the [smtp] section in ~hobbit/server/etc/bb-services
Henrik
On Thursday 01 December 2005 13:59, Henrik Stoerner wrote:
On Thu, Dec 01, 2005 at 01:52:57PM +0100, Stef Coene wrote:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.013304, totaltime=1.204438, banner='554 SMTP synchronization error' (32 bytes)
Remember, this was the "old" error:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Most likely, it complains because Hobbit fires off SMTP commands before waiting for the SMTP server's greeting. Technically, this is in violation of the SMTP protocol, and some newer servers complain about this.
Try removing the "send" part from the [smtp] section in ~hobbit/server/etc/bb-services That's working. But isn't that the same as just a port check ?
Stef
If you get the
220 SMTP
back, that means that the mailserver on the other side is running.
Lars
----- Original Message ----- From: "Stef Coene" <stef.coene at docum.org> To: <hobbit at hswn.dk> Sent: Thursday, December 01, 2005 2:41 PM Subject: Re: [hobbit] smtp check
On Thursday 01 December 2005 13:59, Henrik Stoerner wrote:
On Thu, Dec 01, 2005 at 01:52:57PM +0100, Stef Coene wrote:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.013304, totaltime=1.204438, banner='554 SMTP synchronization error' (32 bytes)
Remember, this was the "old" error:
Address=195.86.128.62:25, open=1, res=0, err=0, connecttime=0.002863, totaltime=1.153169, banner='501 Syntax error in parameters or arguments ' (45 bytes)
Most likely, it complains because Hobbit fires off SMTP commands before waiting for the SMTP server's greeting. Technically, this is in violation of the SMTP protocol, and some newer servers complain about this.
Try removing the "send" part from the [smtp] section in ~hobbit/server/etc/bb-services That's working. But isn't that the same as just a port check ?
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thursday 01 December 2005 15:27, lars ebeling wrote:
If you get the
220 SMTP
back, that means that the mailserver on the other side is running. I get it back manually, but hobbit still report this service with an error. Is it possible that hobbit is too fast in sending the commands for the server?
If I check it manually, I have to wait some time before I get a reponse from the server. Is there a timeout value I can specify so hobbit waits some seconds before issuing a command to the smtp server?
Stef
On Thu, Dec 01, 2005 at 03:57:02PM +0100, Stef Coene wrote:
If I check it manually, I have to wait some time before I get a reponse from the server. Is there a timeout value I can specify so hobbit waits some seconds before issuing a command to the smtp server?
No. Ideally, you would configure a series of "expect-send" strings, and have Hobbit wait for one string before sending the next. That would require some restructuring of the network tester, though.
Henrik
You are probably right, but I don't know about any parameter to specify a timeout in this case .
Lars ----- Original Message ----- From: "Stef Coene" <stef.coene at docum.org> To: <hobbit at hswn.dk> Sent: Thursday, December 01, 2005 3:57 PM Subject: Re: [hobbit] smtp check
On Thursday 01 December 2005 15:27, lars ebeling wrote:
If you get the
220 SMTP
back, that means that the mailserver on the other side is running. I get it back manually, but hobbit still report this service with an error. Is it possible that hobbit is too fast in sending the commands for the server? If I check it manually, I have to wait some time before I get a reponse from the server. Is there a timeout value I can specify so hobbit waits some seconds before issuing a command to the smtp server?
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thu, Dec 01, 2005 at 02:41:32PM +0100, Stef Coene wrote:
On Thursday 01 December 2005 13:59, Henrik Stoerner wrote:
Most likely, it complains because Hobbit fires off SMTP commands before waiting for the SMTP server's greeting. Technically, this is in violation of the SMTP protocol, and some newer servers complain about this.
Try removing the "send" part from the [smtp] section in ~hobbit/server/etc/bb-services
That's working. But isn't that the same as just a port check ?
No. If you just remove the "send" bit, Hobbit will still use the "expect" definition and check that the SMTP server sends back a "220" OK-message that it is ready.
The only reason Hobbit sends the "MAIL\r\nQUIT\r\n" string is because sendmail complains if you connect to it, but don't send anything.
Henrik
participants (5)
-
frederic.mangeant@steria.com
-
henrik@hswn.dk
-
iqbala-hobbit@qwestip.net
-
lars.ebeling@leopg9.no-ip.org
-
stef.coene@docum.org