Hi,

I want to know how to whilelist or blacklist domains in amavisd-new.

By now, I have already added a whiltelist and a blacklist with email addresses in following way.

in amavisd.conf file , belwo two lines

@whitelist_sender_maps = read_hash("$MYHOME/white.lst");
@blacklist_sender_maps = read_hash("$MYHOME/black.lst");

then , I did below two ,

touch /var/amavis/white.lst

touch /var/amavis/black.lst

Then I added email addresse per line in these two files.

Now I need to know how to whiltelist or blacklist entire domains. (NOT email adddressess)

Pls help .









--
Thank you
Indunil Jayasooriya