Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Forwarding Email from LSL through Gmail

Biros Tiros
Registered User
Join date: 18 Dec 2006
Posts: 2
03-21-2007 17:38
Ok, there's a few things you should know first :D

1. I'm using a gmail filter to forward LSL email from one prim to another
2. One object emails gmail, gmail forwards it to another object inworld
3. Whenever I try this (with the filter) I get a mail delivery subsystem error saying that the key i have specified does not exist as an object or IM session.
4. When I try it manually, I do not get this error.

And my question. What is wrong?

Could it be that the pre-message heading giving data about the object sending the mail shows TO: [email]whatever@gmail.com[/email] instead of what it is really to?

Thanks for your help, I haven't done much with llEmail(); :D
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
03-21-2007 19:26
/54/9d/88661/1.html
/54/27/87789/1.html

From: someone
It sounds like you are sending the email back in without changing the recipient address in the message envelope. Postfix knows the object key because it is in the SMTP RCPT command, but that information is not part of the actual message which is passed to mailglue. If the message says "To: [email]bounce@example.com[/email]", the script has no way to know where it's supposed to go. You can test this yourself by having it forward to a real email address instead, and hitting "view headers" or "view source" or "show original," and see what the To: header says.

If you are using a simple email alias there is probably not an easy way to make it work. If you can run the message through a script to send it back out, it should be easy.

objdns is made for this, though external emails are often delayed or broken completely while direct object-to-object emails work fine. A better idea is probably using httpdb or a website of your own to fetch the target object's key via llHTTPRequest() and emailing it directly with llEmail().
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
03-21-2007 20:32
From: Masakazu Kojima
external emails are often delayed or broken completely


Curious.... When you say "external emails" do you mean outbound to an external source or inbound from an external source?

I am evaluating httpwebmail and objdns for something I need to do, and for at least an hour yesterday it was inoperative.... But so was llEmail() for whatever reason, to the same email address, so I assume it was another SL quirk :)

By the way, objdns, httpwebmail, and httpdb are just freakin' awesome!!!!
_____________________
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
03-21-2007 21:13
I mean from an external source, inbound to SL.

/54/ed/161356/1.html
http://blog.secondlife.com/2007/02/23/email-to-scripts-broken-again-fixed-again/
http://blog.secondlife.com/2007/02/22/grid-updates/

There were lots of objdns emails stuck or lost late March 20th and early March 21st because of this error:
delivery temporarily suspended: connect to data.agni.lindenlab.com[66.150.244.192]: server dropped connection without sending the initial SMTP greeting)
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
03-21-2007 22:01
Hehehehehehe.... Thank you for your reply Masakazu :)




P.S.: Ignore the chucking, I was just getting a huge kick out of having better customer service on SL technical issues from someone that doesn't ask for my money than I am used to from LL directly.
_____________________
Biros Tiros
Registered User
Join date: 18 Dec 2006
Posts: 2
03-22-2007 17:15
wow, thanks guys. But, I took the freewebs hosting a .txt route. But thanks a bunch!