On Jun 20, 2011, at 9:56 PM, Gary V wrote: > On 6/20/11, jason hirsh wrote: > >>>> Thank you .. I did not understand what was i seeing >>>> >>>> from what I have been seeing , am I correct that i can not hard >>>> blacklist >>>> under amavisd unless I use mysql databases? >>>> >>>> again I apologize for my ignorance >>>> >>> >>> No need at all to apologize. I admit AM:BOOST is not obvious. Other >>> settings besides w/b list can additionally affect the AM:BOOST score, >>> that's why it's given a somewhat generic name. >>> >>> You can do hard blacklisting. >>> >>> search for: >>> ENVELOPE SENDER WHITELISTING / BLACKLISTING >>> in: >>> >>> http://www200.pair.com/mecham/amavisd/2.6.6/amavisd.conf-sample >>> >>> For example: >>> @blacklist_sender_maps = ( ['.example.org', '[email protected]'] ); >> >> this is how i got into soft black list as the hard did not not work >> >> @blacklist_sender_maps = (['[email protected]', '.example.net']); >> >> is in my amavisd.conf >> and I get this in mail log >> >> Jun 20 08:00:24 tuna amavis[95945]: (95945-01) lookup >> [blacklist_sender<[email protected]>,blacklist_sender] => undef, >> "[email protected]" does not match >> >>> >>> or read from an external file: >>> @blacklist_sender_maps = read_hash("$MYHOME/black.lst"); >>> > > Works fine for me. Are you sure that this log entry is the one that > was produced after you made the change? Is it possible you have > @blacklist_sender_maps listed twice in amavisd.conf? If so, the last > one wins. > > This is my test: > > @blacklist_sender_maps = (['[email protected]', '.example.net']); > > Jun 20 19:46:05 filter amavis[3983]: (03983-03-8) lookup > [blacklist_sender<[email protected]>,blacklist_sender] => true, > "[email protected]" matches, result="1", > matching_key="[email protected]"
That was it.... I had the sample regexp blacklist map still in the conf guess I am back to trying to learn regexp Thanks for the education > > -- > Gary V
