User Tools

Site Tools


outgoing_mails_from_postfix_to_relayhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

outgoing_mails_from_postfix_to_relayhost [2011/06/24 13:04]
root created
outgoing_mails_from_postfix_to_relayhost [2011/06/24 13:15] (current)
root
Line 1: Line 1:
 ====== Outgoing mails from postfix to relayhost ====== ====== Outgoing mails from postfix to relayhost ======
  
-In order to let another mail server handle your outgoing mail traffic ​do following:+In order to let another mail server handle your outgoing mail traffic ​you need basically two things: 
 + 
 +Relayhost should allow your server to relay mails to it (not in this description)\\ 
 +Postfix should forward all mails to relayhost.
  
 Edit /​etc/​postfix/​main.cf Edit /​etc/​postfix/​main.cf
Line 18: Line 21:
   inet_interfaces = loopback-only   inet_interfaces = loopback-only
 and reload postfix configuration and reload postfix configuration
- + 
 +Verify the server is able to relay mails via relayhost:​ 
 + 
 +  mail -s "Hello world" <your mail address>​ 
 +  <Type a message and end with ctrl+d>​ 
 +   
 +   
 + 
 +  
outgoing_mails_from_postfix_to_relayhost.txt · Last modified: 2011/06/24 13:15 by root