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

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



Use /etc/email-addresses to fake source of e-mail.
It's easy and finely configurable! 

Cheers :-)

On Mon, Sep 03, 2001 at 10:58:00AM +0700, Rahmat M. Samik-Ibrahim wrote:
> Hello:
> 
> My debian system is inside an intranet, and therefore
> I use a smart host for forwarding emails. There is a problem
> on how to set the "Sender:" header of an email.
> It seems that the smarthost adds "Sender:user@smarthost.FQDN"
> since (apparently) neither exim nor netscape (mail reader)
> put an appropriate FQDN.
> 
> I try to fix this problem by forcing the "exim.conf":
> 
> ------------------------------------------------------------
> smarthost:
>   driver = domainlist
>   transport = remote_smtp
>   route_list = "* SMART_HOST.FQDN bydns_a"
>   headers_remove = "Sender"
>   headers_add = "Sender: <USER@OTHER.FQDN>"
> end
> -----------------------------------------------------------
> 
> where SMART_HOST.FQDN is the smarthost and USER@OTHER.FQDN
> is my email address. Unfortunately, this way will make ALL 
> emails (from any local users) to have:
>           "Sender: <USER@OTHER.FQDN>"
> 
> Is there a better way to configure the exim.conf?
> 
> regards,
> 
> -- 
> Rahmat M. Samik-Ibrahim - VLSM-TJT - http://rms46.vlsm.org
> ===========> .signature at http://rms46.vlsm.org/1/36.html
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/    +



Reply to: