In order to relay mails through MailChannels, IceWarp® must authenticate with MailChannels using the credentials provided to you. This article provides instructions for setting up authentication.
Authentication to MailChannels Cloud requires setup using the provided username and password. To setup authentication, navigate to Mail -> General -> Delivery -> Use Relay Server. The relay server should contain the following, as provided in the image:
MailChannels Cloud requires that the X-AuthUser header, which identifies the authenticated username of the sender, is added to headers. When there are no headers, MailChannels SMTP Relay will consider these as forwarded mails so a different set of policies will be applied.
The X-AuthUser header can be added by taking the following steps:
- Navigate to Mail, then Rules. Select Add.
- Check All messages for Conditions.
- Check Edit message header for Actions.
- Click header under Description then chose add to add action.
- For the Header field type X-AuthUser:.
- The Value field should be: %%auth_email%%
- Be sure to enable and apply the rule.