Discussion:
mail
(too old to reply)
JohnBWilloughby
2021-04-07 01:12:02 UTC
Permalink
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 ***@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 <***@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 <***@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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Digital Man
2021-04-07 01:27:46 UTC
Permalink
To: JohnBWilloughby
Re: mail
By: JohnBWilloughby to all on Tue Apr 06 2021 06:12 pm
Post by JohnBWilloughby
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'
"452 ERROR 1 (smb_addcrc duplicate message text CRC detected) saving
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
and I replied to it on the web interface, and I can see it in the sent. and
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-07 03:51:03 UTC
Permalink
To: Digital Man
Post by Digital Man
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 ?
Post by Digital Man
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.
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Digital Man
2021-04-07 06:48:56 UTC
Permalink
To: JohnBWilloughby
Re: mail
By: JohnBWilloughby to Digital Man on Tue Apr 06 2021 08:51 pm
Post by JohnBWilloughby
Post by Digital Man
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.
Post by JohnBWilloughby
Post by Digital Man
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.
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-07 06:58:39 UTC
Permalink
To: Digital Man
Post by Digital Man
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Digital Man
2021-04-07 07:04:21 UTC
Permalink
To: JohnBWilloughby
Re: mail
By: JohnBWilloughby to Digital Man on Tue Apr 06 2021 11:58 pm
Post by JohnBWilloughby
Post by Digital Man
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-07 07:14:56 UTC
Permalink
To: Digital Man

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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-07 14:58:39 UTC
Permalink
To: Digital Man

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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Digital Man
2021-04-07 18:00:18 UTC
Permalink
To: JohnBWilloughby
Re: mail
By: JohnBWilloughby to Digital Man on Wed Apr 07 2021 07:58 am
Post by JohnBWilloughby
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 /
emails to / from users locally ?
None.
Post by JohnBWilloughby
emails to / from users from other boards ?
TCP port 25 for receiving Internet mail.
Post by JohnBWilloughby
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-08 18:08:49 UTC
Permalink
To: Digital Man
Post by Digital Man
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Digital Man
2021-04-08 19:22:49 UTC
Permalink
To: JohnBWilloughby
Re: mail
By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:08 am
Post by JohnBWilloughby
Post by Digital Man
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-09 06:59:08 UTC
Permalink
To: Digital Man
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Mortifis
2021-04-09 14:56:17 UTC
Permalink
To: JohnBWilloughby
Post by JohnBWilloughby
Perfect, I think I am all set with regards to emails
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
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-09 16:50:51 UTC
Permalink
To: Mortifis
Post by Mortifis
You can expect to see a lot of hits to your SMTP server, they are essentially
harmless, though annoying.
---
Yeah, I had to disable the SSH to the BBS, its just very annoying.
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Digital Man
2021-04-10 00:16:54 UTC
Permalink
To: JohnBWilloughby
Re: mail
By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:59 pm
Post by JohnBWilloughby
Perfect, I think I am all set with regards to emails
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.
Post by JohnBWilloughby
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Dream Master
2021-04-10 05:56:31 UTC
Permalink
To: JohnBWilloughby
Re: mail
By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:59 pm
Post by JohnBWilloughby
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
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Mortifis
2021-04-10 11:15:15 UTC
Permalink
To: Dream Master
Post by Digital Man
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
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-10 17:08:49 UTC
Permalink
To: Mortifis
Post by Mortifis
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Ragnarok
2021-04-10 18:46:34 UTC
Permalink
To: Dream Master
Post by Digital Man
Re: mail
By: JohnBWilloughby to Digital Man on Thu Apr 08 2021 11:59 pm
Post by JohnBWilloughby
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
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-10 22:13:13 UTC
Permalink
To: Ragnarok
Post by Ragnarok
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
MRO
2021-04-10 22:50:20 UTC
Permalink
To: JohnBWilloughby
Re: Re: mail
By: JohnBWilloughby to Ragnarok on Sat Apr 10 2021 03:13 pm
Post by JohnBWilloughby
Post by Ragnarok
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 :::
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
JohnBWilloughby
2021-04-12 03:33:33 UTC
Permalink
To: MRO
Post by MRO
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 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
MRO
2021-04-12 13:44:00 UTC
Permalink
To: JohnBWilloughby
Re: Re: mail
By: JohnBWilloughby to MRO on Sun Apr 11 2021 08:33 pm
Post by JohnBWilloughby
Post by MRO
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 :::
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Daryl Stout
2021-04-07 14:38:00 UTC
Permalink
To: Digital Man
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
--- Synchronet 3.19a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Loading...