Okay, so here is the guilty code:

       elsif (!c('originating') && $sender ne '' &&
              lookup(0,$sender,@{ca('local_domains_maps')})) {}
   # no bonus to senders from outside using local domain, can't trust  
them

I'm not sure what sets "originating", but it seems to read that if  
it's a local domain user but isn't originating locally then skip  
penpals. I believe that this logic is wrong for several reasons:

* One of the major sources of false spam reports is mail coming from  
the blackberry servers.  Which may be local domain name, but coming  
from remote source.  Penpals would help.

* Is originating only set by mynets?  The messages which are failing  
are SMTP-auth messages.  Isn't that originating?  Should we check for  
auth and mark messages as originating?

On Jan 3, 2008, at 3:12 PM, Jo Rhett wrote:
> I've got it set up for penpals support according to the release notes.
>
> Messages are being saved in msgs table, but there's no evidence that
> penpals support is working at all.  log_level2 shows no penpals
> comments.
>
> "  * @mynetworks and @local_domains_maps must reflect reality,
> allowing amavisd
>      to distinguish between outgoing, incoming and internal-to-
> internal mail;"
>
> Um... neither of these are defined.  I have maybe 70 domains locally,
> so I was using
>
> @local_domains_acl = ('.');
>
> And frankly, given the number of diverse domains I'd like to use
> penpals for local<->local users as well.
>
> Can we have an option to tune this?
>
> -- 
> Jo Rhett
> Net Consonance : consonant endings by net philanthropy, open source
> and other randomness
>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to