Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
server:mail [2020/12/30 00:59] – [sbbs.ini] Remove redundant [global] key names digital man | server:mail [2023/02/18 14:02] – New section on Recipients, for Keyop digital man |
---|
| |
The SMTP server also supports the SEND, SAML and SOML commands for delivering instant messages (a.k.a. telegrams) to users of the BBS. | The SMTP server also supports the SEND, SAML and SOML commands for delivering instant messages (a.k.a. telegrams) to users of the BBS. |
| |
| ==== Recipients ==== |
| When receiving email messages via SMTP, the Synchronet mail server can match recipient names to a BBS user account by their alias or optionally, their real name. |
| |
| === Special Characters === |
| Non-alphanumeric characters are ignored when matching recipient names to BBS user aliases. So for example, the following will all match the user "digital man": |
| * ''digital.man'' |
| * ''digital_man'' |
| * ''digitalman'' |
| * ''d-i-g-i-t-a-l-man'' |
| |
| === Real Names === |
| When matching recipient names to BBS real names (if so enabled by the sysop by setting SCFG->Message Options->Receive E-mail by Real Name to "Yes"), spaces and '.' are treated as equivalent. When "Receive E-mail by Real Name" is enabled, receiving e-mail by user's alias is still supported. |
| |
| === 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. |
| |
| === User Number === |
| Receiving by user account number is also optionally supported, not not encouraged and disabled by default. |
| |
==== Special Prefixes ==== | ==== Special Prefixes ==== |
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] | 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 | 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] | 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//) | |
| 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) | |
| 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 | | |
| 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 | |
| NO_RECYCLE | Do not allow this server to be automatically recycled by external event | | | NO_RECYCLE | Do not allow this server to be automatically recycled by external event | |
| KILL_READ_SPAM | Mark received SPAM messages for "Kill after read" | | | KILL_READ_SPAM | Mark received SPAM messages for "Kill after read" | |
| MUTE | Disable all sound (WAV) files from playing | | |
| |
| |