Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SMTP Relay into SL Objects

Caoimhe Armitage
Script Witch
Join date: 7 Sep 2004
Posts: 117
08-08-2006 06:51
Hey ho -

I have a daemon that receives email messages from an in-world object. It occasionally detects some erroneous conditions in that object and needs to send emails back to that object. I'm finding that whatever SMTP server I use that is *not* hosted at LL I get a "relay denied" error (SMTP error 554 I believe). So what is the name of the SMTP server I can send my emails to at LL?

and lsl.secondlife.com, mail.secondlife.com, smtp.secondlife.com all don't seem to exist :P

- C
Xavior Nicholas
Registered User
Join date: 24 May 2006
Posts: 25
08-08-2006 07:24
From: Caoimhe Armitage
Hey ho -

I have a daemon that receives email messages from an in-world object. It occasionally detects some erroneous conditions in that object and needs to send emails back to that object. I'm finding that whatever SMTP server I use that is *not* hosted at LL I get a "relay denied" error (SMTP error 554 I believe). So what is the name of the SMTP server I can send my emails to at LL?

and lsl.secondlife.com, mail.secondlife.com, smtp.secondlife.com all don't seem to exist :P

- C


If you're trying to send messages back to the object, you have to send it to it's UUID with <UUID>@lsl.secondlife.com. Just sending messages to the server itself wouldn't accomplish much, but here's the DNS MX record information if you need it anyway:

CODE

; <<>> DiG 9.3.2 <<>> MX lsl.secondlife.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30661
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;lsl.secondlife.com. IN MX

;; ANSWER SECTION:
lsl.secondlife.com. 3600 IN MX 10 data.agni.lindenlab.com.

;; AUTHORITY SECTION:
secondlife.com. 153824 IN NS ns-d.pnap.net.
secondlife.com. 153824 IN NS ns-a.pnap.net.
secondlife.com. 153824 IN NS ns-b.pnap.net.
secondlife.com. 153824 IN NS ns-c.pnap.net.

;; ADDITIONAL SECTION:
ns-a.pnap.net. 67110 IN A 64.94.123.4
ns-b.pnap.net. 67110 IN A 64.94.123.36
ns-c.pnap.net. 67110 IN A 64.95.61.4
ns-d.pnap.net. 67110 IN A 64.95.61.36

;; Query time: 48 msec
;; SERVER: 65.64.221.201#53(65.64.221.201)
;; WHEN: Tue Aug 8 09:18:38 2006
;; MSG SIZE rcvd: 220
Caoimhe Armitage
Script Witch
Join date: 7 Sep 2004
Posts: 117
08-08-2006 09:49
From: Xavior Nicholas
If you're trying to send messages back to the object, you have to send it to it's UUID with <UUID>@lsl.secondlife.com. Just sending messages to the server itself wouldn't accomplish much,


yes. I already had that part. The problem was getting my ISP's SMTP to talk to linden's SMTP. They won't, so I need to connect to LL's SMTP directly.

[Quote-Xavior Nicholas]
but here's the DNS MX record information if you need it anyway:

CODE

; <<>> DiG 9.3.2 <<>> MX lsl.secondlife.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30661
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;lsl.secondlife.com. IN MX

;; ANSWER SECTION:
lsl.secondlife.com. 3600 IN MX 10 data.agni.lindenlab.com.
[/QUOTE]

Brill! Thank you very much.

- C
Xavior Nicholas
Registered User
Join date: 24 May 2006
Posts: 25
08-08-2006 10:09
From: Caoimhe Armitage
yes. I already had that part. The problem was getting my ISP's SMTP to talk to linden's SMTP. They won't, so I need to connect to LL's SMTP directly.

From: Xavior Nicholas

but here's the DNS MX record information if you need it anyway:

CODE

; <<>> DiG 9.3.2 <<>> MX lsl.secondlife.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30661
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;lsl.secondlife.com. IN MX

;; ANSWER SECTION:
lsl.secondlife.com. 3600 IN MX 10 data.agni.lindenlab.com.


Brill! Thank you very much.

- C


Oh, I see what you're trying to do. It sounds like you're trying to relay messages through your ISP from your location to LL's servers. That would be problematic, because ISPs typically only allow for relaying as long as you're authenticated, if at all. A better solution you should look into is using your own SMTP server to send messages, so that you can send them directly from your location to LL's servers without the need for relaying. To do that, you would basically need your own SMTP server. I'm not sure of a reasonable windows answer to that, but a simple linux solution would be postfix or ssmtp (simple SMTP. which you may be able to run in cygwin within windows)