Re: [exim] rewrite issue [user: FW: Delivery Status Notifica…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Todd Lyons
Dátum:  
Címzett: The Doctor
CC: exim-users
Tárgy: Re: [exim] rewrite issue [user: FW: Delivery Status Notification (Failure)]
On Wed, Mar 30, 2011 at 9:16 PM, The Doctor <doctor@???> wrote:
> ----- Forwarded message from Maureen Esch <maureen@???> -----


We'll assume that this is your customer?

> DAVE
>
> It is still happening
>
> When is this going to be fixed!!!!
>
> And I am still getting unverified server message AND this From:
> from user's verified address [mailto:user@ns2] On Behalf
> Of Sernder's name.


Explained below.

> This is not GOOD - if you don't think you can resolve it in the next week -
> I am going to have to CHANGE providers NEXT WEEK
> This has gone on long enough - I CAN NOT continue with ALL these email
> issues


It is not clear to me exactly what the issue is that she is
complaining about, though I suspect the AUTH error that is shown below
is tied to it.

> -----Original Message-----
> From: Mail Delivery Subsystem [mailto:mailer-daemon@googlemail.com]
> Sent: Wednesday, March 30, 2011 10:50 AM
> To: rejected address
> Subject: Delivery Status Notification (Failure)
>
> Delivery to the following recipient failed permanently:
>
>     virtual address


"virtual address" is your user above that's complaining?

> Technical details of permanent failure:
> Google tried to deliver your message, but it was rejected by the recipient
> domain. We recommend contacting the other email provider for further
> information about the cause of this error. The error that the other server
> returned was: 535 535 5.7.8 Error: authentication failed: generic failure
> (SMTP AUTH failed with the remote server) (state 8).


Gmail is attempting to use Auth with your server. What do you see in
your logs about why auth is failing? What do you seen when you run
'exim -bh ip.of.gmail.server' and act like you're gmail sending an
email to this address?

> ----- Original message -----
>
> what the heck is that address???
>> *From:* sender verified address [mailto:sender verified address] *On
>> Behalf Of *user
> I have never seen this before...this is what the email address used to be
> ????


Gmail sticks to the RFC's very closely and adds "On Behalf Of" to
emails sent with an email address that they do not serve. Basically
there are three ways to use gmail servers:
1. Use a gmail.com address.
2. Assign your domain to be used with gmail.
3. Use an email alias with gmail (your domain is served by someone
other than gmail servers).

Case #1 is simple. Say I have the address todd@???. It's
obvious that this is served by gmail. So when I send from gmail, the
>From header just has First Last <todd@???>


Case #2 is straightforward too. Say I have the domain example.com
signed up with gmail. I sign in as todd@???, and I can send
as todd@??? and the From header has First Last
<todd@???>.

Case #3 is more complicated. Say I ALSO have the domain example.org,
but I host it on my own mail server. I have todd@??? on my
mail server forwarded to todd@???, which gets delivered to
gmail servers. I add todd@??? as an alias sending address in
my todd@??? mailbox on gmail.

Here's the complication. When I send an email as todd@???
using gmail, gmail knows that it's not the primary service for this
domain. Therefore, it sends email from your alias, but it says "on
behalf of" a mailbox that it _does_ have complete authority for, the
one you signed in as, which is todd@???. So you see From
First Last <todd@???> On Behalf Of <todd@???>.

There are two ways to make this stop happening.
1. Change the customer domain to be hosted by gmail. Probably not
your goal since that would take business away from you (but if you
truly value your customer, you should mention it as an option).
2. Configure gmail to use smtp auth to send *@example.org (i.e. your
customer's domain) email through your mail server.

See http://gmailblog.blogspot.com/2009/07/send-mail-from-another-address-without.html

> On Wed, Mar 30, 2011 at 10:46 AM, User<
> virtual address> wrote:
>>  Back at you
>> But notice it is still has the odd address -
>>
>> *From:* user-verified-address [mailto:user-verified-address]
>> *On Behalf Of *USer
>> *Sent:* Wednesday, March 30, 2011 9:55 AM
>> *To:* REcipient
>> *Subject:* test test test
>>
>> this is a test..
>> sending email from gmail -using promoteyourbusiness as my return
>> address-is coming back undeliverable.


*WHAT* is saying that her return address is coming back undeliverable.
What is she using as her return address? And who is she sending to
that says her return address is undeliverable.

>> So I am sending from Mozilla to promoteyourbusiness
> ----- End forwarded message -----


> Do I need a rewrite rule?


For what?

--
Regards...      Todd
"It is the nature of the human species to reject what is true but
unpleasant and to embrace what is obviously false but comforting."
"You might be a skeptic if you have pedantically argued the topic of pedantry."