VDS Sphera Knowledge Base
| Main / Browse Categories / Email & Sendmail / How can I point an email alias at /dev/null? |
How can I point an email alias at /dev/null?
|
1) Login to your /manager. 2) Navigate to the "Email FTP" section. 3) Create a new alias. Choose "Email" type. Choose your alias and point the alias at any valid destination. 4) Next, login via SSH and use Vi to edit the /etc/mail/aliases file. At the end of this file you should see something similar to this: ####################### # Local aliases below # ####################### # Added By HostDir root:postmaster # END alias:whatever5) Change the above to: ####################### # Local aliases below # ####################### # Added By HostDir root:postmaster # END alias:/dev/null6) Run this command from the SSH shell: newaliases7) Send an email to the alias to test and confirm.
User Comments
|
||||||||
Attachments
| No attachments. |
Related Articles


