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

Re: mutt, exim and domains



* On Thu, Sep 29, 2005 Ulrich Scholz (ulrich.scholz@xxxxxxxxxxxxxxxxxxxx) 
muttered:
> I'm using mutt 1.5.10i and exim 3.36 under debian 
> 
> my email is john.doe@xxxxxxxxxxxxxxxxxxxx
> 
> set hostname = "eml-d.villa-bosch.de"
> my_hdr From: John Doe <John.Doe@xxxxxxxxxxxxxxxxxxxx>
> 
> My /etc/exim/exim.conf states
> 
> qualify_domain = eml.org
> Now my emails include the following header lines:
> 
> From jdoe@xxxxxxx Thu Sep 29 14:51:41 2005
> Return-Path: <jdoe@xxxxxxx>
> Sender: John Doe <jdoe@xxxxxxx>
> 
> This is wrong as the address jdoe@xxxxxxx does not exist.  I want to include
> them instead
> 
> From john.doe@xxxxxxxxxxxxxxxxxxxx Thu Sep 29 14:51:41 2005
> Return-Path: <john.doe@xxxxxxxxxxxxxxxxxxxx>
> Sender: John Doe <john.doe@xxxxxxxxxxxxxxxxxxxx>

Don't mess with exim. Mess with mutt.

exim:
- don't do rewriting in exim (qualify_domain)

mutt:
- use $from not my_hdr From (set from="John.Doe@xxxxxxxxxxxxxxxxxxxx"
  set realname="John Doe")
- hostname with use_domain set affects unqualified addresses if you want
  to send unqualified and have some mta qualify unset use_domain and
  make sure your local exim let's that pass)
  you might want to configure exim to just relay to a smart host)
- set $use_from(default) and $envelope_from

HTH,

Michael
-- 
BOFH excuse #88:

Boss' kid fucked up the machine

PGP-Key-ID: 0xDC1A44DD
Jabber:     init[0]@amessage.de