Re: [AMaViS-user] penpals triggered on outbound, not inbound.

This is a discussion on Re: [AMaViS-user] penpals triggered on outbound, not inbound. within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; At 05:29 PM 9/7/2007, Mark Martinec wrote: > > Of additional note, when I add a little ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-08-2007
Nate
 
Posts: n/a
Default Re: [AMaViS-user] penpals triggered on outbound, not inbound.

At 05:29 PM 9/7/2007, Mark Martinec wrote:

> > Of additional note, when I add a little more debugging code to
> > amavisd in the penpals sections, it seems regardless if a domain is
> > local or not (or even in cases where @local_domain_maps is undefined
> > i find the following:
> >
> > lookup(0,$sender,@{ca('local_domains_maps')}) ALWAYS returns Y
> >
> > This is a result of having a wildcard (@.) entry in my mysql users
> > table which specifies @. as local.

>
>Which means that all mail is considered inbound or internal-to-internal.
>
> > By changing this to N in the database, it seems to have solved the
> > majority of my issue.

>
>Assuming you have all your domains listed in a SQL table 'users',
>this gives you what is needed.



I either have domain entries or individual user entries in the users
table with local as Y. All other users should fall into the wildcard
@. category and not be scanned for spam or penpals. I think this
accomplishes it all and doesn't leave any holes of coverage.

- Nate


-------------------------------------------------------------------------
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
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:29 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0