View Full Version : delete email at server

03-31-2004, 02:21 PM
I want to avoid 300+ emails sent to my domain using any email address other than the one I actually use.

For example, is there a way to delete at the server any mail sent to inactive@domain.com? If so, how would I do this? Thanks!

03-31-2004, 04:18 PM
The easiest way to do this would be to disable your "catch all" alias (via your Site Manager, it's under "Aliases" in the "E-mail/FTP Management" section). What that will do is make any e-mail addresses @yourdomain.com invalid, unless it is explicitly created as an alias or as an e-mail/FTP account.

Alternatively, you can use a Procmail recipe to delete all mail not sent to a specific address (while keeping your catch all enabled). But, this is a little more complex, so I would recommend using the above instead. If you would like to give Procmail a go, let me know.