Forum Discussion
JRahm
Sep 25, 2008Admin
OK, with your lead, I was able to get this to work with this minimal configuration:
echo "" >> /etc/postfix/main.cf
echo " Customized for SMTP Sender Identification" >> /etc/postfix/main.cf
echo "" >> /etc/postfix/main.cf
echo "relayhost = 192.168.1.2" >> /etc/postfix/main.cf
echo "sender_canonical_maps = hash:/etc/postfix/canonical" >> /etc/postfix/main.cf
echo "root LTM1@domain.com" > /etc/postfix/canonical
echo "root@LTM1 LTM1@domain.com >> /etc/postfix/canonical
echo "root@localhost LTM1@domain.com >> /etc/postfix/canonical
echo "root@domain LTM1@domain.com >> /etc/postfix/canonical
echo "root@domain.com LTM1@domain.com >> /etc/postfix/canonical
postmap /etc/postfix/canonical
bigstart restart postfix
echo TEST | mail -s TEST me@domain.com
Note that the display name (in Outlook anyway) still shows root, but the mail source address is LTM1@domain.com