User Tools

Site Tools


linux:postfix

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:postfix [2017/03/12 15:33] – [Config] rlunarolinux:postfix [2022/12/02 22:02] (current) – external edit 127.0.0.1
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: 
 +
 +<code>
 +# REMEMBER!!!! After making changes to this file you must run: 
 +#
 +# postmap /etc/postfix/generic
 +#
 +#
 +
 +username   username@complete.server.address.com
 +</code>
 +
 +In that way, every outgoing email is rewrited from username@localhost to username@complete.server.address.com 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.1489329217.txt.gz · Last modified: 2022/12/02 22:02 (external edit)