Applicable Model(s): MapleLink
Summary
Maple Systems Managed Network Switches support unencrypted and encrypted outbound traffic. Supported SMTP servers are Gmail, Outlook, Yahoo Mail, and Yahoo Mail Plus. Internal SMTP servers for intranet networks are supported. This document describes the process of setting up mail alarms for a MapleLink network switch.
Note: SMTP providers may have restricted third party app or device access.
Solution
List of SMTP servers, and corresponding port numbers:
| Default Ports | Server | Authentication | Port |
|---|---|---|---|
| SMTP Server (Outgoing Messages) | Non-Encrypted | AUTH | 25 (or 587) |
| Secure (TLS) | StartTLS | 587 | |
| Secure (SSL) | SSL | 465 | |
| POP3 Server (Incoming Messages) | Non-Encrypted | AUTH | 110 |
| Secure (SSL) | SSL | 995 |
| Googlemail – Gmail | Server | Authentication | Port |
|---|---|---|---|
| SMTP Server (Outgoing Messages) | smtp.gmail.com | SSL | 465 |
| smtp.gmail.com | StartTLS | 587 | |
| POP3 Server (Incoming Messages) | pop.gmail.com | SSL | 995 |
| Outlook.com | Server | Authentication | Port |
|---|---|---|---|
| SMTP Server (Outgoing Messages) | smtp.live.com | StartTLS | 587 |
| POP3 Server (Incoming Messages) | pop3.live.com | SSL | 995 |
| Yahoo Mail | Server | Authentication | Port |
|---|---|---|---|
| SMTP Server (Outgoing Messages) | smtp.mail.yahoo.com | SSL | 465 |
| POP3 Server (Incoming Messages) | pop.mail.yahoo.com | SSL | 995 |
| Yahoo Mail Plus | Server | Authentication | Port |
|---|---|---|---|
| SMTP Server (Outgoing Messages) | plus.smtp.mail.yahoo.com | SSL | 465 |
| POP3 Server (Incoming Messages) | plus.pop.mail.yahoo.com | SSL | 995 |
External SMTP servers:
1.
Create an account with one of the above listed SMTP providers.
2.
Enable two factor authorization on the newly created, or existing account for secure account handling.
3.
Generate an App Password on the newly created, or existing account that has two factor authorization enabled.
4.
Establish a connection to the Managed Network Switch in one of two ways:
a.
b.
Graphical User Interface via Web Browser over HTTP or HTTP/s.
Command Line Interface via Command Prompt, or PuTTY over SSH or Telnet.
5.
Proceed to Web Configuration or CLI Configuration.
Internal SMTP servers:
1.
Download and Install Postfix or hMailServer depending on your computers OS.
2.
Create a Fake/Internal domain, or use an existing domain (DNS resolution is not required).
3.
Configure hMailServer or Postfix to allow traffic from a range of IP addresses..
4.
Enabling Relay:
a.
hMailServer: Enable “Allow Relay” in Settings
5.
Postfix: mynetworks must be configured to trust the switch’s IP/subnet in /etc/postfix/main.cf. As well as smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination.
6.
Proceed to Web Configuration or CLI Configuration.
Web configuration

Mail Alarm Settings
| Parameter | Description |
|---|---|
| State | Enable / disable the Mail Alarm function. |
| Server | Selects one of the options below: IP: The mail server’s IP format is IPv4. Domain Name: The mail server’s IP format is a domain name. |
| Server Port | Specifies the TCP port for the SMTP. |
| Account Name | Specifies the mail account name. |
| Account Password | Specifies the mail account password. |
| Mail From | Specifies the mail sender. |
| Mail To | Specifies the mail receiver. |
| UTF-8 Encoding | Enable / disable the UTF-8 encoding function. |
| Trap State | Enables / disables the mail trap event states. |
| Apply | Click Apply to take effect the settings. |
| Refresh | Click Refresh to begin configuring this screen afresh. |
CLI configuration
| Node | Command | Description |
|---|---|---|
| enable | show mail-alarm | This command displays the Mail Alarm configurations. |
| enable | configure terminal | This command changes the node to configure node. |
| configure | mail-alarm (disable|enable) | This command disables / enables the Mail Alarm function. |
| configure | mail-alarm auth-account | This command configures the Mail server authentication account. |
| configure | mail-alarm mail-from | This command configures the mail sender. |
| configure | mail-alarm mail-to | This command configures the mail receiver. |
| configure | mail-alarm server (ip|domain-name) STRINGS server-port VALUE | This command configures the mail server IP address / domain name and the TCP port. |
| configure | mail-alarm server (ip|domain-name) STRINGS server-port default | This command configures the mail server IP address / domain name and configures 25 as the server’s TCP port. |
| configure | mail-alarm trap-event (reboot|link-change|config.|firmware|login|port-blocked|alarm) (disable|enable) | This command disables / enables mail trap events. |
| configure | mail-alarm utf8-encoding (disable|enable) | This command disables / enables the UTF8 encoding for mail content. |
