[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim: how to modify the "Sender:" header



Oh, well you need one more config change at the end of /etc/exim.conf

*@yourlocaldomain.com ${lookup{$1}lsearch{/etc/email-addresses}\
   {$value}fail} bcfrF

Last option tells which address to rewrite.  See manual for details.

wrotell 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

On Wed, Sep 0ei 2001 at 02:53:30PM +0700, Rahmat M. Samik-Ibrahim
> Hello:
> 
> Thank you for your email. Unfortunately, /etc/email-addresses 
> modifies the RFC-2822's "From: " header, and NOT the 
> "Sender: " one :-(.
> 
> I guess, that this is a Netscape mailer problem, since
> there is no problem with mutt. Apparently, Netscape
> put a non FQDN "Sender: ", and the smarthost adds
> its FQDN to that header.
> 
> regards,
> 
> 
> Osamu Aoki wrote:
>  
> > Use /etc/email-addresses to fake source of e-mail.
> > It's easy and finely configurable!
> > 
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/    +



Reply to: