Jump to:navigation, search
Wiki





notempty
Dieser Artikel bezieht sich auf eine nicht mehr aktuelle Version!

notempty
Der Artikel für die neueste Version steht hier

notempty
Zu diesem Artikel gibt es bereits eine neuere Version, die sich allerdings auf eine Reseller-Preview bezieht























































tab, click the Add OAuth 2 connection button to create a new OAuth 2 connection. Depending on the provider selection Google Workspace, Microsoft 365 (Secret Client Key), or Microsoft 365 (Certificate) the configuration steps will change. }}






























De.png
En.png
Fr.png






Configuration of the UTM's mail connector
Last adaptation to the version: 12.2.4
New:
notempty
This article refers to a Resellerpreview

11.7

Access: UTM-IP:Port or UTM-URL:Port
Port as configured at Network / Appliance Settings / Webserver
Default-Port: 11115
i.e.: https://utm.ttt-point.de:11115
Default: https://192.168.175.1:11115
→ Applications →Mail-Connector

Introduction

Schematic representation of how the Mail Connector functions

The Mail Connector offers the option of collecting emails from various mail servers via the POP3 and POP3S as well as IMAP and IMAPS protocols and forwarding them to an internal mail server. Forwarding to the internal mail server is done via the SMTP protocol.

  • If there are only mail clients in the internal network that have retrieved the external mail server so far, the Mail Connector cannot be used.


  • Setup to pick up individual accounts

    UTM 12.2.4 Mail-Connector Dienste-en.png

    If a separate email account is configured for each user on the external mail server, a separate Mail Connector service must be created for each account. If a service is created for each additional email account, the minute interval is set in the General tab under Interval (minutes).
    If the local user accounts are always the same SMTP mail server, this will already be displayed faintly in the field from the second service onwards. You can then save without another entry in this field.



    Configurations

    Services

    In the Services tab, the Add Mail Connector Service button is clicked to create a new Mail Connector service.
    Caption Value Description UTMv12.2.4 Mail-Connector Dienst hinzufügen-en.png
    Use OAuth 2
    new
    No
    Default
    When Yes is enabled, OAuth 2 is used. The OAuth 2 connection item appears.
    OAuth 2 connection:

    Hidden by default
        An existing OAuth 2 connection is selected. With + a new connection is created.
    Server:     The external mail server from which the emails are fetched
    Protocol: POP3IMAP Here the protocol used to connect to the external server is specified
    User:     Username of the external mailbox
    Password:     Password of the external mailbox
    Maximum message size: 20Link= MB Maximum message size for the Mail Connector
    Multidrop: Off If Multidrop is deactivated, the emails of a mailbox are forwarded to an internal email address. To collect emails for multiple recipients, Multidrop must be enabled.
    When On is enabled, the top tab Multidrop options is enabled.
    Keepmails: On Usually emails are deleted after they have been picked up. Enabling of Keepmails prevents this deletion.
  • When activated, external mailboxes can fill up!
    Keepmails should only be used temporarily for test purposes, or if it is otherwise ensured that the external mailbox does not reach its capacity limit.
  • Accept defective header: Off Emails with defective header are included in the Mail Connector
    Encryption: AutoStartTLSSSL Specifies the type of encryption
    Destination email address:
    With multidrop deactivated
       
    • Specifies the destination mailbox
    • If an SMTP route already exists for the mail domain in the mail relay, this is automatically suggested as the SMTP mail server
    Destination domain:
    With activated multidrop
        Specifies the destination domain
    SMTP Mailserver:    
    • Specifies the intern mail server to which accepted emails are to be forwarded
    • If the mail domain has not yet been created in the mail relay, an SMTP route is automatically added there
      'Attention: If a suggested IP address is changed, the setting in the mail relay is overwritten with the new IP address after consultation!
    Multidrop (Pickup from a collective account)

    If all emails should be stored on the external mail server in a collective mailbox and only assigned to the local user mailboxes when they are collected, these can be set up with the Multidrop option. To do this, activate the Multidrop option for a new service or for an existing one. The following settings are made in the Multidrop options tab:

    The idea behind multidrop in the Mail Connector is to pick up mails from a CatchAll collective mailbox of an external provider and to deliver them to the individual mailboxes on the company's own mail server. The differentiation of the individual mailboxes via the Mail Connector is done via an envelope header entry in the emails of the collective mailbox. However, this can vary depending on the provider and the mail server used.
      
    Make sure that if the Multidrop is used, the individual mailboxes must also be specified under "Remote User".
    Otherwise the mail connector cannot deliver the mails to the individual mail accounts.
    UTMv12.2.4 Mail-Connector Dienst hinzufügen Multidrop-en.png
    Envelope-Header: X-Original-To The envelope header entry is selected. It determines which emails from the original recipient with this envelope header entry will be assigned to a local mail account on the internal mail server.
    X-Envelope-To
    Delivered-To
    Envelope-To
    Remote email address: user@mail.com Email address of the original recipient
    Local email address: alice@tttpoint.de Email address of the internal recipient
    Click + to assign

    OAuth 2


    OAuth 2
    In the {#var:OAuth 2
    Google Workspace
    Google Workspace
    Name:     Name of the OAuth 2 connection UTMv12.2.4 Mail-Connector OAuth2 hinzufügen-en.png
    Provider: Google Workspace Provider selection
    Service account:     The Google Workspace service account is entered
    User account: »alice@ttt-point.de The user accounts are selected
    Certificate: Google_Workspace-OAuth2_cert The certificate that is uploaded in Azure is selected
    Preliminary note Microsoft 365
    Preliminary note Microsoft 365
    In order to use Microsoft 365, configured Azure Apps are necessary.
    Microsoft 365 (Secret client key)
    Microsoft 365 (Secret client key)
    Name:     Name of the OAuth 2 connection UTMv12.2.4 Mail-Connector OAuth2 hinzufügen MS365-Key-en.png
    Provider: Microsoft 365 (Secret client key) Provider selection
    Application ID:     The application ID is entered
    In Microsoft Azure in the App property under Application ID
    Tenant ID:     The tenant's ID is entered
    In Microsoft Azure in the menu Azure Active Directory under Tenant ID
    Secret client key:     The secret client key is entered
    In Microsoft Azure in the menu Certificates & secrets in the tab Client secrets under Value
    Microsoft 365 (certificate)
    Microsoft 365 (certificate)
    Name:     Name of the OAuth 2 connection UTMv12.2.4 Mail-Connector OAuth2 hinzufügen MS365-Cert-en.png
    Provider: Microsoft 365 (certificate) Provider selection
    Application ID:     The application ID is entered
    In Microsoft Azure in the App property under Application ID
    Tenant ID:     The tenant's ID is entered
    In Microsoft Azure in the menu Azure Active Directory under Tenant ID
    Certificate: CC-OAuth2-MS365_cert The certificate that is uploaded in Azure is selected

    General


    General
    In the General tab, the following settings can be made, effective for all Mail Connector services.
    Interval (minutes): 15Link= The minute interval in which the external mail server is checked for new emails UTMV12.2.4 Mail-Connector Allgemein-en.png
    NoSoftBounce: Off If enabled, no further delivery attempt is made for emails that generate a permanent forwarding error. These emails are deleted from the mailbox (if Keepmail is inactive) or marked as read (if Keepmail is active).