Re: [exim] Synchronisation error

Top Page
Delete this message
Reply to this message
Author: Chris Lightfoot
Date:  
To: Johann Spies, exim-users
Subject: Re: [exim] Synchronisation error
On Tue, Jan 16, 2007 at 04:07:01PM +0200, Johann Spies wrote:
> On Tue, Jan 16, 2007 at 01:56:47PM +0000, Chris Lightfoot wrote:
> > On Tue, Jan 16, 2007 at 03:44:45PM +0200, Johann Spies wrote:
> >     [...]
> > > I hope this will solve the problem. I will probably know by tomorrow.

> >
> > It's really easy to check -- try something like, (all one
> > long line)
> >
> >     perl -MIO::Socket -e '$s = new IO::Socket::INET("localhost:25"); $s->print("HELO test\r\n"); print $s->getline();'

> >
> > -- and see whether you get a 554 or a 250. Then change the
> > ACL and see if it changes.
>
> Thanks. My knowledge of perl is not enough to know why this would cause a
> synchronization error (which is what I get).
>
> The real test must be done from the other machine mentioned in the ACL
> and I do not have access to it.


try from localhost, then add 127.0.0.1 to the list of
exceptions in the ACL and try again.


btw, it's not so much perl knowledge as SMTP knowledge
that's relevant -- the point is that the above sends its
HELO immediately after connecting, rather than after
receiving the banner, which is the synchronisation error
you're seeing. Thinking about it it's actually simpler to
do with netcat, at least if your echo supports -e:

    $ echo -ne "HELO localhost\r\n" | nc localhost 25
    554 SMTP synchronization error


--
viral marketing doesn't work... tell everyone you know