Pablo, > I have defined to white-black list based on sql like this by default: > $sql_select_white_black_list = > 'SELECT wb'. > ' FROM wblist LEFT JOIN mailaddr ON wblist.sid=mailaddr.id'. > ' WHERE (wblist.rid=?) AND (mailaddr.email IN (%k))'. > ' ORDER BY mailaddr.priority DESC';
which is a default. > But whatever I set to white or black list it won't work. > Could you please help me on how can I troubleshoot this? Set $log_level=5 or use 'amavisd debug' and see how lookups are being done. Search for 'wbl:' in the log and examine the nearby lookups. Version 2.3.3 should be used in order to provide the most informative logging of lookups. SQL-based w/b lookups are done in two steps: first a matching recipient id is found, then the wb table entries matching the rid and the sender mail address are sought. Mark ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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/
