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 ?
Re: mail
By: JohnBWilloughby to all on Tue Apr 06 2021 06:12 pm
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.running the command I get the following output ( before I deleted all the mail.* )
The "attr" value should be 1:
attr =0001h
--
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 =0001hrunning 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
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".
--
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 ?
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 ?
TCP port 25 for receiving Internet mail.
You don't need any open ports to *send* mail.
--
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 ) ?
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.
---
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.
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.
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
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.
El 10/4/21 a las 02:56, Dream Master escribió: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.
fail2ban is your friend
---
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.
Re: Re: mailYes 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.
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
---
Re: Re: mail
By: JohnBWilloughby to Ragnarok on Sat Apr 10 2021 03:13 pm
you can use windows firewall. it's feature rich.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.
also accepts a list to ban or whatever
---
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 577 |
Nodes: | 8 (0 / 8) |
Uptime: | 61:42:05 |
Calls: | 10,734 |
Calls today: | 1 |
Files: | 5 |
Messages: | 442,632 |