Re: [OT] Postfix
frederic massot <frederic@juliana-multimedia.com> writes:
> Bonjour,
>
> Savez-vous comment configurer Postfix pour lui faire re-ecrire le champ
> From ?
/etc/postfix/main.cf :
# ADDRESS REWRITING
#
[...]
# Insert text from sample-canonical.cf if you need to do address
# rewriting, or if you need username->Firstname.Lastname mapping.
man canonical :
sender_canonical_maps
Address mapping lookup table for envelope and
header sender addresses.
[...]
The format of the canonical table is as follows, mappings
being tried in the order as listed in this manual page:
[...]
user address
user@site is replaced by address when site is equal
to $myorigin, when site is listed in $mydestina
tion, or when it is listed in $inet_interfaces.
> J'aimerais pouvoir re-ecrire :
> >From : root@machine1.juliana-multimedia.com
> En
> From : frederic@juliana-multimedia.com
Dans /etc/postfix/main.cf :
sender_canonical_maps = hash:/etc/postfix/canonical
/etc/postfix/canonical :
root frederic@juliana-multimedia.com
Jean Charles
--
Jean Charles Delépine - Équipe Réseaux Télécoms - Université de Picardie
Reply to:
- References:
- [OT] Postfix
- From: frederic massot <frederic@juliana-multimedia.com>