host email off server linux commands


/ Published in: Bash
Save to your folder(s)

see source


Copy this code and paste it in your HTML
  1. A couple of things need to happen if you are not hosting email on the server.
  2. 1. Remove example.com from /etc/mail/local-host-names
  3. To do this SSH into the server.
  4. su - root
  5. cd /etc/mail
  6. vi local-host-names
  7.  
  8. 2. You might also need to delete the coolantexpress related entries in the /etc/mail/virtusertable
  9. and run vnewvirtmaps
  10. To do this SSH into the server.
  11. su - root
  12. cd /etc/mail
  13. vi virtusertable
  14. vnewvirtmaps

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.