Re: alias.cfg
By: Digital Man to Amessyroom on Mon Jul 15 2024 07:18 pm
Re: alias.cfg
By: Amessyroom to All on Sun Jul 14 2024 04:28 pm
I'm interested in creating aliases to use on my
board, so I can use them rather than full addresses
of those I email through the bbs.
No, the alias.cfg file is used for receiving email via SMTP, not "through th BBS". It's documented here:
https://wiki.synchro.net/config:alias.cfg
Would sending netmail from bbs not use smtp ? If not I have attempted
to send mail from email client to alias and it is also failing.
I read that page before attempting to setup an alias
My understanding was that one do something like
myalias myemail@mydomain.com
in the alias.cfg file
Alias entry:
errolhome
errol@askerrol.org
Based on what you described, if your SMTP mail server receive an email for myalias@toolazy.ddns.net (assuming "toolazy.ddns.net" was set in SCFG->Networks->Internet->Address), then the mail served would receive the message successfully and then *relay* that message to myemail@mydomain.com.
toolazy.ddns.net is listed in the above configuration option.
The alias.cfg file is only used by the mail server for email messages receiv via SMTP[S].
Here is the logged error when the alias errolhome is used from email client
to defined alias in alias.cfg
mail to
sysop@toolazy.ddns.net works without issue, and is delivered to the account amessyroom (#1) on the bbs.
[sbbs@vmi1943160 ctrl]$ sudo grep errolhome /var/log/messages
Jul 14 16:27:42 vmi1943160 synchronet[62112]: mail 0136 SMTPS [185.70.43.17] !UNKNOWN USER-RECIPIENT: '<
errolhome@toolazy.ddns.net>'
Jul 14 17:45:07 vmi1943160 synchronet[69189]: term Node 1 <Amessyroom> sent Internet Mail to
errolhome@toolazy.ddns.net
Jul 14 17:45:09 vmi1943160 synchronet[69189]: mail 0000 SEND Message #1011 (49 of 49) from 'Amessyroom' #1 to 'errolhome' <
errolhome@toolazy.ddns.net>
Jul 14 17:45:09 vmi1943160 synchronet[69189]: mail 0047 SMTPS [127.0.0.1] !UNKNOWN USER-RECIPIENT: '<
errolhome@toolazy.ddns.net>'
Jul 14 17:45:09 vmi1943160 synchronet[69189]: mail 0046 SEND/TLS !INVALID RESPONSE: '550 Unknown User: <
errolhome@toolazy.ddns.net>' Expected: '25'
Jul 14 17:45:09 vmi1943160 synchronet[69189]: mail 0046 SEND !Delivery attempt #1 FAILED (127.0.0.1 replied with: "550 Unknown User: <
errolhome@toolazy.ddns.net>" instead of the expected reply: "25* ...") for message #1011 from Amessyroom to
errolhome@toolazy.ddns.net
Jul 16 05:18:39 vmi1943160 synchronet[69189]: mail 0048 SMTPS [185.70.40.22] !UNKNOWN USER-RECIPIENT: '<
errolhome@toolazy.ddns.net>'
---
þ Synchronet þ Too Lazy BBS - Sit back and read and play games - toolazy.ddns.net:2323