Josh wrote: > Hello,
> I need to whitelist email from local domains. Local senders are already > authenticated before they get to amavisd-new so spending time spam > scanning them is a waste (or a hassle, if they're marked as spam). I see > no way to get the list of local domains from SQL, which is where the > lists of domains and users are stored. They are in separate tables and > adding duplicate ".domain.com" or "@domain.com" entries into the users > table is not an option. That wouldn't work anyway because there wouldn't > be unique IDs. Anyway, I also cannot find a way to hard or soft > whitelist local domain senders in bulk... I've been trying to fake it > with crazy wblist SQL queries that don't work. > I'm guessing this isn't possible currently, or is it? I could do it > pretty easily (I think) with SA's SQL userprefs, but since SA is over > 90% of my processing time it would be better to avoid calling it in the > first place. It would be nice if I could just set local_domains_sql = > 'select name from domains' and sender_bypass_spam_local_domains = 1, or > something. If not, I may have to hack it in somehow, after I learn Perl. :P > Thanks, > Josh What MTA are you using? I think you are looking to bypass spam scanning not based on sender domain (which can be faked) but instead allow authenticated users (regardless of mechanism) to bypass spam scanning. Read through: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks Example 3 was discussed recently: http://marc.theaimsgroup.com/?l=amavis-user&m=114494779227951&w=2 Gary V ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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/
