amavis-user October 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] bounce killer feature with pen pa

Re: [AMaViS-user] bounce killer feature with pen pals disabled

From: Stefan <stefan_at_nospam>
Date: Tue Oct 05 2010 - 15:13:37 GMT
To: amavis-user@lists.sourceforge.net

On Tuesday, 7th September 2010, 20:50:39 Mark Martinec wrote:
> Stefan,

Hi Mark,
<snip>
> > Now there are two things which are odd:
> >
> > 1) If the bounce is misdirect (the domain part of the message-id doesn't
> > match with one of the local domains) and a sql/pen pals check is not
> > possible because it isn't configured then I would aspect amavis to
> > classify the bounce as misdirected and add the $bounce_killer_score. For
> > the reason that the message-id doesn't match which the local domains and
> > there that there is no reference in the sql table that such a message was
> > send.
>
> You are right in principle. The catch here is that some outgoing mail
> is generated by MUAs which do not specify a fully qualified domain name
> in the Message-ID they generate, or provide some foreign domain.
> By using pen pals such cases are still recognized and handled correctly
> (i.e. a bounce to such valid but crippled outgoing message will not be
> killed). In the absence of pen pals, I decided to rather play safe
> and not kill such bounces right away (i.e. just let them be subject
> to normal a spam scan).

I get your point. But it would been nice, if it is in my responsibility to
decide whether it is worth to use the backscatter killer feature without pen
pals and risk false positives by crippled message ids or not. By that I assume
that it isn't possible to enable the bounce killer feature without pen pals,
is it?

> > 2) Why does amavis bypass the spamassassin check if the domain part of
> > the message-id doesn't match one of the local domains (1st log example)?
> > On the other hand it will check the message if the bounce is rescued,
> > 2nd log example. I would assume that amavis should check the message in
> > both cases.
>
> A bug. Such messages should still be eligible to spam checking.
> Please apply the patch below to amavisd-new-2.6.4. (will be included
> in 2.7.0-pre8)

Thanks, now it works.

<patch snipped>

> Mark

best regards
Stefan

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot org