Re: [hs ?] exim
Philippe Monroux a écrit, dimanche 15 décembre 2002, à 15:20 :
> Le dim 15 déc 2002, à 11 h 12 min 46 s (UTC +0100),
> Jacques L'helgoualc'h a écrit :
>
> > Le champ Sender: est récrit par Exim avec le flag « s »
>
> Ce qui signifie ?
Dans exim.conf (section rewrite configuration), la ligne
*@mondomaine ton-zimel@ton.fai s
# avant après flag(s)
va remplacer le contenu du champ Sender:, s'il est conforme au modèle
n°1, par l'adresse n°2 (supposée valide).
La syntaxe est un peu vicieuse (mélange pattern et regexp), et le
résultat repart pour un tour de récriture ... pour tester,
/usr/sbin/exim -brw phi
et pour essayer de comprendre pourquoi ça foire ;)
/usr/sbin/exim -d2 -brw phi
Signification des flags, cf. info exim, address rewriting, ...
E rewrite all envelope fields
F rewrite the envelope From field
T rewrite the envelope To field
b rewrite the "Bcc:" header
c rewrite the "Cc:" header
f rewrite the "From:" header
h rewrite all headers
r rewrite the "Reply-To:" header
s rewrite the "Sender:" header
t rewrite the "To:" header
... avec un avertissement à la prudence sur le champ Sender:
hop zat elpe,
--
Jacques L'helgoualc'h
Reply to: