Bulk adding whitelist/blacklist


#1

I would like to know if there is a method of adding email addresses into the whitelist/blacklist in bulk rather than one by one from the “Editing junkmail settings” web page

Thank you.


#2

The DreamHost API provides some mail filter functionality that you could automate.

http://wiki.dreamhost.com/Api#Mail_commands

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

Thanks sXi for your reply and the suggestion. I have gone through the mail-add_filter documentation which will work fine on a small list of addresses.

However it does not look like a filter can be added to an entire domain which makes administration of these filters a bit cumbersome.

If there was an api into the anti-spam then it would be better.


#4

Ack. Don’t try to use mail filters for blacklisting addresses - they’re much slower, and will bog down very quickly as you add addresses. Ask for an API to the whitelist/blacklist if you need one!


#5

Thanks Andrew for reading this post. I have put in a suggestion just now titled “API for anti-spam”.