[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RBLs and TXT RRs



Hi!

On Thu, Nov 06, 2003 at 20:49 +0200, Matti Aarnio wrote:

> On Thu, Oct 16, 2003 at 12:41:16AM +0300, Matti Aarnio wrote:
> > On Wed, Oct 15, 2003 at 06:00:34PM -0300, Mariano Absatz wrote:
> > > Hi,
> > > 
> > > is there any way, when a DNSBL has a TXT informative RR (as well as the 
> > > customary A RR), to include the text of that RR in the rejection?
> > > 
> > > Is there at least a way to _log_ that info when available?

Smtp clients should receive:

550 5.7.1 Hello [Ip.Ip.Ip.Ip], Policy analysis reported: TXT_MESSAGE_FROM_DNSBL
or
550 5.7.1 Policy analysis reported : TXT_MESSAGE_FROM_DNSBL

as reply to "mail to: ..." command.

This info is logged to [/var/log/mail/]smtpserver.log but
NOTHING is logged to syslog (at least if smtpserver
called without "-l SYSLOG").

Please look into your smtpserver.log.

> > Without looking into the code right now, I recall that it was
> > written to yield rejection only, when it gets TXT RR.
> > 
> > It is possible, of course, that over time the code has
> > been broken in this regard, and/or the return message is
> > overwritten somehow.
> 
> I have been going these thru in a haphazard manner, reading
> list archive and wondering if things are really handled or not..
> 
> The more I read the related code, the more I think that
> 'bag' gave me some diff that broke something.

My first patch ("_+", "_Message" attributes for source network),
shouldn't broke TXT received from DNSBL. The second (rbl
attributes for DOMAINs) patch may causes second call to rbl_dns_test().
Original version calls rbl_dns_test() only once per connection.
I haven't found statically allocated variables but...

> How are you using it ?  Which test attributes ?

> 
> > > TIA.
> > > Mariano Absatz
> > > El Baby
> 
> /Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi