I have been a virtualmin user for many years. I currently have two questions regarding email and spam. Both questions are related to a virtualmin with more than one domain.
1.- The optión “greylisting”, Can it be activated only for some domains?
2.- Is there any option in virtualmin to send an email with the header of all spam emails, to see if any of them is good.
Ok, someone else posted the solution from the achives.
use .*@yourdomain.com with regexp ticked the dot is needed.
So not enable on some just disabled on some.
you can allow certain domains, not to be greylisted using whitelisted_clients in postgrey. greylist is a “blocking” technique, you can’t block some, but you can allow some not to be greylisted. better leave as is though, regular MX will retry sending a greylisted message, while some spam senders will not.
whitelisted recipient, means no sender to that recipient will ever be greylisted… do you really want that…(?)
that can be done in amavis really. not sure if there is a module in virtualmin to edit amavis configuration, you can look that up… iirc it’s on by default, you just need to set $virus_admin to a notification receiving email…