Hi there, A client has a company and has about 200 domainnames registered to link to their site through a landingspage that is on a different domainname. Now that domainname with about 200 parked domainnames gets massive amount of mails daily so client wants to delete them all. What is the best way to do this? I can place a command for all those domainnames seperatly to place all mails sent to www watheverdomain dot com in trash.. but problem is that client sometimes deletes and adds domainnames. So want to do it more efficiently Thnx in advance Raey
That's just the thing... all spammails sent to all parked domainnames are comming in that account. I raised the spam assasin filter but still every day have to remove those junk (100MB daily)
You should setup a cron job to clean your emails on given basis... Daily? Monthly? Weekly? Hourly... I'm trying to find command that I'm using but you should be able to google it out fairly easy... I will edit post as soon as I find it...
This will remove mails older than 5 mins (300 seconds). adjust your time accordingly. exiqgrep -o 300 -i | xargs exim -Mrm
In cPanel, you use Account or User Level Filtering for that. Create a rule to delete the unwanted email. It will work automatically as email is received.