[sldev] [LSL] [POSTFIX PROBLEMS] Object Email Receive from external domain problems

Kamilion kamilion at gmail.com
Sun Jun 10 22:53:26 PDT 2007


I'm having some problems with objects and receiving email from outside
of the secondlife.com domain -- They seem to be failing without an
error or bounce message, and the object never appears to receive the
email. I was hoping someone could look into this or point someone who
can at it. I submitted a ticket in the new support system, TicketID
4051-4201708.

Synopsis:
Object Sending Email (Working)
Object Receiving Email from another Object (Working)
Object Receiving Email from Google Apps for your Domain hosted system:
(sllabs.com) (NOT WORKING)
Object Receiving Email from Google Mail (gmail.com) (NOT WORKING)


More information follows, including scripts used and messages inline.

SENDER Script: (WORKS)

string address;
string subject = "Test!";
string message = "This is a test message.";

default
{
    state_entry()
    {
        llSay(0, "Email Test Unit. Touch me to Send Demo Email.");
    }

    touch_start(integer total_number)
    {
        address = (string)llGetKey() + "@lsl.secondlife.com";
        llEmail(address, subject, message); // Send email to self.
    }
}

RECEIVER Script: (Works)

default {
    state_entry() {
        llSay(0, (string)llGetKey() + "@lsl.secondlife.com"); // List my Address

        llSetTimerEvent(2.5); // Poll for emails. (Yes, that is a
retarded way on an event-based system!)
    }

    timer() {
        llGetNextEmail("", ""); // Check for email with any sender
address and subject.
    }

    touch_start(integer total_number)
    {
        //llSetTimerEvent(2.5);
    }
    email(string time, string address, string subj, string message,
integer num_left) {
        llSay(0, "You got mail! " + (string)num_left + " more mails.");
        llSay(0, "\n" + llList2CSV([time, address, subj, message]));
        if (num_left == 0) {
            //llSetTimerEvent(0.0); // Stop timer when there's no more email.
            llSay(0, "No more mail!");
        }
    }
}

RESULT: (WORKS)
[21:35]  Object: You got mail! 0 more mails.
[21:35]  Object:
1181536529, 513d65af-98e3-f2ef-db09-9a112eca5d28 at lsl.secondlife.com,
Test!, Object-Name: Object
Region: Gyeongju (263936, 232192)
Local-Position: (78, 8, 601)

This is a test message.
[21:35]  Object: No more mail!
[21:36]  Object: Email Test Unit. Touch me to Send Demo Email.
[21:37]  Object: 513d65af-98e3-f2ef-db09-9a112eca5d28 at lsl.secondlife.com






TRY Google Apps for your Domain hosted Email: (FAIL, NO DELIVERY)

SENDER Script: (Works)

string address;
string subject = "Test!";
string message = "This is a test message.";

default
{
    state_entry()
    {
        llSay(0, "Email Test Unit. Touch me to Send Demo Email.");
    }

    touch_start(integer total_number)
    {
        address = "phpsmtp at sllabs.com";
        llEmail(address, subject, message); // Send email to self.
    }
}


RESULT: (Works)

Delivered-To: phpsmtp at sllabs.com
Received: by 10.65.43.6 with SMTP id v6cs110378qbj;
        Sun, 10 Jun 2007 21:36:16 -0700 (PDT)
Received: by 10.114.78.1 with SMTP id a1mr5115599wab.1181536576719;
        Sun, 10 Jun 2007 21:36:16 -0700 (PDT)
Return-Path: <513d65af-98e3-f2ef-db09-9a112eca5d28 at lsl.secondlife.com>
Received: from sim324.agni.lindenlab.com (sim324.agni.lindenlab.com
[69.25.104.10])
        by mx.google.com with ESMTP id j21si7195806wah.2007.06.10.21.36.16;
        Sun, 10 Jun 2007 21:36:16 -0700 (PDT)
Received-SPF: neutral (google.com: 69.25.104.10 is neither permitted
nor denied by best guess record for domain of
513d65af-98e3-f2ef-db09-9a112eca5d28 at lsl.secondlife.com)
Received: from lindenlab.com (localhost [127.0.0.1])
	by sim324.agni.lindenlab.com (Postfix) with SMTP id 8CD0F5DC01F
	for <phpsmtp at sllabs.com>; Sun, 10 Jun 2007 21:36:15 -0700 (PDT)
From: "Object" <513d65af-98e3-f2ef-db09-9a112eca5d28 at lsl.secondlife.com>
To: <phpsmtp at sllabs.com>
Subject: Test!
Message-Id: <20070611043615.8CD0F5DC01F at sim324.agni.lindenlab.com>
Date: Sun, 10 Jun 2007 21:36:15 -0700 (PDT)

Object-Name: Object
Region: Gyeongju (263936, 232192)
Local-Position: (78, 8, 601)

This is a test message.


TRY REPLY: (DOES NOT WORK)

Received: by 10.65.43.6 with HTTP; Sun, 10 Jun 2007 21:36:42 -0700 (PDT)
Message-ID: <7da7ad240706102136n75ef386ag2f98228e3b569939 at mail.gmail.com>
Date: Sun, 10 Jun 2007 21:36:42 -0700
From: "SLLabs Domain" <phpsmtp at sllabs.com>
To: Object <513d65af-98e3-f2ef-db09-9a112eca5d28 at lsl.secondlife.com>
Subject: Re: Test!
In-Reply-To: <20070611043615.8CD0F5DC01F at sim324.agni.lindenlab.com>
Delivered-To: phpsmtp at sllabs.com

TESTING REPLY


And again from a real GMAIL account directly: (DOES NOT WORK)

Received: by 10.100.165.16 with HTTP; Sun, 10 Jun 2007 21:44:10 -0700 (PDT)
Message-ID: <c64198ff0706102144t6cf25c25t453657a4a1843b2b at mail.gmail.com>
Date: Sun, 10 Jun 2007 21:44:10 -0700
From: Kamilion <kamilion at gmail.com>
To: 513d65af-98e3-f2ef-db09-9a112eca5d28 at lsl.secondlife.com
Subject: Testing
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Delivered-To: kamilion at gmail.com

HEEEELLLLOOOOOOOOOO

No response from the receiver.
WTF?


More information about the SLDev mailing list