Mutt/postfix issue

JPON jpniane at gmail.com
Sun Feb 5 15:06:04 UTC 2006


Le Sun, Feb 05, 2006 at 09:29:50AM +0100, Henk Koster disait :
> Mail sent via mutt and postfix must appear to have come from my mailbox at
> my ISP, H.A.J.Koster at xs4all.nl (as in the header of this message), NOT
> from my private "username at localname.localdomain" at home. The domain part
> is easily fixed by setting /etc/mailname to "xs4all.nl", but I'm at a
> loss to fix the username part. Could anyone help me out here? 

add this line in main.cf:
sender_canonical_maps = hash:/etc/postfix/canonical

and in /etc/postfix/canonical:
username you at your.isp

Take a look to man 5 canonical for more details.

Hope that helps,

-- 
JPON





More information about the ubuntu-users mailing list