thanks, max
--
Posted via http://www.ruby-forum.com/.
Hi fred - i'm not sure what you mean. Do you mean i should be setting
reply-to (or is it "Reply-To"?) to "nor...@charanga.com" as well? Or
instead of Return-Path?
That's what i thought, but it's not working for me: currently i'm doing
this
'From' = "webm...@ourdomain.com"
'Return-Path' = "nor...@ourdomain.com"
'To' = "lkajsdkjhkljshdkljhsd...@gmail.com"
This should get bounced back by gmail, and i'd think it would get
bounced back to the noreply address. But, the noreply mailbox doesn't
get anything back.
Ok, i just stripped out any extra headers (so i'm just setting to, from,
subject, and body) and then sent a mail with the from field set to my
yahoo email and the from field set to my gmail email.
Changing the addresses to protect the innocent, let's say that i set it
up as follows:
>> From: my-yahoo...@yahoo.co.uk
>> To: my-gmail...@gmail.com
>> Subject: "Hello dummy"
>> Body: "Hello dummy\n"
So, i sent that out, recieved it in gmail and inspected it, to see the
following:
>> Delivered-To: my-gmail...@gmail.com
>> Received: by 10.52.156.164 with SMTP id wf4cs20192vdb;
>> Mon, 28 Mar 2011 05:29:27 -0700 (PDT)
>> Received: by 10.227.163.133 with SMTP id a5mr3664403wby.73.1301315366670;
>> Mon, 28 Mar 2011 05:29:26 -0700 (PDT)
>> Return-Path: <my-yahoo...@yahoo.co.uk>
>> Received: from uk1w2c0067.eechost.net (uk1w2c0067.eechost.net [217.69.46.42])
>> by mx.google.com with ESMTP id u2si6545764wbd.60.2011.03.28.05.29.26;
>> Mon, 28 Mar 2011 05:29:26 -0700 (PDT)
>> Received-SPF: neutral (google.com: 217.69.46.42 is neither permitted nor
denied by best guess record for domain of my-yahoo...@yahoo.co.uk)
client-ip=217.69.46.42;
>> Authentication-Results: mx.google.com; spf=neutral (google.com: 217.69.46.42
is neither permitted nor denied by best guess record for domain of
my-yahoo...@yahoo.co.uk) smtp.mail=my-yahoo...@yahoo.co.uk
>> Received: from ec2 ([75.101.135.251]) by uk1w2c0067.eechost.net with Microsoft
SMTPSVC(6.0.3790.4675);
>> Mon, 28 Mar 2011 13:30:03 +0100
>> Received: from localhost ([127.0.0.1] helo=ir.charanga.com)
>> by ec2 with esmtp (Exim 4.63)
>> (envelope-from <my-yahoo...@yahoo.co.uk>)
>> id 1Q4BZV-00032m-Fq
>> for my-gmail...@gmail.com; Mon, 28 Mar 2011 13:29:25 +0100
>> Date: Mon, 28 Mar 2011 13:28:39 +0100
>> From: my-yahoo...@yahoo.co.uk
>> To: Dummy User <my-gmail...@gmail.com>
>> Subject: Hello dummy
>> Mime-Version: 1.0
>> Content-Type: text/plain; charset=utf-8
>> Message-Id: <E1Q4BZV-00032m-Fq@ec2>
>> Return-Path: my-yahoo...@yahoo.co.uk
>> X-OriginalArrivalTime: 28 Mar 2011 12:30:03.0500 (UTC)
FILETIME=[DCE862C0:01CBED43]
>>
>> Hello dummy
I tried again, setting the 'Return-Path' header when building the email,
but the "Return-Path" header in the received mail is still set to be the
same as the from address.
ah...in that case (assuming other mail servers will do the same thing)
then i'm screwed, right? As far as having a bounce address which is
different to the from address goes anyway.