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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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/ |