[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Re: 554 SMTP synchronization error



On Mon, May 29, 2006 at 09:30:07AM +0200, Dominique Frise wrote:
> Kolbjørn Barmen wrote:
> >>Maybe this has been discussed already but I can't find any relevant info.
> >>All our smtp tests sporadically report similar error:
> >>
> >>------------
> >>yellow  Wed May 17 14:37:21 2006 smtp NOT ok
> >>
> >>Service smtp on mailc is not OK : Unexpected service response
> >>
> >>
> >>554 SMTP synchronization error..
> >>
> 
> The bbnet-test is to fast!
> 
> Would it be possible to integrate a -configurable in bb-services- timeout 
> between the connexion established and the data sent by bbnet-test?

The correct solution is to modify the bbtest-net tool to obey the
SMTP protocol, which means waiting for the "220 ..." banner before
sending a QUIT command.

I am planning to rework this in a later version, but for now you can 
change the [smtp] section to just avoid sending any data. So in
bb-services it would be

[smtp]
    expect "220"
    options banner
    port 25


The only downside of this is that if you're running sendmail, it
will log a "NOQUEUE" error message each time Hobbit tests it.


Regards,
Henrik