Hello g00r00 and everyone else!
On 24 Aug 2019, Zip said the following...
* SMTP using Microsoft's outlook.com appears not to work. During the SMTP
session, after negotiating TLS usage, their SMTP server appears to expect another HELO:
2019.08.05 14:11:44 SMTP S:STARTTLS
2019.08.05 14:11:44 SMTP R:220 2.0.0 SMTP server ready
2019.08.05 14:11:44 SMTP S:AUTH CRAM-MD5
2019.08.05 14:11:49 SMTP R:503 5.5.2 Send hello first
It appears that outlook.com has more "problems" -- they require at least the SMTP Envelope From (MAIL FROM) to match the outlook.com account name, and possibly also the mail From: header to match the outlook.com account name as well.
As Mystic BBS sends out e-mails with SMTP Envelope From, Return-Path: and
From: all set to "sysop@<Domain Name>", this effectively renders outlook.com accounts unusable with Mystic BBS.
However -- if you send the e-mails through your local SMTP server (in my case Exim 4 on Debian), it might be possible to re-write the sysop@ e-mail address and replace it with the desired e-mail address (the e-mail address of the outlook.com account).
I managed to do this by adding the following to my Exim 4 (split)
rewrite configuration:
[/etc/exim4/conf.d/rewrite/99_local]
.ifndef NO_EAA_REWRITE_REWRITE
# CUSTOM: Rewrite ALL envelope fields and headers (see /usr/local/etc/exim4/custom-email-addresses for more information)
*@* "${lookup{$1@$2}lsearch{/usr/local/etc/exim4/custom-email-addresses}\
{$value}fail}" Eh
.endif
[/usr/local/etc/exim4/custom-email-addresses]
# CUSTOM: Rewriting of sender addresses (see
/etc/exim4/conf.d/rewrite/99_local for more information)
#
# Format:
# <sender address>: <replacement sender address>
sysop@scbbs.nsupdate.info:
scbbs-NO-REPLY@outlook.com
Followed by running:
update-exim4.conf
systemctl restart exim4
And of course configuring Mystic BBS to use the local SMTP server, e.g.:
Domain Name │ scbbs.nsupdate.info
Enable SMTP Send │ Yes
SMTP Host │ 127.0.0.1
SMTP IP Type │ IPV4 Only
SMTP Login │
SMTP Password │
SMTP Auth Type │ None
SMTP Use SSL/TLS │ No
Seems to be working fine!
(I also have some custom Exim 4 configuration for choosing different
smarthosts and/or accounts/credentials for mail sent From: different e-mail addresses, but that has nothing to do with the actual rewriting of the "from" addresses described here.)
Hope this helps if anyone else is experiencing problems using outlook.com e-mail accounts with Mystic BBS.
It would of course be great if the "from" addresses were configurable in
future versions of Mystic BBS; this would allow the e-mail feature to be used directly with more e-mail providers.
Best regards
Zip
--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)