• alias.cfg

    From Amessyroom@1:103/705 to All on Sun Jul 14 16:28:27 2024
    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.

    My understanding was that one do something like

    myalias myemail@mydomain.com

    in the alias.cfg file

    I've done this, and restarted the mail server. But get
    error messages when I try to send to myalias@toolazy.ddns.net

    Are there other options I have to turn on ?

    I have enabled "Receive by Sysop Aliases" .

    I get unknown user if I try to email to the aliases on
    the bbs via netmail/internet, or through proton mail.

    ---
    þ Synchronet þ Too Lazy BBS - Sit back and read and play games - toolazy.ddns.net:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Amessyroom on Mon Jul 15 19:18:41 2024
    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 the BBS". It's documented here:
    https://wiki.synchro.net/config:alias.cfg

    My understanding was that one do something like

    myalias myemail@mydomain.com

    in the alias.cfg file

    I've done this, and restarted the mail server.

    Changes to the alias.cfg file do not require a restart of the mail server.

    But get
    error messages when I try to send to myalias@toolazy.ddns.net

    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.

    Are there other options I have to turn on ?

    I have enabled "Receive by Sysop Aliases" .

    That option is unrelated.

    I get unknown user if I try to email to the aliases on
    the bbs via netmail/internet, or through proton mail.

    The alias.cfg file is only used by the mail server for email messages received via SMTP[S].
    --
    digital man (rob)

    This Is Spinal Tap quote #22:
    David St. Hubbins: Here lies David St. Hubbins... and why not?
    Norco, CA WX: 80.1øF, 56.0% humidity, 7 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Amessyroom@1:103/705 to Digital Man on Tue Jul 16 05:53:42 2024
    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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Amessyroom@1:103/705 to Digital Man on Tue Jul 16 06:06:27 2024
    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


    The alias.cfg file is only used by the mail server for email messages receiv via SMTP[S].
    Further testing shows, aliases defined to go to a user number (i.e. 1) work.

    Alias to email address , fail.

    Alias to sub:<internal_code> of message area fail.

    errolhome errol@askerrol.org
    notice sub:LOCAL-NOTICES
    e 1
    amr 1

    Is there anything else, I can try and collect to determine why
    this isn't working as designed.

    ---
    þ Synchronet þ Too Lazy BBS - Sit back and read and play games - toolazy.ddns.net:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Amessyroom@1:103/705 to Digital Man on Tue Jul 16 06:23:41 2024
    Re: alias.cfg
    By: Amessyroom to Digital Man on Tue Jul 16 2024 06:06 am

    Re: alias.cfg

    errolhome errol@askerrol.org
    notice sub:LOCAL-NOTICES
    e 1
    amr 1

    Tried wildcard
    * 1

    and emails came through as expected for undefined user to sysop (#1)

    So not sure, if I have something in my alias.cfg confusing the parsing;
    or why the non-userid options are not working for me.

    ---
    þ Synchronet þ Too Lazy BBS - Sit back and read and play games - toolazy.ddns.net:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Amessyroom on Tue Jul 16 12:30:34 2024
    Re: alias.cfg
    By: Amessyroom to Digital Man on Tue Jul 16 2024 05:53 am

    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 you send Internet email/netmail from the BBS, that would use the mail server's sendmail thread to deliver via SMTP to *another* mail server, not yours (unless you're mail-serving for multiple domains, but I doubt that).

    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.

    Then put in the alias.cfg file:

    errohome@toolazy.ddns.net errol@askerrol.org
    --
    digital man (rob)

    Synchronet "Real Fact" #56:
    Synchronet Terminal Server introduced SecureShell (SSH) support w/v3.14a (2006) Norco, CA WX: 83.6øF, 52.0% humidity, 7 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Amessyroom@1:103/705 to Digital Man on Tue Jul 16 22:56:44 2024
    Re: alias.cfg
    By: Digital Man to Amessyroom on Tue Jul 16 2024 12:30 pm

    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.

    Then put in the alias.cfg file:

    errohome@toolazy.ddns.net errol@askerrol.org

    This did not work for me either :-( So I don't understand
    what I'm doing wrong.

    I was using
    myalias user@domain.com

    Because of the comments at the top of the example
    alias.cfg lists "user" has a possible option.

    Appreciated the feedback, but not sure what else to try. If
    you have another suggestion please share and I will test again.

    Amessyroom

    ---
    þ Synchronet þ Too Lazy BBS - Sit back and read and play games - toolazy.ddns.net:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Amessyroom on Wed Jul 17 11:36:25 2024
    Re: alias.cfg
    By: Amessyroom to Digital Man on Tue Jul 16 2024 10:56 pm

    Re: alias.cfg
    By: Digital Man to Amessyroom on Tue Jul 16 2024 12:30 pm

    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.

    Then put in the alias.cfg file:

    errohome@toolazy.ddns.net errol@askerrol.org

    This did not work for me either :-( So I don't understand
    what I'm doing wrong.

    I was using
    myalias user@domain.com

    Because of the comments at the top of the example
    alias.cfg lists "user" has a possible option.

    If the second parameter has an '@', then the first parameter must also have an '@'. Like I showed in my example.
    --
    digital man (rob)

    Breaking Bad quote #36:
    Clearly his taste in women is the same as his taste in lawyers...
    Norco, CA WX: 79.8øF, 56.0% humidity, 2 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)