Re: [Exim] Sender: headers and Exim?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Rick Ennis
Dátum:  
Címzett: Doug Lawlor, exim-users
Tárgy: Re: [Exim] Sender: headers and Exim?
If you want to remove "Sender:" all-together, try adding "headers_remove =
sender" to your remote_smtp transport. Something like this (using
exim4)...

begin transports

remote_smtp:
driver = smtp
headers_remove = sender
connect_timeout = 1m

------------
Alternatively you could have the Sender header rewritten to match the
return address. I *think* this should work, though I haven't tested it...

begin rewrite

*          $reply_address         s



--Rick


----- Original Message -----
From: "Doug Lawlor" <dlawlor@???>
To: <exim-users@???>
Sent: Saturday, April 06, 2002 2:25 PM
Subject: [Exim] Sender: headers and Exim?


> Hello list, I need to know the cases when Exim will attach a 'sender:'
> header to a message. The problem I am having is that the Sender header
> is completely incorrect for my setup and needs to be changed or
> even better, gotten
> rid of all together. Here is what's happening. I send a message using
> my mail UA (mutt) and the mail goes out with a Sender line something
> like the following:
> Sender: "Doug Lawlor,,," <dlawlor@???>
>
> 'smtp-stjh-01-01.rogers.nf.net' happens to be just one of 4 machines at
> my ISP which spool up mail for delivery.
> I have not tested this but I suspect the sender line will consist of
> any host Exim connects to at the time to get the message off. I do not
> have a smart host defined. I have included two example messages below.
>
> Any help on getting this fixed would be really appreciated.
> Thanks in advance,
>
> Doug
>
>
> >From dlawlor@??? Thu Apr 04 19:12:04 2002
> Return-path: <dlawlor@???>
> Envelope-to: dlawlor@localhost
> Delivery-date: Thu, 04 Apr 2002 19:12:04 -0330
> Received: from localhost ([127.0.0.1] ident=dlawlor)
>         by wiley-1-452017.roadrunner.nf.net with esmtp (Exim 3.33 #1)
>         id 16tFvg-000067-02
>         for dlawlor@localhost; Thu, 04 Apr 2002 19:12:04 -0330
> Received: from pop-server.roadrunner.nf.net [192.75.13.132]
>         by localhost with POP3 (fetchmail-5.8.6)
>         for dlawlor@localhost (single-drop); Thu, 04 Apr 2002

19:12:04 -0330
> +(NST)
> Received: from wiley-1-452017.roadrunner.nf.net
> +(wiley-1-452017.roadrunner.nf.net [205.251.248.196])
>         by smtp-stjh-01-01.rogers.nf.net (8.11.6/8.11.6) with ESMTP id
> +g34MXJ014738
>         for <dlawlor@???>; Thu, 4 Apr 2002 19:03:20 -0330

(NST)
> Received: from dlawlor by wiley-1-452017.roadrunner.nf.net with local

(Exim 3.33+#1)
>         id 16tFms-00005z-00
>         for dlawlor@???; Thu, 04 Apr 2002 19:02:58 -0330
> Date: Thu, 4 Apr 2002 19:02:58 -0330
> From: Doug Lawlor <dlawlor@???>
> To: dlawlor@???
> Subject: TESTING
> Message-ID: <20020404223258.GA368@???>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> User-Agent: Mutt/1.3.28i
> Sender: "Doug Lawlor,,," <dlawlor@???>
> Status: RO
> Content-Length: 34
> Lines: 23

>
> This is a test message.
>
> Doug
>
>
>
> >From dlawlor@??? Thu Apr 04 19:12:05 2002
> Return-path: <dlawlor@???>
> Envelope-to: dlawlor@localhost
> Delivery-date: Thu, 04 Apr 2002 19:12:05 -0330
> Received: from localhost ([127.0.0.1] ident=dlawlor)
>         by wiley-1-452017.roadrunner.nf.net with esmtp (Exim 3.33 #1)
>         id 16tFvh-000067-02
>         for dlawlor@localhost; Thu, 04 Apr 2002 19:12:05 -0330
> Received: from pop-server.roadrunner.nf.net [192.75.13.132]
>         by localhost with POP3 (fetchmail-5.8.6)
>         for dlawlor@localhost (single-drop); Thu, 04 Apr 2002

19:12:05 -0330
> +(NST)
> Received: from wiley-1-452017.roadrunner.nf.net
> +(wiley-1-452017.roadrunner.nf.net [205.251.248.196])
>         by smtp-stjh-01-02.rogers.nf.net (8.11.6/8.11.6) with ESMTP id
> +g34Mfjk07403
>         for <dlawlor@???>; Thu, 4 Apr 2002 19:11:45 -0330

(NST)
> Received: from dlawlor (helo=localhost)
>         by wiley-1-452017.roadrunner.nf.net with local-esmtp (Exim 3.33

#1)
>         id 16tFvM-000063-00
>         for dlawlor@???; Thu, 04 Apr 2002 19:11:44 -0330
> Date: Thu, 4 Apr 2002 19:11:44 -0330 (NST)
> From: Doug Lawlor <dlawlor@???>
> To: <dlawlor@???>
> Subject: TESTING
> Message-ID:

>

+<Pine.LNX.4.33.0204041910480.374-100000@???>
> MIME-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> Sender: "Doug Lawlor,,," <dlawlor@???>
> Status: RO
> Content-Length: 59
> Lines: 23
>
> This is test using pine. We'll see what happens.
>
> Doug
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>
>