Synchronet v3.21e-Win32 (install) has been released (Mar-2026).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
server:mail [2025/01/22 17:53] – [External Mail Processors] Fix a couple typos digital manserver:mail [2026/03/17 10:11] (current) – [Anti-SPAM] added signup link for spamhaus nelgin
Line 32: Line 32:
 === Special Aliases === === Special Aliases ===
 Recipient names configured in ''[[dir:ctrl]]/[[config:alias.cfg]]'' can be used to match recipient names to specific user account numbers, aliases, external email addresses, or even sub-boards. Recipient names configured in ''[[dir:ctrl]]/[[config:alias.cfg]]'' can be used to match recipient names to specific user account numbers, aliases, external email addresses, or even sub-boards.
- 
-=== User Number === 
-Receiving by user account number is also optionally supported, not not encouraged and disabled by default. 
  
 ==== Special Prefixes ==== ==== Special Prefixes ====
Line 99: Line 96:
  
 When a DNSBL service reports an IP address as "black-listed", any additional DNSBL services/servers are not queried. When a DNSBL service reports an IP address as "black-listed", any additional DNSBL services/servers are not queried.
 +
 +If you have used zen.spamhaus.org in the past, this will no longer work. You will need to apply for a Spamhaus Data Query Service account at https://www.spamhaus.com/data-access/free-data-query-service/ where you will receive a unique key that is used to query their DNS. 
  
 == Exemptions == == Exemptions ==
Line 114: Line 113:
  
 {{:server:SBBSCTRL.mailsrvr.advanced.png?400|}} {{:server:SBBSCTRL.mailsrvr.advanced.png?400|}}
 +
 +==== Archiving ====
 +
 +The Synchronet Mail Server (v3.21+) can automatically archive messages received via SMTP as separate ''.eml'' files in sub-directories of ''[[dir:data]]/user/####/'' (where ''####'' is the recipient or relaying user number).
 +
 +To utilize the mail archive feature, the sysop must set the "Archive Requirements" mail server setting (e.g. in [[util:SCFG]]->Servers->Mail Server) to specify the [[:access:]] requirements of the user or users whose mail should be auto-archived.
 +
 +Notes:
 +  * Messages are archived after being processed by any external mail processors which may have modified the message header or body
 +  * SPAM-tagged messages received for local users are not archived
 +  * Archived messages are stored in ''.eml'' files, plain text files conforming to the RFC-822 internet message standard format
 +  * Messages received for relay by users meeting the archive requirements are be stored in their ''[[dir:data]]/user/####/smtp_relay'' directory (i.e. like an "inbox")
 +  * Messages received for delivery to local users meeting the archive requirements are stored in their ''[[dir:data]]/user/####/smtp_in'' directory (i.e. like an "outbox")
 +  * There's no limit to the number or size of messages that may be archived, so disk consumption could be a concern
 +
  
  
Line 152: Line 166:
 The Synchronet Mail Server can be configured via [[util:SCFG]]:Servers->Mail Server: The Synchronet Mail Server can be configured via [[util:SCFG]]:Servers->Mail Server:
  
-<file> +  ╔════════════════════════════════════════════╗ 
-╔════════════════════════════════════════════╗ +  ║            Mail Server Settings            ║ 
-║                 Mail Server                ║ +  ╠════════════════════════════════════════════╣ 
-╠════════════════════════════════════════════╣ +  ║ │Enabled                       Yes         ║ 
-║ │Enabled                       Yes         ║ +  ║ │Log Level                     Info        ║ 
-║ │Log Level                     Info        ║ +  ║ │SMTP Interfaces               0.0.0.0, :: ║ 
-║ │SMTP Interfaces               0.0.0.0, :: ║ +  ║ │SMTP Support                  Port 25     ║ 
-║ │SMTP Support                  Port 25     ║ +  ║ │Submission Support            Port 587    ║ 
-║ │Submission Support            Port 587    ║ +  ║ │Submission/TLS Support        Port 465    ║ 
-║ │Submission/TLS Support        Port 465    ║ +  ║ │POP3 Interfaces               0.0.0.0, :: ║ 
-║ │POP3 Interfaces               0.0.0.0, :: ║ +  ║ │POP3 Support                  Port 110    ║ 
-║ │POP3 Support                  Port 110    ║ +  ║ │POP3/TLS Support              Port 995    ║ 
-║ │POP3/TLS Support              Port 995    ║ +  ║ │Mark Retrieved Mail as Read   Yes         ║ 
-║ │Max Clients                   100         ║ +  ║ │Max Clients                   100         ║ 
-║ │Max Inactivity                2 minutes   ║ +  ║ │Max Inactivity                2 minutes   ║ 
-║ │Max Concurrent Connections    Unlimited   ║ +  ║ │Max Concurrent Connections    Unlimited   ║ 
-║ │Max Recipients Per Message    100         ║ +  ║ │Max Recipients Per Message    100         ║ 
-║ │Max Messages Waiting          100         ║ +  ║ │Max Messages Waiting          100         ║ 
-║ │Max Receive Message Size      20M bytes   ║ +  ║ │Max Receive Message Size      20M bytes   ║ 
-║ │Default Recipient                         ║ +  ║ │Limit Rate of Requests        <disabled>  ║ 
-║ │Receive By User Number        No          ║ +  ║ │Post Recipient                            ║ 
-║ │Receive By Sysop Aliases      No          ║ +  ║ │Default Recipient                         ║ 
-║ │Notify Local Recipients       Yes         ║ +  ║ │Receive By Sysop Aliases      No          ║ 
-║ │Notify Offline Recipients     Yes         ║ +  ║ │Notify Local Recipients       Yes         ║ 
-║ │Allow Users to Relay Mail     No          ║ +  ║ │Notify Offline Recipients     Yes         ║ 
-║ │Lookup Client Hostname        Yes         ║ +  ║ │Allow Users to Relay Mail     No          ║ 
-║ │Check Headers against DNSBL   No          ║ +  ║ │Lookup Client Hostname        Yes         ║ 
-║ │DNS-Blacklisted Servers       Tag Mail    ║ +  ║ │Check Headers against DNSBL   No          ║ 
-║ │Hash DNS-Blacklisted Msgs     No          ║ +  ║ │DNS-Blacklisted Servers       Tag Mail    ║ 
-║ │Kill SPAM When Read           No          ║ +  ║ │Hash DNS-Blacklisted Msgs     No          ║ 
-║ │SendMail Support...                       ║ +  ║ │Kill SPAM When Read           No          ║ 
-║ │Login Requirements                        ║ +  ║ │Spammer IP-Filter Duration    Infinite    ║ 
-║ │JavaScript Settings...                    ║ +  ║ │SendMail Support...           Direct      ║ 
-║ │Failed Login Attempts...                  ║ +  ║ │Login Requirements                        ║ 
-╚════════════════════════════════════════════╝ +  ║ │Archive Requirements                      ║ 
-</file>+  ║ │JavaScript Settings...                    ║ 
 +  ║ │Failed Login Attempts...                  ║ 
 +  ╚════════════════════════════════════════════╝ 
 + 
 +The Synchronet Mail Server "SendMail Thread" can be configured via [[util:SCFG]]:Servers->Mail Server->SendMail Support: 
 + 
 +  ╔═══════════════════════════════════════════╗ 
 +  ║              SendMail Support             ║ 
 +  ╠═══════════════════════════════════════════╣ 
 +  ║ │Enabled                       Yes        ║ 
 +  ║ │Rescan Interval               1 hour     ║ 
 +  ║ │Connect Timeout               30 seconds ║ 
 +  ║ │Auto-exempt Recipients        Yes        ║ 
 +  ║ │Max Delivery Attempts         50         ║ 
 +  ║ │Delivery Method               Direct     ║ 
 +  ╚═══════════════════════════════════════════╝
  
 ... via [[monitor:SBBSCTRL]]:Mail->Configure: ... via [[monitor:SBBSCTRL]]:Mail->Configure:
Line 235: Line 264:
 | InboundSound          |           | WAV file to play upon incoming SMTP/SMTPS connections (Windows only) | | InboundSound          |           | WAV file to play upon incoming SMTP/SMTPS connections (Windows only) |
 | OutboundSound                   | WAV file to play upon outgoing SMTP/SMTPS connections (Windows only) | | OutboundSound                   | WAV file to play upon outgoing SMTP/SMTPS connections (Windows only) |
 +| ArchiveRequirements             | [[:Access]] Requirements for auto-archiving of non-SPAM mail messages (stored in ''.eml'' format) sent to or from select users |
 | JavaScript*           | [global]  | JavaScript-related settings for external mail processing | | JavaScript*           | [global]  | JavaScript-related settings for external mail processing |
 | LogLevel              | [global]  | Minimum severity of log messages to be displayed / stored | | LogLevel              | [global]  | Minimum severity of log messages to be displayed / stored |
Line 252: Line 282:
 | DEBUG_POP3          | Log all POP3 activity (Debug log level) | | DEBUG_POP3          | Log all POP3 activity (Debug log level) |
 | TLS_POP3            | Support incoming POP3S (POP3/TLS) connections | | TLS_POP3            | Support incoming POP3S (POP3/TLS) connections |
 +| NO_READ_POP3        | Do not mark POP3-retrieved mail messages as "Read" |
 | DEBUG_TX            | Log all transmissions (Debug log level) |  | DEBUG_TX            | Log all transmissions (Debug log level) | 
 | DEBUG_RX_HEADER     | Log headers of all received messages (Debug log level)| | DEBUG_RX_HEADER     | Log headers of all received messages (Debug log level)|
 | DEBUG_RX_BODY       | Log body text of all received messages (Debug log level)| | DEBUG_RX_BODY       | Log body text of all received messages (Debug log level)|
 | DEBUG_RX_RSP        | Log all received responses (Debug log level) | | DEBUG_RX_RSP        | Log all received responses (Debug log level) |
-| ALLOW_RX_BY_NUMBER  | Allow email to be received by user number in addition to name/alias (not recommended) | 
 | ALLOW_SYSOP_ALIASES | Allow email to received for various administrative aliases (e.g. "sysop", "postmaster") to be delivered to the sysop | | ALLOW_SYSOP_ALIASES | Allow email to received for various administrative aliases (e.g. "sysop", "postmaster") to be delivered to the sysop |
 | NO_NOTIFY           | Do not send telegrams to users notifying them of newly received email | | NO_NOTIFY           | Do not send telegrams to users notifying them of newly received email |