[Box-Admins] [Board] [squeak-dev] SqueakMap down?

Levente Uzonyi leves at caesar.elte.hu
Sun Sep 6 23:07:26 UTC 2020


On Sun, 6 Sep 2020, Chris Muller wrote:

> How do we make Squeak use our own email server?  Is it a matter of
> simply specifying the correct server name in the correct place?

When you send an email with SMTPClient, you have to specify a server - aka 
a relay - you want to use to deliver emails. 
I just downloaded the SqueakMap image and it's using localhost as the mail 
server. Localhost has a mail server set up, but it's probably not 
configured properly to forward emails to mail.squeak.org.
Probably the best would be if SqueakMap sent mails directly to 
mail.squeak.org.

I don't know who installed exim on that machine and why, but it was very 
likely a mistake and unless there is an explanation for it (nothing in the 
admin log), I'll remove it soon.

>
> How do mail servers know that the password request email was sent
> directly from Squeak and therefore to block it?  I'm still learning,
> thanks.

That's quite complicated. When you connect to an SMTP server, the first 
command is EHLO (or HELO), in which you claim your domain name. That is 
the first thing the server will verify (along with your IP address) based 
on information available in DNS.
If you try to send an email from the SqueakMap server directly, you'll 
fail right at this point, because that server is not a legit source of
@squeak.org emails according to the DNS records.


Levente

>
> On Sun, Sep 6, 2020 at 12:03 PM Levente Uzonyi <leves at caesar.elte.hu> wrote:
>>
>> Hi All,
>>
>> (CC'd board as well)
>>
>> I have restarted the image. It seemed to have been locked up by trying to
>> send a password recovery email directly from the server instead of using
>> our own mail server[1].
>> This is bad practice and the IP of the server has been rightfully added to
>> some spam blacklists, hence the blocked image (which expects that email
>> sending always succeeds...).
>> Outgoing emails should go through our own mail server. This needs to be
>> changed ASAP, as I suppose a few more password reminders will result in a
>> locked up image again.
>>
>>
>> Levente
>>
>> [1] Relevant parts of the stack trace in case someone wants to have a look
>> at the image:
>>
>> SMUtilities class>>mail:subject:message:
>> SMUtilities class>>mailPassword:for:
>> [] in SMSqueakMapView>>mailnewpassword {[username value isEmptyOrNil
>> ifFalse: [account := model accountForUsername...]}
>>
>>
>> On Sat, 5 Sep 2020, David T. Lewis wrote:
>>
>>> Forwarding to the box-admins list.
>>>
>>> The web interface for map.squeak.org is not responding, and updating
>>> a SqueakMap Package Loader from Squeak is not working. Presumably the
>>> server needs to be bumped.
>>>
>>> I'm not sure who has the keys to this?
>>>
>>> Thanks,
>>> Dave
>>>
>>>
>>> On Sat, Sep 05, 2020 at 03:44:45PM -0400, Phil B wrote:
>>>> It doesn't appear to be responding to requests (gateway time-out)
>>>>
>>>
>>>
>


More information about the Box-Admins mailing list