Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
server:mail [2017/11/06 21:53] – [Anti-SPAM] Filled-out digital man | server:mail [2023/02/18 14:02] – New section on Recipients, for Keyop digital man | ||
---|---|---|---|
Line 11: | Line 11: | ||
The SMTP server supports authentication via the PLAIN, LOGIN, or CRAM-MD5 SMTP-AUTH methods (client chooses). | The SMTP server supports authentication via the PLAIN, LOGIN, or CRAM-MD5 SMTP-AUTH methods (client chooses). | ||
- | The SMTP server | + | The SMTP server |
The SMTP server can service multiple simultaneous incoming sessions and messages, with multiple recipients per message. | The SMTP server can service multiple simultaneous incoming sessions and messages, with multiple recipients per message. | ||
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 " | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | === Real Names === | ||
+ | When matching recipient names to BBS real names (if so enabled by the sysop by setting SCFG-> | ||
+ | |||
+ | === Special Aliases === | ||
+ | Recipient names configured in '' | ||
+ | |||
+ | === User Number === | ||
+ | Receiving by user account number is also optionally supported, not not encouraged and disabled by default. | ||
==== Special Prefixes ==== | ==== Special Prefixes ==== | ||
Line 30: | Line 49: | ||
cnnreport | cnnreport | ||
| | ||
- | ==== Tags ==== | + | ==== Special Addresses |
+ | Some specially formatted destination addresses ('' | ||
- | Incoming email is scanned for To: headers | + | === FidoNet === |
+ | If the system supports [[network:FidoNet]]-style networking (has at least one address configured | ||
- | Tag is extracted, and if it is not found in '' | + | * ''//< |
- | sent to the user. If it DOES match a line in the smtptags file, the email | + | |
- | is rejected with a "no such user" error. | + | |
- | Using this this feature allows you (the sysop) to easily create " | + | Example: '' |
- | start recieving spam on one tag, just disable it. | + | |
- | ===== SendMail ===== | + | Note: the '' |
- | The SendMail Thread is responsible for delivering mail using the SMTP or ESMTP protocols, optionally authenticating using PLAIN, LOGIN, or CRAM-MD5 SMTP-AUTH methods if required by an SMTP relay server. | + | === Tags === |
- | The SendMail Thread does not at this time support SMTP-TLS sessions. | + | The Synchronet Mail Server recognizes the incoming special address format: ''//< |
- | The SendMail Thread currently can service one outgoing SMTP/ESMTP session at a time. | + | The //< |
+ | sent to the destination user. If the tag matches a line in the '' | ||
- | ===== Post Office ===== | + | This feature allows you (the sysop) to easily create and use " |
- | The mail server also services authenticated "post office" | + | ==== Anti-SPAM ==== |
- | + | ||
- | The POP3 server supports client authentication via the USER or APOP methods. | + | |
- | + | ||
- | The POP3 server can service multiple simultaneous incoming sessions. | + | |
- | + | ||
- | For IMAP support, see Deuce' | + | |
- | + | ||
- | ===== Anti-SPAM | + | |
The Synchronet SMTP Server contains several anti-SPAM measures: | The Synchronet SMTP Server contains several anti-SPAM measures: | ||
* DNS-based blacklist (DNSBL) look-up support with exemptions and multiple possible actions upon positive results | * DNS-based blacklist (DNSBL) look-up support with exemptions and multiple possible actions upon positive results | ||
Line 69: | Line 81: | ||
* Synchronet' | * Synchronet' | ||
- | ==== DNSBL ==== | + | === DNSBL === |
DNS-based Blacklists (DNSBL) are 3rd party databases of IP addresses whose hosts are suspected of being habitual spammers or have other security problems which make mail received from these systems highly suspicious. Different DNSBL services/ | DNS-based Blacklists (DNSBL) are 3rd party databases of IP addresses whose hosts are suspected of being habitual spammers or have other security problems which make mail received from these systems highly suspicious. Different DNSBL services/ | ||
Line 88: | Line 100: | ||
When a DNSBL service reports an IP address as " | When a DNSBL service reports an IP address as " | ||
- | === Exemptions | + | == Exemptions == |
MTA's whose IP address or hostname is listed in your '' | MTA's whose IP address or hostname is listed in your '' | ||
Line 102: | Line 114: | ||
{{: | {{: | ||
- | ===== External Mail Processors | + | ==== External Mail Processors ==== |
FIXME | FIXME | ||
- | ===== ListServer | + | ===== SendMail |
- | FIXME | + | |
+ | The Synchronet Mail Server' | ||
+ | |||
+ | Both Direct Delivery and Relaying (e.g. through intermediary mail server) is supported. | ||
+ | |||
+ | The SendMail Thread currently can service one outgoing SMTP/ESMTP session at a time. | ||
+ | |||
+ | The SendMail Thread will attempt to deliver securely (encrypted via TLS) when possible, though it will fall back to plain text delivery when necessary. | ||
+ | |||
+ | ===== Post Office ===== | ||
+ | |||
+ | The mail server also services authenticated "post office" | ||
+ | |||
+ | The POP3 server supports client authentication via the USER or APOP methods. | ||
+ | |||
+ | The POP3 server can service multiple simultaneous incoming sessions. | ||
+ | |||
+ | For IMAP support, see Deuce' | ||
+ | |||
+ | ==== Anti-SPAM ==== | ||
+ | |||
+ | The Synchronet POP3 server will filter-out SPAM-tagged mail automatically when a POP3 client logs in with ''//< | ||
+ | |||
+ | Append "# | ||
+ | SPAM-tagged messages will not be listed/ | ||
+ | example you use POP3 to download mail to your phone and have limited | ||
+ | storage or sorting options. The SPAM-tagged messages will remain in your | ||
+ | inbox on the BBS so you should use another POP3 or local mail client to | ||
+ | download and delete those messages (which could potentially include | ||
+ | false positives). | ||
+ | |||
+ | ===== sbbs.ini ===== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | ^ Key ^ Default Value ^ Description ^ | ||
+ | | AutoStart | ||
+ | | Interface | ||
+ | | POP3Interface | ||
+ | | OutboundInterface | [global] | ||
+ | | SMTPPort | ||
+ | | SubmissionPort | ||
+ | | TLSSubmissionPort | 465 | TCP port number to listen on for incoming SMTPS (encrypted) mail-submission connections | | ||
+ | | POP3Port | ||
+ | | TLSPOP3Port | ||
+ | | MaxClients | ||
+ | | MaxConcurrentConnections | 0 | Maximum number of concurrent connections (without login) from the same IP address (0 = unlimited) | | ||
+ | | MaxInactivity | ||
+ | | MaxDeliveryAttempts | 50 | Maximum number of outbound mail delivery attempts before mail is bounced back to sender | | ||
+ | | RescanFrequency | ||
+ | | SemFileCheckFrequency | 2 | Frequency (in seconds) of checks for semaphore files | | ||
+ | | LinesPerYield | ||
+ | | MaxRecipients | ||
+ | | MaxMsgSize | ||
+ | | MaxMsgsWaiting | ||
+ | | ConnectTimeout | ||
+ | | HostName | ||
+ | | TempDirectory | ||
+ | | RelayServer | ||
+ | | RelayPort | ||
+ | | RelayUsername | ||
+ | | RelayPassword | ||
+ | | DNSServer | ||
+ | | DefaultUser | ||
+ | | DefaultCharset | ||
+ | | DNSBlacklistHeader | ||
+ | | DNSBlacklistSubject | ||
+ | | POP3Sound | ||
+ | | InboundSound | ||
+ | | OutboundSound | ||
+ | | JavaScript* | ||
+ | | LogLevel | ||
+ | | BindRetryCount | ||
+ | | BindRetryDelay | ||
+ | | LoginAttempt* | ||
+ | | Options | ||
+ | |||
+ | ==== Options ==== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | ^ Option | ||
+ | | USE_SUBMISSION_PORT | Support mail submissions on the SMTP submission port | | ||
+ | | TLS_SUBMISSION | ||
+ | | ALLOW_POP3 | ||
+ | | DEBUG_POP3 | ||
+ | | TLS_POP3 | ||
+ | | DEBUG_TX | ||
+ | | DEBUG_RX_HEADER | ||
+ | | DEBUG_RX_BODY | ||
+ | | DEBUG_RX_RSP | ||
+ | | ALLOW_RX_BY_NUMBER | ||
+ | | ALLOW_SYSOP_ALIASES | Allow email to received for various administrative aliases (e.g. " | ||
+ | | NO_NOTIFY | ||
+ | | NO_HOST_LOOKUP | ||
+ | | USE_TCP_DNS | ||
+ | | NO_SENDMAIL | ||
+ | | ALLOW_RELAY | ||
+ | | SMTP_AUTH_VIA_IP | ||
+ | | DNSBL_REFUSE | ||
+ | | DNSBL_IGNORE | ||
+ | | DNSBL_BADUSER | ||
+ | | DNSBL_CHKRECVHDRS | ||
+ | | DNSBL_THROTTLE | ||
+ | | DNSBL_SPAMHASH | ||
+ | | SEND_INTRANSIT | ||
+ | | RELAY_TX | ||
+ | | RELAY_AUTH_PLAIN | ||
+ | | RELAY_AUTH_LOGIN | ||
+ | | RELAY_AUTH_CRAM_MD5 | When relaying mail to a RelayServer, | ||
+ | | NO_AUTO_EXEMPT | ||
+ | | NO_RECYCLE | ||
+ | | KILL_READ_SPAM | ||
+ | |||
+ | |||