<<< Date Index >>>     <<< Thread Index >>>

Re: locale and external address



Alle giovedì 6 dicembre 2007, Kyle Wheeler ha scritto:
> Yes. When you use the ^ in your pattern, you're telling it to match
> the beginning of the address (the $ at the end tells it to match the
> end of the address). Thus ^@debian$ will ONLY match "@debian" and
> nothing else---it will not match samiel@debian, foo@debian or
> whydoesntthisstupidthingwork@debian either. ;)
> If you use this hook instead:
>
>      send-hook '~t @debian$' 'my_hdr From: Mutt User <samiel@debian>'
>
> ...then it WILL match all three examples I listed above, but will NOT
> match samiel@xxxxxxxxxxxxxxxxxx (because the $ at the end is still
> there). Make sense?

It looks very resonnable, only that... I've still a trouble.
I adopted the hook you suggested me. Now: in "sent" the headers
look correct. The voice From is set just to "samiel <samiel@debian>".
But when I controll in "inbox" after the delivering of email,
I find again the old external address and not that one
specified by the hook: "samiel <mauro.sacchetto@xxxxxxxx>"
I'm very confused, but I suspect that Exim rewrite the address
furnished by Mutt with that one present in /etc/mail.addresses...
Maybe, there is something to change in exim.conf too...
M.




-- 
linux user no.: 353546
public key at http://keyserver.linux.it