[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix configuration



Am 01.07.2004 um 12:24 schrieb Pau Novella:

> Now I had found out that I can modify the name and adress using differents 
> options in the MUA, but I would like to have the corrects ones fixed in the 
> postfix configuration.
> 
> Can anybody help me?  

Use sender_canonical_maps.  Put the mapping 

localuser  realmail@address.tld

into a new file called /etc/postfix/sender_canonical and run postmap
on that file.  Then, put a reference to that file into your postfix
main.cf:

sender_canonical_maps = hash:/etc/postfix/sender_canonical

This will cause postfix to rewrite the sender address in all mails
coming from your localuser to realmail@address.tld.

Regards,
Dennis

-- 
Send personal mail to dennis@... only. Mails going to lists@stosberg.net
will not reach me unless they are sent via the list address.



Reply to: