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

Re: locale and external address



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, December  7 at 09:41 PM, quoth Mauro Sacchetto:
>I made some experiments more.
>If I put in my .muttrc:
>send-hook .* 'my_hdr From: spiderman <falsemail@xxxxxxxxxx>
>exim4 sends correctly the message,
>and in the header I read the new address. SO,
>it doesn'r re-writes the original, true address.
>But if I put into:
>send-hook .* 'my_hdr From: spiderman <falsemail@xxxxxxxxxx>
>send-hook '~t debian$' 'my_hdr From: samiel <samiel@debian>'
>(for I've: set hostname="debian")
>in local email I find again an ever my right external address.
>Why in the first case the field "From" is changed
>as I ask to Mutt, and in the second one not?

This sounds like something you should more likely be asking the exim 
mailing list.

That said, to prove for a fact whether it's mutt or exim, try 
replacing your hooks with this:

send-hook .* 'my_hdr From: samiel <samiel@debian>'

If your mail still has the wrong header, then there's nothing mutt can 
do about it. Exim is likely rewriting things that use the form 
"@hostname" (where "hostname" is the local machine's hostname), since 
those are technically illegal according to the SMTP RFC (2822).

~Kyle
- -- 
You cannot reason a person out of a position he did not reason himself 
into in the first place.
                                                      -- Jonathan Swift
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFHWbP+BkIOoMqOI14RAirFAJ0a21Xe4MCxggBm7gExsVLeyoBIAwCgs8AB
jpriOIOAANCOrOBAyZpMiFY=
=OjaL
-----END PGP SIGNATURE-----