wblist

Deeztek Support support at deeztek.com
Tue Dec 23 14:54:35 CET 2014


Trying to figure out how to add domain to recipient, recipient to domain 
and domain to domain entries in wblist and I'm having a time trying to 
figure it out. My recipient to recipient entries in wblist work fine. 
However, I can't get it to work when I involve an entire domain. Here's 
my query in 50-user:

$sql_select_white_black_list =
   'SELECT wb FROM wblist,mailaddr,users'
   . ' WHERE (users.id=?)'
   . ' AND (wblist.rid=users.id)'
   . ' AND (wblist.sid=mailaddr.id)'
   . ' AND (mailaddr.email IN (%k))';

What exactly would I add in the users table and the mailaddr table for 
the following scenarios:

externaldomain.tld to internaldomain.tld
externaldomain.tld to internaluser.tld
externaluser.tld to internaldomain.tld


Thanks


More information about the amavis-users mailing list