Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Emailing from one object to another

Keiki Lemieux
I make HUDDLES
Join date: 8 Jul 2005
Posts: 1,490
02-11-2006 19:03
I'm running into a problem. Here is what I'm trying to do:

1. Send an email from an object in SL to an outside email address.
2. Automatically forward the message back into a different object in the game.

Now I keep running into the following error when I try this:

From: someone
This is the Postfix program at host data.agni.lindenlab.com.

I'm sorry to have to inform you that your message could not be
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 Postfix program

<mailtolsl@data.agni.lindenlab.com> (expanded from
<db2e6918-7e77-acb5-57f1-ce21f0bc0112@lsl.secondlife.com>;): Command died
with status 100: "/opt/linden/indra/tools/mailglue/mailglue --grid=agni
--system=lsl --rpcserver=http://xmlrpc.secondlife.com/cgi-bin/xmlrpc.cgi".
Command output: Your email must be addressed to a UUID.


Now, I'm pretty sure that I'm forwarding this to the right address, but is there some reason that I cannot use an email forwarder to send messages to objects in this way?
_____________________
imakehuddles.com/wordpress/
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
02-11-2006 20:23
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: bounce@example.com", 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.