The router allows to send e-mail messages upon various events.

The messages can be sent via any e-mail account that supports SMTP.

The description in this Configuration Guide follows a configuration in the new user interface (web interface) available from icom OS 5.5. Update your router to the latest version of icom OS for the required functionality of the new user interface. The description of this configuration in the classic web interface is available in this Configuration Guide.

Situation

You need to send e-mails from the router upon the occurrence of certain events. An e-mail account must be configured in the router for this before.

Solution

It is prerequisite that you have access to the web interface of the router and the router has Internet access. It is recommended to commission the router as suggested in the Quick Installation Guide for this. It is also prerequisite that an e-mail account with a provider exists and the access data are known.

Configuration via web interface

  1. Open the user interface of the router in a browser: 192.168.1.1

  2. Click in the update EventsE-mail account menu on pencil in the row of the e-mail account that you want to configure and configure it accordingly: [1]

    • E-mail address of sender: E-mail address as registered with the provider

    • Real name: freely selected name to identify the sender [2]

    • SMTP server: The domain name or IP address of the SMTP server

    • SMTP port: The SMTP port, which is used for accepting e-mails [3]

    • User name: User name for logging in the router to the SMTP server for e-mail dispatch

    • Password: Password for authentication

    • Encoding: The following options are available for this

      • none: The connection to the e-mail server will not be encrypted

      • STARTTLS: The connection will be established unencrypted, encryption will be negotiated upon connection establishment

      • SSL: The connection will always be encrypted using SSL/TLS

    • Trusted CA certificates: Specification of which certificates are trusted to verify the server certificate of the remote terminal: [4]

    • Verify server certificate: [Optional] [5]

    • Verify host name of server: [optional] [6]
      cg en m3 configuring email account v2 01

  3. Click on   SUBMIT  

  4. Click in the lan NetworkFirewall / NAT menu on plus to add a new IP filter rule for e-mail dispatch: [7]

    • Description: E-mail dispatch

    • Packet direction: OUTPUT

    • Protocol: TCP

    • Output interface: lte2 [8]

    • Destination port: enter the SMTP port configured in the e-mail account settings above
      cg en m3 configuring email account v2 02

  5. Click on   SUBMIT  

  6. Activate the profile with a click on   ACTIVATE PROFILE  cog white  .

Configuration via ASCII configuration file

It is also possible to add the e-mail account configuration using an ASCII configuration file. We’ve prepared the following ASCII configuration file for this. Copy and paste the content into your text editor. You still need to replace the respective entries with your e-mail account information. The IP filter rules permit e-mail dispatch and DNS requests and must be adjusted to the e-mail account settings as well (port!).

ASCII configuration file
events.email_account.address=router.address@provider.com
events.email_account.real_name=INSYS Router
events.email_account.server=smtp.provider.com
events.email_account.encryption=starttls
events.email_account.verify_peer=0
events.email_account.verify_host=0
events.email_account.port=587
events.email_account.username=user
events.email_account.password=password

netfilter.ip_filter.rule.add
netfilter.ip_filter.rule[last].rule_active=1
netfilter.ip_filter.rule[last].rule_description=E-mail dispatch
netfilter.ip_filter.rule[last].rule_direction=output
netfilter.ip_filter.rule[last].rule_protocol=tcp
netfilter.ip_filter.rule[last].rule_output_if=lte2,net3
netfilter.ip_filter.rule[last].rule_dport=587
netfilter.ip_filter.rule[last].rule_ipversion=all

administration.profiles.activate
Note The last line in the ASCII configuration file will activate the profile that is amended by this configuration directly upon applying the configuration.
  1. Open the user interface of the router in a browser: 192.168.1.1

  2. Click in the cog outline AdministrationProfile menu on file upload, select the ASCII configuration file to be uploaded and click on   SUBMIT  .

  3. In order to apply an ASCII configuration file, click in the cog outline AdministrationProfile menu on cog in the row of the respective configuration file, then on cog Apply ASCII configuration and on   APPLy ASCII CONFIGURATION  . [9]

  4. Activate the updated profile with a click on   ACTIVATE PROFILE  cog white  .

  5. Open the update EventsE-mail account menu and click on pencil in the row of the e-mail account to verify the changes made to the e-mail account.

Troubleshooting

  • Confirm the spelling of e-mail and SMTP server address (not case-sensitive).

  • Make sure to use the correct SMTP port.

  • Make sure to use the correct encryption method.

  • Disable the IP filters for IPv4 in the lan NetworkFirewall / NAT menu under Settings IP filter to check whether incorrect filter settings are the reason for connection problems.

  • Check in the view dashboard outline StatusLog-View menu the messages in the Events log. [10].


Back to the Configuration Guides for icom OS routers

Back to overview


1. Access data can be obtained from the e-mail provider or network administrator of the company.
2. The real name will be displayed in the e-mail program of the recipient as sender.
3. Usually port 587. Port 465 is often used when using TLS/SSL.
4. CA bundle and imported CA certificates: it will trust the CA certificates contained in the pre-installed CA bundle of cURL and the ones uploaded in the cog outline AdministrationCertificates menu; the CA bundle contains a series of CA certificates deemed as trusted
Only CA bundle: it will trust the CA certificates contained in the pre-installed CA bundle of cURL; it will not trust certificates uploaded in the cog outline AdministrationCertificates menu
Only imported CA certificates: it will trust certificates uploaded in the cog outline AdministrationCertificates menu; it will not trust the CA certificates contained in the pre-installed CA bundle of cURL
Each certificate uploaded in the cog outline AdministrationCertificates menu can also be selected as solely trusted certificate
5. If activated, it will be verified whether the certificate that has been received from the e-mail server during connection establishment originates from a CA certificate specified above; otherwise, a connection to the e-mail server cannot be established. If the checkbox is not checked, all certificates of the server are accepted without verification.
6. If activated, it will be verified whether the host name of the e-mail server corresponds to the Common Name in the certificate that has been received from the e-mail server during connection establishment; otherwise, a connection to the e-mail server cannot be established. If the checkbox is not checked, no verification will be made.
7. This rule permits the router the outgoing TCP connection to the SMTP server of the e-mail provider.
8. It is assumed in this example that the WAN connection takes place via the LTE modem in slot 2. If the WAN connection takes place via a different interface, this must be selected here (e.g. net3 - WAN or lte3).
9. Applying an ASCII configuration file means that the opened profile will be amended or modified by the configurations contained.. The opened profile will not be activated by this unless it contains the command administration.profiles.activate.
10. The selection of log files is limited to files that already contain entries