• mail

    From JohnBWilloughby@VERT to all on Wed Apr 7 01:12:02 2021
    I am seeing this in the mail log : I am not sure when the last time I actually sent an email from my BBS. This started showing in the logs after I answer an email that I saw on the web interface, then logged on via telnet and responded to the same email, different body.

    18:37:45 2844 SMTP !ERROR 1 (smb_addcrc duplicate message text CRC detected) saving message
    18:37:45 3308 SEND !INVALID RESPONSE: '452 ERROR 1 (smb_addcrc duplicate message text CRC detected) saving message' Expected: '250'
    18:37:45 3308 SEND !Delivery attempt #3 FAILED (127.0.0.1 replied with:
    "452 ERROR 1 (smb_addcrc duplicate message text CRC detected) saving message" instead of the expected reply:
    "250 ...") for message #300 from Tempest Fury to fort@tempestfury.d2g.com 18:37:45 2844 SMTP Socket closed by peer on receive
    18:37:45 2844 SMTP Session thread terminated (2 threads remain, 6 clients served)


    on the web interface the from looks like this
    From: Fort <Fort@undefined> on Monday, April 05, 2021 18:55:22
    and I replied to it on the web interface, and I can see it in the sent. and it looks like this :
    To: Fort <Fort@undefined> on Tuesday, April 06, 2021 15:08:53

    but when i telnet into the board and read email the header looks like this

    Subj: Interlord
    ³ Attr: Read Replied
    ³ To : Tempest Fury #1
    ³ From: Fort #7
    ³ Date: Mon Apr 05 2021 06:55 pm EDT (1.1 days ago)

    When I try to reply to it, its asking for an internet email, the reply to on the original only had part of his internet address.

    Is there a way to clean up old messages or just clean them all out ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Wed Apr 7 01:27:46 2021
    Re: mail
    By: JohnBWilloughby to all on Tue Apr 06 2021 06:12 pm

    I am seeing this in the mail log : I am not sure when the last time I actually sent an email from my BBS. This started showing in the logs after I answer an email that I saw on the web interface, then logged on via telnet and responded to the same email, different body.

    18:37:45 2844 SMTP !ERROR 1 (smb_addcrc duplicate message text CRC detected) saving message
    18:37:45 3308 SEND !INVALID RESPONSE: '452 ERROR 1 (smb_addcrc duplicate message text CRC detected) saving message' Expected: '250'
    18:37:45 3308 SEND !Delivery attempt #3 FAILED (127.0.0.1 replied with: "452 ERROR 1 (smb_addcrc duplicate message text CRC detected) saving message" instead of the expected reply:
    "250 ...") for message #300 from Tempest Fury to fort@tempestfury.d2g.com 18:37:45 2844 SMTP Socket closed by peer on receive
    18:37:45 2844 SMTP Session thread terminated (2 threads remain, 6 clients served)


    on the web interface the from looks like this
    From: Fort <Fort@undefined> on Monday, April 05, 2021 18:55:22
    and I replied to it on the web interface, and I can see it in the sent. and it looks like this :
    To: Fort <Fort@undefined> on Tuesday, April 06, 2021 15:08:53

    but when i telnet into the board and read email the header looks like this

    Subj: Interlord
    ³ Attr: Read Replied
    ³ To : Tempest Fury #1
    ³ From: Fort #7
    ³ Date: Mon Apr 05 2021 06:55 pm EDT (1.1 days ago)

    When I try to reply to it, its asking for an internet email, the reply to on the original only had part of his internet address.

    Is there a way to clean up old messages or just clean them all out ?

    Delete data/mail.*

    It sounds like your mailbase doesn't know it's for email. The output from "smbutil s sbbs/data/mail" would tell us if that's the case.

    The "attr" value should be 1:

    attr =0001h
    --
    digital man

    Synchronet "Real Fact" #72:
    Synchronet CIOXTRN (created by Deuce) is a 32-bit replacement for DOORWAY. Norco, CA WX: 70.2øF, 52.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Wed Apr 7 03:51:03 2021
    Re: mail
    By: JohnBWilloughby to all on Tue Apr 06 2021 06:12 pm

    Delete data/mail.*

    Wont this delete all the mails for users ?

    It sounds like your mailbase doesn't know it's for email. The output from "smbutil s sbbs/data/mail" would tell us if that's the case.

    The "attr" value should be 1:

    attr =0001h
    --
    running the command I get the following output ( before I deleted all the mail.* )
    C:\sbbs\exec>smbutil s c:\sbbs\data\mail

    SMBUTIL v2.34-Win32 (rev 1.136) SMBLIB 2.61 - Synchronet Message Base Utility Opening c:\sbbs\data\mail
    last_msg =296
    total_msgs =11
    header_offset =32
    max_crcs =100
    max_msgs =0
    max_age =0
    attr =0001h

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Wed Apr 7 06:48:56 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Tue Apr 06 2021 08:51 pm


    Re: mail
    By: JohnBWilloughby to all on Tue Apr 06 2021 06:12 pm

    Delete data/mail.*

    Wont this delete all the mails for users ?

    Yes, but you asked "Is there a way to clean up old messages or just clean them all out ?" and that is an answer.

    It sounds like your mailbase doesn't know it's for email. The output from "smbutil s sbbs/data/mail" would tell us if that's the case.

    The "attr" value should be 1:

    attr =0001h
    --
    running the command I get the following output ( before I deleted all the mail.* )
    C:\sbbs\exec>smbutil s c:\sbbs\data\mail

    SMBUTIL v2.34-Win32 (rev 1.136) SMBLIB 2.61 - Synchronet Message Base Utility Opening c:\sbbs\data\mail
    last_msg =296
    total_msgs =11
    header_offset =32
    max_crcs =100
    max_msgs =0
    max_age =0
    attr =0001h

    Well, that looks correct. You should set max_crcs to 0 however by setting SCFG->Message Options->Duplicate E-mail Checking to "Disabled".
    --
    digital man

    This Is Spinal Tap quote #7:
    Nigel Tufnel: That's just nitpicking, isn't it?
    Norco, CA WX: 55.6øF, 83.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Wed Apr 7 06:58:39 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Tue Apr 06 2021 08:51 pm

    Yes, but you asked "Is there a way to clean up old messages or just clean them all out ?" and that is an answer.

    Well, that looks correct. You should set max_crcs to 0 however by setting SCFG->Message Options->Duplicate E-mail Checking to "Disabled".
    --

    I set max_crcs to 0.

    by deleting all the mail.* that would get rid of all mails for all users ? including deleted messages as well as any emails that might be in some weird state ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Wed Apr 7 07:04:21 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Tue Apr 06 2021 11:58 pm


    Re: mail
    By: JohnBWilloughby to Digital Man on Tue Apr 06 2021 08:51 pm

    Yes, but you asked "Is there a way to clean up old messages or just clean them all out ?" and that is an answer.

    Well, that looks correct. You should set max_crcs to 0 however by setting SCFG->Message Options->Duplicate E-mail Checking to "Disabled".
    --

    I set max_crcs to 0.

    by deleting all the mail.* that would get rid of all mails for all users ? including deleted messages as well as any emails that might be in some weird state ?

    Correct.
    --
    digital man

    Sling Blade quote #3:
    Karl (re: killing Doyle): That second one just plum near cut his head in two. Norco, CA WX: 55.2øF, 84.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Wed Apr 7 07:14:56 2021
    Well, I just read and replied to the email I just got, so I am going to remove the mail.* files and let them recreate.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Wed Apr 7 14:58:39 2021
    Seems to be sending and receiving / replying to emails to local users.I believe emails are going to a user on another systems, but waiting for a reply to see if that is the case.

    Just so I can secure and not have any unused open ports. What services / ports are needed to :
    emails to / from users locally ?
    emails to / from users from other boards ?
    emails to / from users personal email address ?

    Thanks.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Daryl Stout@VERT/TBOLT to Digital Man on Wed Apr 7 16:38:00 2021
    Rob,

    Just a quick note that I downloaded and installed the
    sbbs_dev and sbbs_run (from the docs and exec directories)
    this morning (April 7, 2021), and all works just fine.

    Daryl

    ... I'm one step away from being rich. All I need is money.
    --- MultiMail/Win v0.52
    þ Synchronet þ The Thunderbolt BBS - tbolt.synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Wed Apr 7 18:00:18 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Wed Apr 07 2021 07:58 am


    Seems to be sending and receiving / replying to emails to local users.I believe emails are going to a user on another systems, but waiting for a reply to see if that is the case.

    Just so I can secure and not have any unused open ports. What services / ports are needed to :
    emails to / from users locally ?

    None.

    emails to / from users from other boards ?

    TCP port 25 for receiving Internet mail.

    emails to / from users personal email address ?

    You don't need any open ports to *send* mail.
    --
    digital man

    Sling Blade quote #1:
    Karl: I've killed Doyle with a lawn mower blade. Yes, I'm right sure of it. Norco, CA WX: 72.2øF, 55.0% humidity, 3 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Thu Apr 8 18:08:49 2021
    TCP port 25 for receiving Internet mail.

    You don't need any open ports to *send* mail.
    --
    digital man

    OK.
    So the ports for IMAP and POP are not needed ? or only need if a user want to get mail from the BBS via a third part app (outlook/Thunderbird etc ) ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Thu Apr 8 19:22:49 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:08 am


    TCP port 25 for receiving Internet mail.

    You don't need any open ports to *send* mail.
    --
    digital man

    OK.
    So the ports for IMAP and POP are not needed ? or only need if a user want to get mail from the BBS via a third part app (outlook/Thunderbird etc ) ?

    Correct.
    --
    digital man

    Synchronet "Real Fact" #34:
    The back-up synchro.net nameserver and CVS repository is hosted by Deuce. Norco, CA WX: 71.5øF, 52.0% humidity, 6 mph NNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Fri Apr 9 06:59:08 2021
    Perfect, I think I am all set with regards to emails

    Just to clairfy :
    TCP port 25 for receiving Internet mail.
    if someone sent an email to my bbs account, from say gmail, I would need TCP port 25 open, so I could receive that email from the gmail ?

    Do many boards have port 25 open so they can receive internet mail ? Only reason I ask, since I enabled port 25 and pointed it to the BBS, someone has been just trying to use it as a relay, very persistent too.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/EPHRAM to JohnBWilloughby on Fri Apr 9 18:56:17 2021
    Perfect, I think I am all set with regards to emails

    Just to clairfy :
    TCP port 25 for receiving Internet mail.
    if someone sent an email to my bbs account, from say gmail, I would need TCP port 25 open, so I could receive that email from the gmail ?

    Do many boards have port 25 open so they can receive internet mail ? Only reason I ask, since I enabled port 25 and pointed it to the BBS, someone has been just trying to use it as a relay, very persistent too.


    You can expect to see a lot of hits to your SMTP server, they are essentially harmless, though annoying.

    ---
    þ Synchronet þ Realm of Dispair telnet alleycat.synchro.net:2323 ssh:2222 web 82
  • From Digital Man@VERT to JohnBWilloughby on Sat Apr 10 00:16:54 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:59 pm

    Perfect, I think I am all set with regards to emails

    Just to clairfy :
    TCP port 25 for receiving Internet mail.
    if someone sent an email to my bbs account, from say gmail, I would need TCP port 25 open, so I could receive that email from the gmail ?

    Correct.

    Do many boards have port 25 open so they can receive internet mail ? Only reason I ask, since I enabled port 25 and pointed it to the BBS, someone has been just trying to use it as a relay, very persistent too.

    That's normal. Either ignore them or block them.
    --
    digital man

    Synchronet "Real Fact" #69:
    Download the BBS Documentary DVD set at http://bbsdocumentary.com/order/
    Norco, CA WX: 75.8øF, 38.0% humidity, 7 mph NE wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Dream Master@VERT/CIAD to JohnBWilloughby on Sat Apr 10 06:56:31 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:59 pm

    Do many boards have port 25 open so they can receive internet mail ? Only reason I ask, since I enabled port 25 and pointed it to the BBS, someone has been just trying to use it as a relay, very persistent too.

    Disable relaying. Ensure you configure everything appropriately. No matter what, you will still get a massive amount of hits on 21, 22, 23, 25, etc., which are just script-kiddies trying to find an open server. Ultimately, ignore. If you get one that just hounds your board day in a day out, put an IP range block on the source. Mine usually come from China, Vietnam, Brazil, and occassionally, Russia.

    Good luck.]
    Brian Klauss <-> Dream Master
    Caught in a Dream | caughtinadream.com a Synchronet BBS

    ---
    þ Synchronet þ Caught in a Dream - caughtinadream.com
  • From Mortifis@VERT/ALLEYCAT to Dream Master on Sat Apr 10 15:15:15 2021
    Re: mail
    By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:59 pm

    Disable relaying. Ensure you configure everything appropriately. No matter what, you will still get a massive amount of hits on 21, 22, 23, 25, etc., which are just script-kiddies trying to find an open server. Ultimately, ignore. If you get one that just hounds your board day in a day out, put an IP range block on the source. Mine usually come from China, Vietnam, Brazil, and occassionally, Russia.


    I use coob.js to block (some of) those countries [ coob Country Of Origin Blocking]

    ---
    ­ Synchronet ­ AlleyCat! BBS Lake Echo, NS Canada alleycatbbs.com
  • From JohnBWilloughby@VERT to Mortifis on Sat Apr 10 17:08:49 2021
    I use coob.js to block (some of) those countries [ coob Country Of Origin Blocking]

    ---
    ¨ Synchronet ¨ AlleyCat! BBS Lake Echo, NS Canada alleycatbbs.com


    I kinda like the idea of using something like coob.js, but then from one script-kiddie you are blocking the whole country. I dont think that is all that fair to the rest of the country.

    So for now, I just do it the manual way and add them to ip.can or ip-silent.can.

    You would think after 3000+ tries that they would give up. if you add the ip address in the ip.can, that does blcok that IP address from accessing the board, but whatever they are using, they still see the ports they are scanning as open, so they keep trying, not knowing that they are blocked ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Dream Master on Sat Apr 10 22:46:34 2021
    El 10/4/21 a las 02:56, Dream Master escribi¢:
    Re: mail
    By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:59 pm

    > Do many boards have port 25 open so they can receive internet mail ? Only
    > reason I ask, since I enabled port 25 and pointed it to the BBS, someone has
    > been just trying to use it as a relay, very persistent too.

    Disable relaying. Ensure you configure everything appropriately. No matter what, you will still get a massive amount of hits on 21, 22, 23, 25, etc., which are just script-kiddies trying to find an open server. Ultimately, ignore. If you get one that just hounds your board day in a day out, put an IP range block on the source. Mine usually come from China, Vietnam, Brazil, and occassionally, Russia.

    fail2ban is your friend

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From JohnBWilloughby@VERT to Ragnarok on Sat Apr 10 22:13:13 2021
    El 10/4/21 a las 02:56, Dream Master escribi¢:

    fail2ban is your friend

    ---
    only if your friend is Linux. Windoesnot 10 is a bit more difficult to work with, there are some open source programs that will do the same, but ip.com does the job for now.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to JohnBWilloughby on Sun Apr 11 00:50:20 2021
    Re: Re: mail
    By: JohnBWilloughby to Ragnarok on Sat Apr 10 2021 03:13 pm

    El 10/4/21 a las 02:56, Dream Master escribi­:

    fail2ban is your friend

    ---
    only if your friend is Linux. Windoesnot 10 is a bit more difficult to work with, there are some open source programs that will do the same, but ip.com does the job for now.

    you can use windows firewall. it's feature rich.
    also accepts a list to ban or whatever
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From JohnBWilloughby@VERT to MRO on Mon Apr 12 03:33:33 2021
    Re: Re: mail
    By: JohnBWilloughby to Ragnarok on Sat Apr 10 2021 03:13 pm

    you can use windows firewall. it's feature rich.
    also accepts a list to ban or whatever
    ---
    Yes you could use the builtin Windows firewall, but its a manual process, to add a specific IP address, or you could do it via powershell, To automate it, you would need to somehow get the IP address from SBBS, then using powershell script you can add that IP address to the Windows firewall.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to JohnBWilloughby on Mon Apr 12 15:44:00 2021
    Re: Re: mail
    By: JohnBWilloughby to MRO on Sun Apr 11 2021 08:33 pm

    Re: Re: mail
    By: JohnBWilloughby to Ragnarok on Sat Apr 10 2021 03:13 pm

    you can use windows firewall. it's feature rich.
    also accepts a list to ban or whatever
    ---
    Yes you could use the builtin Windows firewall, but its a manual process, to add a specific IP address, or you could do it via powershell, To automate it, you would need to somehow get the IP address from SBBS, then using powershell script you can add that IP address to the Windows firewall.

    windows firewall takes a text file.

    you can write an easy script to write the ip to said file.

    or just block countries.
    either way, nothing hard.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::