rafaelmaeuer
2/16/2017 - 10:28 AM

Configuration of Server root email - Change Address and Name on outgoing email - From http://serverfault.com/questions/412312/configuration-

Configuration of Server root email - Change Address and Name on outgoing email - From http://serverfault.com/questions/412312/configuration-of-server-root-email-change-address-and-name-on-outgoing-email

1. Change e-mail address:

vi /etc/postfix/generic

root myname@domain.tld

vi /etc/postfix/main.cf

smtp_generic_maps = hash:/etc/postfix/generic

postmap /etc/postfix/generic
postfix reload

2. Change name - change name in passwd file from root to My Name:

vi /etc/passwd:
root:x:0:0:Own Name:/root:/bin/bash