• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1519
Type: Bug Bug
Status: Reopened Reopened
Priority: Major Major
Assignee: Unassigned
Reporter: Dedric Mauriac
Votes: 15
Watchers: 8
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Forwarding email to in-world object bounces

Created: 11/Feb/08 11:17 PM   Updated: 18/Oct/09 06:15 AM
Component/s: None
Affects Version/s: 1.26 Server, 1.27 Server
Fix Version/s: None

Last Triaged: 14/Apr/09 09:46 AM
Linden Lab Issue ID: DEV-30652


 Description  « Hide
I keep running into problems when setting up a filter to forward email to my object in-world when a received email meets a specific condition.

Create a new filter in your gmail account:

  • Where the subject contains SL-TEST-FORWARDING
  • Click [Next Step...]
  • forward it to: your-object-key@lsl.secondlife.com
  • Click [Create Filter]
  • Now send an email to the gmail account from a different address with the subject SL-TEST-FORWARDING

Emailing the object directly works fine.

In this case, I was using dedric.mauriac@gmail.com to send a message to lewismoten@gmail.com, which was forwarding to 7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com

Return message - Your email must be addressed to an object key or an IM session identifier.

Here is the output of the bounced message. It doesn't make sense:

Delivered-To: lewismoten+caf_=7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3=lsl.secondlife.com@gmail.com
Received: by 10.114.53.16 with SMTP id b16cs671793waa;
Mon, 11 Feb 2008 23:09:33 -0800 (PST)
Received: by 10.142.80.7 with SMTP id d7mr748013wfb.60.1202800173047;
Mon, 11 Feb 2008 23:09:33 -0800 (PST)
Return-Path: <>
Received: from data.agni.lindenlab.com (data.agni.lindenlab.com [64.154.223.192])
by mx.google.com with ESMTP id 24si6324061wff.10.2008.02.11.23.09.32;
Mon, 11 Feb 2008 23:09:33 -0800 (PST)
Received-SPF: pass (google.com: best guess record for domain of data.agni.lindenlab.com designates 64.154.223.192 as permitted sender) client-ip=64.154.223.192;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of data.agni.lindenlab.com designates 64.154.223.192 as permitted sender) smtp.mail=
Received: by data.agni.lindenlab.com (Postfix)
id 8D27025BE00; Mon, 11 Feb 2008 23:09:32 -0800 (PST)
Date: Mon, 11 Feb 2008 23:09:32 -0800 (PST)
From: MAILER-DAEMON@data.agni.lindenlab.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: lewismoten+caf_=7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3=lsl.secondlife.com@gmail.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="9B4DB25BD6A.1202800172/data.agni.lindenlab.com"
Message-Id: <20080212070932.8D27025BE00@data.agni.lindenlab.com>

This is a MIME-encapsulated message.

--9B4DB25BD6A.1202800172/data.agni.lindenlab.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host data.agni.lindenlab.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<mailtolsl@data.agni.lindenlab.com> (expanded from
<7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com>): Command died
with status 100: "/opt/linden/indra/tools/mailglue/mailglue --grid=agni
--system=lsl". Command output: Your email must be addressed to an object
key or an IM session identifier.

--9B4DB25BD6A.1202800172/data.agni.lindenlab.com
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; data.agni.lindenlab.com
X-Postfix-Queue-ID: 9B4DB25BD6A
X-Postfix-Sender: rfc822; lewismoten+caf_=7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3=lsl.secondlife.com@gmail.com
Arrival-Date: Mon, 11 Feb 2008 23:09:31 -0800 (PST)

Final-Recipient: rfc822; mailtolsl@data.agni.lindenlab.com
Original-Recipient: rfc822;7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; Your email must be addressed to an object key or an IM
session identifier.

--9B4DB25BD6A.1202800172/data.agni.lindenlab.com
Content-Description: Undelivered Message
Content-Type: message/rfc822

Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179])
by data.agni.lindenlab.com (Postfix) with ESMTP id 9B4DB25BD6A
for <7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com>; Mon, 11 Feb 2008 23:09:31 -0800 (PST)
Received: by wa-out-1112.google.com with SMTP id k34so2483967wah.10
for <7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com>; Mon, 11 Feb 2008 23:09:31 -0800 (PST)
Received: by 10.114.178.1 with SMTP id a1mr1029060waf.135.1202800171420;
Mon, 11 Feb 2008 23:09:31 -0800 (PST)
X-Forwarded-To: 7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com
X-Forwarded-For: lewismoten@gmail.com 7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com
Delivered-To: lewismoten@gmail.com
Received: by 10.114.53.16 with SMTP id b16cs671790waa;
Mon, 11 Feb 2008 23:09:31 -0800 (PST)
Received: by 10.141.27.16 with SMTP id e16mr664532rvj.259.1202800168744;
Mon, 11 Feb 2008 23:09:28 -0800 (PST)
Received: by 10.140.178.7 with HTTP; Mon, 11 Feb 2008 23:09:28 -0800 (PST)
Message-ID: <3d5bee660802112309x40fee13l355bf3eda7fc41ab@mail.gmail.com>
Date: Tue, 12 Feb 2008 02:09:28 -0500
From: "Dedric Mauriac" <dedric.mauriac@gmail.com>
To: lewismoten@gmail.com
Subject: SL-TEST-FORWARDING
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_2811_25511029.1202800168700"

------=_Part_2811_25511029.1202800168700
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

This is a simple test

Dedric Mauriac


blog: http://dedricmauriac.wordpress.com/
podcast: http://bluehair.podshow.com/

------=_Part_2811_25511029.1202800168700
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

This is a simple test<br clear="all"><br>-- <br><br>Dedric Mauriac<br><br>---<br>blog: <a href="http://dedricmauriac.wordpress.com/">http://dedricmauriac.wordpress.com/</a><br>podcast: <a href="http://bluehair.podshow.com/">http://bluehair.podshow.com/</a>

-----=_Part_2811_25511029.1202800168700-

-9B4DB25BD6A.1202800172/data.agni.lindenlab.com-



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Ilana Debevec added a comment - 05/Jun/08 04:49 PM
I'm having the same problem and I think I see the problem

in your messages —

Final-Recipient: rfc822; mailtolsl@data.agni.lindenlab.com
Original-Recipient: rfc822;7d06fb85-fb15-cb3e-4fa9-f87fe066b6e3@lsl.secondlife.com

see the two "rfc882;" items?

the one forwarded by Gmail has NO SPACE after the ";"
the one 'mailto lsls@" does...

I think the lack of the SPACE after the ; is the problem. The question is, who's at fault, Gmail or LL?


Homer Horwitz added a comment - 09/Jun/08 10:45 PM
Having tried a forward to my private email address via gmail, I think the problem might be that the "To:" header isn't changed (the email is forwarded as is), and still contains the destination gmail-address.

Maybe the mail-processor at LL just parses the content of the email for extracting the destination object from the "To:" header, and not from the recipient address it was sent to?


Lares Carter added a comment - 24/Sep/08 04:07 AM
I tried the forwarding from my gmail-account to a object in Second Life. It still gives the same error and bounces the E-Mail back.

Is there any progress on this bug? I could think of some nice scripting features when this auto-forwarding would work.

I also didnt found any other free e-mail provider yet, which gives the option to filter and auto-forward e-mails instantly. So i was not able to test with another provider.

The manual forwarding always works, but automated forwarding seems to be a problem.


Kahiro Watanabe added a comment - 11/Dec/08 06:34 AM
I have a similar problem, or maybe it is the same:

The system I'm working on sends a mail from a php script to an object. The object wasn't receiving any mail so I changed the e-mail address to my personal one to check that the PHP script was ok. And it worked. I tried a forwarding and I got the same problem than you do.

Also I tested an old project I made that sends mail from a PHP script, that I know it was working before and now it doesn't. So this bug is really serious. Is not only the forwarding that doesn't works, but mails sent from PHP script neither work.

Voted.


Gordon Wendt added a comment - 06/Apr/09 01:01 PM - edited
I couldn't reproduce this at all. I tried a filter based forward, a manual forward, and a regular email send, making sure the email queue was empty in between, and they all went through successfully. I'll append below the script that I used to test so that other people can try to reproduce.

default
{
state_entry()

{ llOwnerSay("active"); llOwnerSay(llGetKey()); }

touch_start(integer num_detected)

{ llOwnerSay("touched"); llGetNextEmail("",""); }

email(string time, string address, string subj, string message, integer num_left)

{ llOwnerSay(address + " " + subj); }

}


Alexa Linden added a comment - 07/Apr/09 09:18 AM
Can anyone still reproduce this and if so, please provide us with clear reproducible steps

Lares Carter added a comment - 07/Apr/09 11:37 PM
I still can reproduce this. It doesnt seem to be fixed by now.

Steps for reproduction:
1.) Create a gmail account, if you dont have one yet.

2.) Create two cubes in Second Life, cube A and cube B.

3.) Insert in cube A following script:

default
{
state_entry()

{ llOwnerSay((string)llGetKey()); llSetTimerEvent(1.0); }

timer()

{ llGetNextEmail("", ""); }

email( string time, string address, string subject, string message, integer num_left )

{ llSay(0, subject+"\n \n"+message); }

}

4.) Insert in cube B following script:

default
{
state_entry()

{ llOwnerSay((string)llGetKey()); }

touch_start(integer total_number)

{ llEmail("lares.carter@gmail.com","Testing Filter","nothing special in here..."); // replace "lares.carter@gmail.com" with your own adress }

}

5.) Create a new filter in the settings menu and set the subject filter to "Testing Filter". Click next step, check [x] Forward it to: and enter the adress with the key you received from Cube A. For example "db00239e-71bc-207d-b5c7-b214d47be3ca@lsl.secondlife.com".

6.) Touch cube B.

7.) Check your Inbox at gmail. You should receive the email from object B and some seconds later a mail delivery failure notice.

The mails i received:
FIRST E-MAIL:

from Object <db00239e-71bc-207d-b5c7-b214d47be3ca@lsl.secondlife.com>
to lares.carter@gmail.com
date Wed, Apr 8, 2009 at 8:04 AM
subject Testing Filter

Object-Name: Object
Region: SkyBeam (219136, 296704)
Local-Position: (218, 142, 700)

nothing special in here...

SECOND E-MAIL:

This is the mail system at host smtp1.agni.lindenlab.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<mailtolsl@smtp1.agni.lindenlab.com> (expanded from
<8e5d8896-f8e4-aafc-7c79-f2c116329048@lsl.secondlife.com>): Command died
with status 100: "/opt/linden/indra/tools/mailglue/mailglue --grid=agni
--system=lsl". Command output: Your email must be addressed to an object
key or an IM session identifier.

Final-Recipient: rfc822; mailtolsl@smtp1.agni.lindenlab.com
Original-Recipient: rfc822;8e5d8896-f8e4-aafc-7c79-f2c116329048@lsl.secondlife.com
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; Your email must be addressed to an object key or an IM
session identifier.

---------- Forwarded message ----------
From: "Object" <db00239e-71bc-207d-b5c7-b214d47be3ca@lsl.secondlife.com>
To: <lares.carter@gmail.com>
Date: Tue, 7 Apr 2009 23:04:02 -0700 (PDT)
Subject: Testing Filter
Object-Name: Object
Region: SkyBeam (219136, 296704)
Local-Position: (218, 142, 700)

nothing special in here...

Alexa, did anyone check if it actually is the extra "rfc822;" added to the key of the object and the missing space in front of it? If i look up "rfc822;" then i get that it is the "STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES".
In my opinion its either gmail not sticking to the standards for forwarding mails or the servers of Linden Lab being unable to identify the extra added information to forwarded mails.
Gordon can you please say which e-mail provider you used for the forwarding?


k3ith Karu added a comment - 31/Jul/09 10:10 PM
still an issue for me. any progress?

DoctorPartridge Allen added a comment - 18/Oct/09 06:15 AM
Confirmed. I'm seeing the same exact problem. If you attempt to use auto-forward from gMail (the filter based autoforward) the object in-world will not receive the message.

It appears the the address rfc822; is added as the initial address, but this appears only to be added when sent to linden servers.

A web search yielded the following;
"Are you using a Cisco Firewall? If so disable SMTP Fixup / SMTP Inspection as these can cause the issues you report."

Is it possible that the Firewall SMTP fixup is interfering with incoming forwarded messages? Adding an additional recipient, (rfc822) prior to the object address?