This article explains how to create a sending address to send authenticated emails via Hornetsecurity.
A sending address is required when emails are to be sent via Hornetsecurity, but a fixed relay IP address cannot be used. This is the case, for example, when emails are sent from different locations, devices, or applications, or when the customer's server uses a dynamic IP address.
Why do I need a sending address?
A sending address enables authenticated sending via the Hornetsecurity smarthost.
Instead of allowing the IP address of the sending system, the system authenticates itself with a sending address and password at the Hornetsecurity smarthost.
Typical use cases include:
- Printers or scanners
- CRM or ERP systems
- Monitoring systems
- Applications that send email
- Locations with a dynamic public IP address
If you have your own mail server with a fixed IP address and users do not need to send from different locations, devices, or applications, a sending address is generally not necessary.
In this case, the fixed IP address can be stored as the relay server for outgoing emails.
What is a smarthost?
A smarthost is a mail server through which outgoing emails are forwarded.
The sending system does not transfer the email directly to the recipient's mail server, but first sends it to the smarthost. The smarthost then handles the rest of the delivery.
In this case, Hornetsecurity is the smarthost. The device or application logs in to the Hornetsecurity smarthost using the sending address and transfers the email to Hornetsecurity.
Hornetsecurity checks and processes the email and then delivers it to the recipient.
Prerequisites
Make sure that the following prerequisites are met:
- You have the required global admin rights in the Control Panel.
- It is clear for which domain or environment the sending address is to be used.
- The prerequisite is that Spam & Malware Protection is enabled for the relevant domain.
Create SMTP relay credentials
With the SMTP relay credentials feature, you can create your own SMTP relay account for authenticated sending of outgoing emails. To do this, an SMTP relay account with its own username and an automatically generated password is created in the Control Panel.
Create an SMTP relay account
- Log in to the Control Panel using your administrative credentials.
- Navigate to Email Security > Spam & Malware Protection > Email Authentication.
- In the SMTP relay credentials section, click Create relay account.
- Under Name, enter the desired username for the SMTP relay account.
- Optionally, under Description, enter the purpose of the SMTP relay account.
- Click Create relay account.
The SMTP relay account is created and the credentials are displayed.
- Copy the username and automatically generated password and store them in a secure location.
- Select the checkbox to confirm that you copied the SMTP password.
- Then click Close.
The newly created SMTP relay account is now displayed in the overview under SMTP relay credentials.
Important: The automatically generated password is displayed only once, directly after the SMTP relay account is created. It is not possible to display the password again later.
Use the SMTP relay credentials
The newly created SMTP relay account can then be used for authentication at the Hornetsecurity smarthost.
Enter the following settings in your device, application, or email system.
| Setting | Value |
|---|---|
| Server address | relay-cluster-eu01.hornetsecurity.com |
| Port | 587 |
| Encryption | TLS (required) |
| Authentication | SMTP with username and password |
| Username | Name of the created SMTP relay account |
| Password | Automatically generated password of the SMTP relay account |
Log in using the SMTP relay account created previously and its associated password.
After successful authentication, outgoing emails are processed via the Hornetsecurity infrastructure and forwarded to the respective recipients.
For more information, please see the following article in our manual: Create an SMTP relay account
