Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
server:mail [2020/12/30 00:47] – [sbbs.ini] OutboundInterface defaults to global value digital man | server:mail [2021/07/31 19:49] – [Special Addresses] Correct the tag-block filename (its usernum.smtpblock not .smtptags) digital man |
---|
The Synchronet Mail Server recognizes the incoming special address format: ''//<name>//#//<tag>//@//<host>//'' | The Synchronet Mail Server recognizes the incoming special address format: ''//<name>//#//<tag>//@//<host>//'' |
| |
The //<tag>// is extracted from the address and if it is **not** found in the ''data/user/<usernum>.smtptags'' file, the mail message is | The //<tag>// is extracted from the address and if it is **not** found in the ''data/user/<usernum>.smtpblock'' file, the mail message is |
sent to the destination user. If the tag matches a line in the ''.smtptags'' file, the email is rejected by the mail server with a "no such user" error. | sent to the destination user. If the tag matches a line in the ''.smtpblock'' file, the email is rejected by the mail server with a "no such user" error. |
| |
This feature allows you (the sysop) to easily create and use "temporary" email addresses without requiring additional user accounts. Once you start receiving spam with a tag, just disable that tag by adding it to your ''.smtptags'' file. | This feature allows you (the sysop) to easily create and use "temporary" email addresses without requiring additional user accounts. Once you start receiving spam with a tag, just disable that tag by adding it to your ''.smtpblock'' file. |
| |
==== Anti-SPAM ==== | ==== Anti-SPAM ==== |
^ Key ^ Default Value ^ Description ^ | ^ Key ^ Default Value ^ Description ^ |
| AutoStart | true | Automatically start up the server (manual is only supported in [[monitor:sbbsctrl]]) | | | AutoStart | true | Automatically start up the server (manual is only supported in [[monitor:sbbsctrl]]) | |
| Interface | [global] Interface | Comma-separated list of IPv4 and IPv6 network interfaces to listen on for incoming SMTP/SMTPS connections | | | Interface | [global] | Comma-separated list of IPv4 and IPv6 network interfaces to listen on for incoming SMTP/SMTPS connections | |
| POP3Interface | [global] Interface | Comma-separated list of IPv4 and IPv6 network interfaces to listen on for incoming POP3/POP3S connections | | | POP3Interface | Interface | Comma-separated list of IPv4 and IPv6 network interfaces to listen on for incoming POP3/POP3S connections | |
| OutboundInterface | [global] OutboundInterface | IPv4 network interface to use for outgoing SMTP/SMTPS connections (0.0.0.0 = //any interface//) | | | OutboundInterface | [global] | IPv4 network interface to use for outgoing SMTP/SMTPS connections (0.0.0.0 = //any interface//) | |
| SMTPPort | 25 | TCP port number to listen on for incoming SMTP mail-delivery connections | | | SMTPPort | 25 | TCP port number to listen on for incoming SMTP mail-delivery connections | |
| SubmissionPort | 587 | TCP port number to listen on for incoming SMTP mail-submission connections | | | SubmissionPort | 587 | TCP port number to listen on for incoming SMTP mail-submission connections | |
| MaxMsgsWaiting | 100 | Maximum number of messages allowed in a (non-W-exempt) user's inbox | | | MaxMsgsWaiting | 100 | Maximum number of messages allowed in a (non-W-exempt) user's inbox | |
| ConnectTimeout | 30 | Timeout (in seconds) before blocked outbound SMTP/TCP connections are aborted | | | ConnectTimeout | 30 | Timeout (in seconds) before blocked outbound SMTP/TCP connections are aborted | |
| HostName | [global] HostName | Hostname of this server | | | HostName | [global] | Hostname of this server | |
| TempDirectory | [global] TempDirectory | Directory to use for the storage of temporary files | | | TempDirectory | [global] | Directory to use for the storage of temporary files | |
| RelayServer | | Hostname or IP address of SMTP server to relay outbound mail through (requires ''RELAY_TX'' option) | | | RelayServer | | Hostname or IP address of SMTP server to relay outbound mail through (requires ''RELAY_TX'' option) | |
| RelayPort | 25 | TCP port number to connect with when relaying mail to RelayServer | | | RelayPort | 25 | TCP port number to connect with when relaying mail to RelayServer | |
| OutboundSound | | WAV file to play upon outgoing SMTP/SMTPS connections (Windows only) | | | OutboundSound | | WAV file to play upon outgoing SMTP/SMTPS connections (Windows only) | |
| NewMailNotice | "New e-mail from <%s>\r\n" | Format of telegram to send users upon receipt of incoming mail message | | | NewMailNotice | "New e-mail from <%s>\r\n" | Format of telegram to send users upon receipt of incoming mail message | |
| ForwardNotice | "and it was forwarded to: %s | Additional telegram text to send to recipient of automatically forwarded mail | | | ForwardNotice | "and it was forwarded to: %s" | Additional telegram text to send to recipient of automatically forwarded mail | |
| JavaScript* | [global] JavaScript* | JavaScript-related settings for external mail processing | | | JavaScript* | [global] | JavaScript-related settings for external mail processing | |
| LogLevel | [global] LogLevel* | Minimum severity of log messages to be displayed / stored | | | LogLevel | [global] | Minimum severity of log messages to be displayed / stored | |
| BindRetryCount | [global] BindRetryCount | Maximum number of TCP port bind attempts before failure | | | BindRetryCount | [global] | Maximum number of TCP port bind attempts before failure | |
| BindRetryDelay | [global] BindRetryDelay | Delay (in seconds) between TCP port bind retries | | | BindRetryDelay | [global] | Delay (in seconds) between TCP port bind retries | |
| LoginAttempt* | [global] LoginAttempt* | Failed login attempt throttling / filtering / banning | | | LoginAttempt* | [global] | Failed login attempt throttling / filtering / banning | |
| Options | ''ALLOW_POP3'' | Mail server option flags (see below for details) | | | Options | ''ALLOW_POP3'' | Mail server option flags (see below for details) | |
| |