[exim] virtual domains, incorrect envelope-from

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Seth Dillingham
Dátum:  
Címzett: exim-users
Tárgy: [exim] virtual domains, incorrect envelope-from
Exim is happily handling mail for a number of virtual domains with
non-login accounts, both incoming and outgoing.

However, all mail sent by our users through our server ends up with a
bad Envelope-From address.

Here's an example from a message I just sent:

Received: from xxx.ri.ri.cox.net ([y.y.y.y] helo=Sprung-Sprocket.local)
    by zzz.macrobyte.net with esmtpsa (TLSv1:AES128-SHA:128)
    (Exim 4.72)
    (envelope-from <"seth@???>)
    id LB7Q4I-000MMQ-4X
    for seth.dillingham@???; Mon, 01 Nov 2010 11:38:42 -0400


The correct address, of course, is just "seth@???".

I've seen some mail rejections, though it's not clear if they're being
caused by these strange Envelope addresses.

All relaying requires smtp authentication via either PLAIN, LOGIN, or CRAM-MD5.

In the MUA, the users set their smtp user id as "user@???" (so
in my case, it's "seth@???").

Using sg, i extract the host name from the user id, and find that
domain's password file. The passwords within that file are of keyed on
only the local part of the user name.

My guess is that I've caused the bogus Envelope-From addresses by
using the full email address as the smtp auth user name.

What's the right way to do this?

Thanks for any guidance...

Seth