With this identification method, you can define specific headers for us to search within outgoing messages. If a message does not have these lines, it is blocked by the filter. This can help to prevent or better track spam without affecting other senders of the domain.
Log in to the admin panel. You can find instructions in our FAQ article "How can I log in to the Admin-Panel (web interface of the filter)?".
In the menu Outgoing, click on the sub-item Manage users.
Select the option Edit in the drop-down menu of the outgoing user.
Select Header from the drop-down menu Identification Method and click on the button + Add New Identification Header.
In the field Header name, enter the header name that you are configuring (e.g. X-AuthUser for Exim/cPanel or Received for Postfix).
For the "Header Value" choose between the following two options:
Click on Add.
If you have more than one identity configured, each identity will be processed in turn. If there are multiple headers in a message, EuropeanMX will always process the first header as the first one.
The setup at EuropeanMX is now completed. You can check the settings by searching for a sent message under Outgoing < Logs and viewing the column Identity. If you see the previously defined data in the column, the identification works correctly.
It is important to set up a good identification for your different mail streams in order to use this feature effectively.
There are many different message headers and identities that you can use. Below are a few examples:
Header name: X-AuthUser
Header value: Simple
Header name: X-PHP-Originating-Script
Header value: ^(.*?)\(.*$
Header name: Received
Header value: .*\(Authenticated sender: (.*?)\).*
To enable EuropeanMX to check the identity header when sending a message, your mail server must be configured to automatically add the identity header when the message is transferred. Below we have put together a few sample configurations:
To add individual lines in the message header, an XHeader transport agent must be created in Microsoft Exchange. For more information, please refer to the Microsoft KB article (https://docs.microsoft.com/en-us/previous-versions/office/developer/exchange-server-2010/bb204064(v%3Dexchg.140)).
headers_add = X-AuthUser: $authenticated_idheaders_add = X-AuthUser: ${if match {$authenticated_id}{.*@.*}\{$authenticated_id} {${if match {$authenticated_id}{.+}\{$authenticated_id@$primary_hostname}{$authenticated_id}}}}headers_add = ${if !eq{$original_domain}{$domain}{X-Forwarded-For: $original_domain}}
Please add the following line in your postfix to the file main.cf, if not already present
smtpd_sasl_authenticated_header = yesThis adds the line Authenticated Sender to the received message header.