Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

SMTP AUTH forced address_rewrite

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


exim-users at d242

May 8, 2007, 8:39 PM

Post #1 of 3 (398 views)
Permalink
SMTP AUTH forced address_rewrite

Hello list,

I am back with another Exim question that has me baffled.
I am using the Debian-packaged version of Exim (4.63) with a custom
configuration (none of that split up stuff) and Vexim. I hope you don't find
my post off-topic (my excuse is the handrolled configuration file).

I am not using address rewriting, yet that is exactly what is happening to
my SMTP AUTH tests.

My SMTP AUTH username consists of a full e-mail address - e.g.
d [at] example

For some reason Exim decides to rewrite Envelope From, Sender etc into
"d [at] example"@example.com.


Have I misconfigured something or is this a bug/feature?



06:17:00 32518 ----------- end verify ------------
06:17:00 32518 sender d [at] example verified ok
06:17:00 32518 require: condition test succeeded
06:17:00 32518 processing "accept"
06:17:00 32518 check hosts = +relay_from_hosts
06:17:00 32518 host in "127.0.0.1 : 123.124.159.11 ? no
(end of list)
06:17:00 32518 host in "+relay_from_hosts"? no (end of list)
06:17:00 32518 accept: condition test failed
06:17:00 32518 processing "accept"
06:17:00 32518 check authenticated = *
06:17:00 32518 fixed_cram in "*"? yes (matched "*")
06:17:00 32518 check control = submission
06:17:00 32518 accept: condition test succeeded
06:17:00 32518 SMTP>> 250 Accepted
06:17:00 32518 SMTP<< DATA
06:17:00 32518 SMTP>> 354 Enter message, ending with "." on a line by itself
06:17:00 32518 search_tidyup called
06:17:00 32518 close MYSQL connection:
localhost:(/var/run/mysqld/mysqld.sock)/vexim/vexim
06:17:00 32518 host in ignore_fromline_hosts? no (option unset)
06:17:00 32518 >>Headers received:
06:17:00 32518 Message-ID: <46413D34.3060909 [at] example>
06:17:00 32518 Date: Wed, 09 May 2007 06:17:08 +0300
06:17:00 32518 From: Sender <d [at] example>
06:17:00 32518 User-Agent: Thunderbird 1.5.0.7 (X11/20060921)
06:17:00 32518 MIME-Version: 1.0
06:17:00 32518 To: d [at] example
06:17:00 32518 Subject: weirdness
06:17:00 32518 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
06:17:00 32518 Content-Transfer-Encoding: 7bit
06:17:00 32518
06:17:00 32518 LOG: address_rewrite MAIN
06:17:00 32518 "d [at] example" from env-from rewritten as
""d [at] example"@example.com" by submission mode
06:17:00 32518 rewrite_one_header: type=F:
06:17:00 32518 From: Sender <d [at] example>
06:17:00 32518 rewrite_one_header: type=T:
06:17:00 32518 To: d [at] example
06:17:00 32518 rewrite_one_header: type=S:
06:17:00 32518 Sender: "d [at] example"@example.com
06:17:00 32518 search_tidyup called
06:17:00 32518 >>Headers after rewriting and local additions:
06:17:00 32518 I Message-ID: <46413D34.3060909 [at] example>
06:17:00 32518 Date: Wed, 09 May 2007 06:17:08 +0300
06:17:00 32518 F From: Sender <d [at] example>
06:17:00 32518 User-Agent: Thunderbird 1.5.0.7 (X11/20060921)
06:17:00 32518 MIME-Version: 1.0
06:17:00 32518 T To: d [at] example
06:17:00 32518 Subject: weirdness
06:17:00 32518 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
06:17:00 32518 Content-Transfer-Encoding: 7bit
06:17:00 32518 S Sender: "d [at] example"@example.com
06:17:00 32518
06:17:00 32518 Data file written for message 1Hlcfk-0008SU-Fd


--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/


dlugo at etherboy

May 8, 2007, 8:46 PM

Post #2 of 3 (395 views)
Permalink
Re: SMTP AUTH forced address_rewrite [In reply to]

On Wed, 9 May 2007, Dominique wrote:
>
> I am back with another Exim question that has me baffled.
> I am using the Debian-packaged version of Exim (4.63) with a custom
> configuration (none of that split up stuff) and Vexim. I hope you don't find
> my post off-topic (my excuse is the handrolled configuration file).
>
> I am not using address rewriting, yet that is exactly what is happening to
> my SMTP AUTH tests.
>
> My SMTP AUTH username consists of a full e-mail address - e.g.
> d [at] example
>
> For some reason Exim decides to rewrite Envelope From, Sender etc into
> "d [at] example"@example.com.
>
>
> Have I misconfigured something or is this a bug/feature?
>


You need to add sender_retain to the acl stanza that deal
with accepting mail from auth'd clients.

This is cut from my setup:

accept authenticated = *
control = submission/sender_retain

--
--------------------------------------------------------
Dave Lugo dlugo [at] etherboy LC Unit #260 TINLC
Have you hugged your firewall today? No spam, thanks.
--------------------------------------------------------
Are you the police? . . . . No ma'am, we're sysadmins.

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/


exim-users at d242

May 8, 2007, 9:00 PM

Post #3 of 3 (408 views)
Permalink
Re: SMTP AUTH forced address_rewrite [In reply to]

On Tue, May 08, 2007 at 11:46:28PM -0400, Dave Lugo wrote:
> > For some reason Exim decides to rewrite Envelope From, Sender etc into
> > "d [at] example"@example.com.
> >
> >
> > Have I misconfigured something or is this a bug/feature?
> >
>
>
> You need to add sender_retain to the acl stanza that deal
> with accepting mail from auth'd clients.
>
> This is cut from my setup:
>
> accept authenticated = *
> control = submission/sender_retain
>


Excellent! Thanks a bunch.



--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.