User Tools

Site Tools



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

Link to this comparison view

Both sides previous revision Previous revision
linux:postfix [2017/03/12 15:33]
rlunaro [Config]
linux:postfix [2017/03/12 15:37] (current)
Line 70: Line 70:
 </​code>​ </​code>​
 +It's very important to configure the file ''/​etc/​postfix/​generic''​ with a remapping of the local 
 +users to complete email addresses: ​
 +# REMEMBER!!!! After making changes to this file you must run: 
 +# postmap /​etc/​postfix/​generic
 +username ​  ​
 +In that way, every outgoing email is rewrited from username@localhost to and nowadays email servers can recognize it as a valid email 
 +address. ​
 +After that **don'​t forget to run postmap /​etc/​postfix/​generic** in order to update the database with the fresh configuration.
 ==== Open firewall ==== ==== Open firewall ====
Line 75: Line 94:
 <​code>​ <​code>​
-ufw allow 25 465 587+ufw allow 25
 </​code>​ </​code>​
linux/postfix.txt ยท Last modified: 2017/03/12 15:37 by rlunaro