not spamscan local to local mail

Add the blocked domain to the SpamAssassin whitelist for that particular user account within DirectAdmin:

Code:
*@example.com
 
So, I solved for temporarily.

But it is no option to add all local domains in the whitelist of all users.
 
I guess a bash script could be written, that will execute periodically by a cronjob, which copies the list of domains in /etc/virtual/domains to the SpamAssassin whitelist for each user on the system - or something along those lines...

Anyone?
 
Back
Top