[exim] Exim rewrites Return-Path when it shouldn't

Pàgina inicial
Delete this message
Reply to this message
Autor: daniel
Data:  
A: exim-users
Assumpte: [exim] Exim rewrites Return-Path when it shouldn't
I've been trying to track down the reasons for this for days now. The problem
is this: Whenever I send email from my desktop through my mailserver *without*
authentication (relay based on trusted IP) the mail is delievered and the
"Return-Path: " line looks as it should:

Return-Path: <myusername@???>

But when I use authentication, Exim rewrites both the "Return-Path: " and
"Sender: " headers to look like this:

Return-Path: <"myusername@???>
Sender: "myusername@???

Running a full debug, I found the following:

  20:47:48 45345 LOG: address_rewrite MAIN
  20:47:48 45345   "myusername@???" from env-from rewritten as
    ""myusername@???" by submission mode
  20:47:48 45345 rewrite_one_header: type=F:
  20:47:48 45345   From: myusername <myusername@???>
  20:47:48 45345 rewrite_one_header: type=T:
  20:47:48 45345   To: test1@???
  20:47:48 45345 rewrite_one_header: type=S:
  20:47:48 45345   Sender: "myusername@???


So it looks like these lines in my config are doing it:

  accept  authenticated = *
          control       = submission


So I suppose I could remove the "control" line, but I'm thinking that this
would be a Bad Idea. What is the Right Way to do fix this?

Normally, I wouldn't care because everything looks alright in my mail client
(Kmail) but the Outlook users in the office get the "From: " line munged
into:

"user@??? on behalf of "user@???"

And it's pissing people off. Please help :-(


--
Lift up yourselves, men,
take yourselves out of the mire and hitch your hopes to the stars;
Yes, rise as high as the very stars themselves.
Let no man pull you down, let no man destroy your ambition,
because man is your brother;
he is not your lord.
- Marcus Garvey