<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.apple-style-span
{mso-style-name:apple-style-span;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple style='word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Tom,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As you suggest if you went down the route of managing security on
a local SMTP relay, then yes that would work to a point and would work along
the lines of this:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Region object </span><span style='font-size:11.0pt;font-family:
Wingdings;color:#1F497D'>à</span><span style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#1F497D'> local SMTP relay/server (rules are set
here) </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>à</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> ISP
SMTP server </span><span style='font-size:11.0pt;font-family:Wingdings;
color:#1F497D'>à</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> recipients<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>However, you need to look into what kind of rules you apply, and
some mail servers/SMTP engines are not very friendly with rules etc, such as MS
Exchange (though I cannot comment about the 2007 version yet). You would need
to decide what kind of rules you do implement; from, to etc. You could allow it
from a single object e-mail address, but that would give you a headache if the
UUID changed as you would need to update your rules for that each time the UUID
changed, such as creating a copy of the object and deleting the old one. You could
implement that only x, y and z recipients can receive mail from @domain. Again
this would be an administrative nightmare if users were constantly changing,
unless some kind of autonomous system was implemented to update the rules when
a user ‘used’ the object; again probably more trouble than it is
worth. The alternatives are just simply do not use e-mail, again out of the question
for some, or disable scripts on your region for everyone other than yourself.
All are not good solutions and it really is a balance between functionality and
risk.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It has been a while since I last played with e-mail in OpenSim,
but when I last had it setup I created a separate SMTP connector in MS
Exchange, on a different port and IP on my local lan all for the purpose of
letting my region objects use it. I also locked it right down so that it would
ONLY send to my own local domain, and that was about as far as I ever got with
it. I would personally love to see email fully implemented on every instance of
OpenSim for object to object comms and would open up a whole range of
possibilities for those that wanted to use such, such as inter-grid object to
object comms. Yes, I do believe this would work providing you knew the
recipient object e-mail address, but regardless of the possibilities the risk
shall always remain (I’m also not sure if llGetNextEmail is implemented
or not).<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>However there is one possibility I can think of that would
really lower the risk of email being abused and that would be to take the
current llEmail function and make an OSSL function (osEmail, or osSendEmail)
that did exactly the same as llEmail, but with the added benefit that a region
owner could choose which avatar UUID could use the function. I’m really
not sure what would be involved in creating a new OSSL email function, but it
is certainly something I will look into, when I have the chance.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Adelle<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> opensim-users-bounces@lists.berlios.de
[mailto:opensim-users-bounces@lists.berlios.de] <b>On Behalf Of </b>Tom Willans<br>
<b>Sent:</b> 11 December 2009 08:17<br>
<b>To:</b> opensim-users@lists.berlios.de<br>
<b>Subject:</b> Re: [Opensim-users] SLoodle in OpenSim: Email module<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Adelle,<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>This is useful advice, and a good reminder to look at
security issues in general. It is my understanding that you can still use an
external ISP if you are doing it via a local SMTP server whose security you can
manage at your end. Presumably it is also less of a risk, provided you can
ensure only trusted individuals have access to your region as may be the case
for private development uses. Any views welcome.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Tom<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Can I clarify that if you use your own smtp server and that
then uses an external public ISP you should also be OK. By running <o:p></o:p></p>
<div>
<div>
<p class=MsoNormal>On 10 Dec 2009, at 13:40, Adelle Fitzgerald wrote:<o:p></o:p></p>
</div>
<p class=MsoNormal><br>
<br>
<o:p></o:p></p>
<div>
<div>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Please be aware of the risks of enabling e-mail on your region
and that it could be used for spam purposes. It would be very easy for someone
to write a simple LSL script to fetch a whole bunch of e-mail addresses from an
external database/website and then loop sending each one a spam message. IMHO,
enabling SMTP on a region should only be done if you can control the flow of
mail at your SMTP server, and do not use a public or ISP SMTP server as you have
no control over it.</span><span style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>My suggestion if you do have access to your own SMTP server is
to create a rule where the sending domain can only be sent to destination
domain, and no other. By doing that it will minimise the risk of spam messages.
The first thing spammers do is see if a relay is open before they flood it with
spam. If they try and get no message through, they will move on to their next
target. Alternatively, running an SMTP server in a closed environment with no
external access would be ok.</span><span style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Adelle.</span><span style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='color:black'><o:p></o:p></span></p>
</div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-width:initial;border-color:initial'>
<div>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'>From:</span></b><span
class=apple-converted-space><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'> </span></span><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><a href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a><span
class=apple-converted-space> </span>[<a
href="mailto:opensim-users-bounces@lists.berlios.de">mailto:opensim-users-bounces@lists.berlios.de</a>]<span
class=apple-converted-space> </span><b>On Behalf Of<span
class=apple-converted-space> </span></b>Andy Konstandinidis<br>
<b>Sent:</b><span class=apple-converted-space> </span>10 December 2009
09:56<br>
<b>To:</b><span class=apple-converted-space> </span><a
href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br>
<b>Subject:</b><span class=apple-converted-space> </span>Re:
[Opensim-users] SLoodle in OpenSim: Email module</span><span style='color:black'><o:p></o:p></span></p>
</div>
</div>
<div>
<p class=MsoNormal><span style='color:black'> <o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:black'>Thanks
for the prompt reply! I will try this and get back to you!<o:p></o:p></span></p>
<div>
<div>
<p class=MsoNormal><span style='color:black'>On Thu, Dec 10, 2009 at 11:50 AM,
Olish Newman <<a href="mailto:olish@newworldgrid.com">olish@newworldgrid.com</a>>
wrote:<o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:black'>Hi
Andy,<br>
<br>
In order to get emails working through the llEmail() LSL function, you need to
configure the following section in your OpenSim.ini file :<br>
<br>
</span><span style='font-family:"Courier New";color:black'>[SMTP]<br>
enabled = true<br>
internal_object_host = lsl.opensim.local<br>
host_domain_header_from = 127.0.0.1<br>
SMTP_SERVER_HOSTNAME =<span class=apple-converted-space> </span><a
href="http://smtp.yourdomain.com/" target="_blank">smtp.yourdomain.com</a><br>
SMTP_SERVER_PORT = 25<br>
SMTP_SERVER_LOGIN = smtp_user<br>
SMTP_SERVER_PASSWORD = smtp_password</span><span
style='color:black'><br>
<br>
Replace your current SMTP section in the OpenSim.ini by the code above. You
need to provide your own SMTP server information and it should work.<br>
<br>
Regards,<br>
Olish.<br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<div>
<div>
<p class=MsoNormal><span style='color:black'>2009/12/10 Andy Konstandinidis
<<a href="mailto:knave84@gmail.com" target="_blank">knave84@gmail.com</a>><o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<div>
<p class=MsoNormal><span style='color:black'>Hello! I'm trying to use SLoodle
in Opensim! I have setup my Opensim server and it is working fine. I have
also loaded the .oar file of the Sloodle set. Yet when I try to configure
the sloodle set to connect to the moodle site (by touching it in the 3D
world) I get an error:<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><span style='color:blue'>SLOODLE Set 0.9 (RC1) -- COMPLETE
(Fix 1.0): llGetNextEmail: email module not configured</span><span
style='color:black'><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><span style='color:black'> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><span style='color:black'>Anyone know how this issue can be
resolved? Thanks!<span class=apple-converted-space> </span><br clear=all>
<br>
--<span class=apple-converted-space> </span><br>
Andreas Konstantinidis <br>
<br>
Research Assistant, SEERC (South- East European Research Center)<br>
PhD Candidate, Informatics Dept.,<span class=apple-converted-space> </span><a
href="http://a.u.th/" target="_blank">A.U.TH</a>.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class=MsoNormal><span style='color:black'> <o:p></o:p></span></p>
</div>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:black'>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:black'><br>
<br>
<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:black'><br>
<br clear=all>
<br>
--<span class=apple-converted-space> </span><br>
Andreas Konstantinidis <br>
<br>
Research Assistant, SEERC (South- East European Research Center)<br>
PhD Candidate, Informatics Dept.,<span class=apple-converted-space> </span><a
href="http://A.U.TH">A.U.TH</a>.<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>Tom Willans <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>Managing Director<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:9.0pt;
font-family:"Helvetica","sans-serif";color:#990000'>Bessacarr Publications Ltd</span></span><span
style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>3 Highfield, Hatton Park, Warwick, CV35 7TQ<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'><a href="mailto:tom.willans@bessacarr.com">tom.willans@bessacarr.com</a> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>+44 (0) 1926 402055 +44 (0) 121 288 0281<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>Registered in England and Wales at the above
address. Company No: 4925067. VAT No:GB 823 9317 24.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'>This e-mail is confidential and intended solely for the use of the
individual to whom it is addressed. Any views or opinions presented are solely
those of the author and do not necessarily represent those of Bessacarr
Publications Ltd. If you are not the intended recipient you have received this
e-mail in error and that any use, dissemination, forwarding, printing or
copying of this e-mail is strictly prohibited. Please return it to the sender
immediately. The contents of this message may be legally privileged.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";
color:black'><br>
<br>
<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>