Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
* [[Open_Terminal_as_root|Open terminal as root]], create /etc/postfix/sender_canonical file:
{{code|vi /etc/postfix/sender_canonical}}
 
* Create the /etc/postfix/sender_canonical, and add user -> email references like this:
{{text|root admin@yourisp.com
logwatch logwatch@yourisp.com}}
 
* Create /etc/postfix/sender_canonical.db file:
{{code|postmap hash:/etc/postfix/sender_canonical}}
 
* Add sender_canonical variable to /etc/postfix/main.cf:
{{code|postconf -e "sender_canonical_maps<nowiki>=</nowiki>hash:/etc/postfix/sender_canonical"}}
 
* Restart postfix:
{{code|systemctl restart postfix.service}}
12,424

edits