Sendmail

From Foochal

Jump to: navigation, search

Configuring Virtual Users

  • Create a file called /etc/mail/virtusertable.txt
  • Edit the contents of the file
virtualuser@mydomain.org                   someexternaluser@otherdomain.com
  • Deploy the above file using the following command
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable.txt
  • This above creates a virtual email address and forwards mail to that address to the specified address.

Relay outgoing mail through a relay server

This scenario is useful if the ISP has a firewall on outgoing SMTP connections (telnet foo 25 gives a "Connection refused"). http://www.ozzu.com/ftopic29690.html

External links


Personal tools