[milters] Archive

Lists Index Date Thread Search

Article: 3339
From: Sascha Klauder
Date: 2013-01-23 11:08:44 -0500
Subject: Re: milter-ahead not calling ahead on non-standard port

On Wed, 2013-01-23 08:47 -0500, Anthony Howe wrote:
> You have not stated which versions of libsnert and milter-ahead.

Sorry, my bad.  I'm running


> 	verbose=info,dialog,parse
> You should see a log line
> 	"trying to connect to host %s...
> which will report the string format used for socketOpenClient(). I'd

Interesting, now it rather seems it doesn't connect to
the target host at all, I only get these messages:

milter-ahead[4466]: 00073 r0NF0FhQ078835: address='sascha@trimind.de' localleft='sascha'
localright='' domain='trimind.de' auth='(NULL)'
milter-ahead[4466]: 00073 r0NF0FhQ078835: sender=<sascha@trimind.de> access=M
skipConnection=0 skipMessage=0
milter-ahead[4466]: 00073 r0NF0FhQ078835: address='foobar@customer-domain.de'
localleft='foobar' localright='' domain='customer-domain.de'
milter-ahead[4466]: 00073 r0NF0FhQ078835: recipient=<foobar@customer-domain.de>
access=M skipConnection=0 skipRecipient=0

and nothing else.  All recipient addresses are accepted
by sendmail.

> like to know the value reported. The [ip.address.of.customer]:8825
> syntax should work. socketOpenClient() should use the port from the
> rcpt_host string parsed from the call-ahead-db, over the default port.

When removing the ':8825' part from call-ahead-db.txt, I
additionally get:

milter-ahead[4466]: 00073 r0NFiuIJ005756: contacting server [ip.address.of.customer] for
milter-ahead[4466]: 00073 r0NFiuIJ005756: trying to connect to host

and in the network trace, there's a connection attempt to
the target host on port 25.


Lists Index Date Thread Search