Basic routing - Domain specific configuration - SMTP sending

Hello,

I would like to discuss the following scenario.
We use Axigen via webmail
Axigen acts as secondary in house server and via remote pop downloads emails from a cloud email service provider and distributes them into the inhouse local accounts.

We want to use this external cloud remote server for SMTP sending as relay.

We have setup in Axigen a domain that has the same name and users that are hosted in the cloud service. The same UserA /UserB/UserC@DomainX accounts have been created locally corresponding to the accounts in our service provider

We want to use SMTP sending by routing mails through our cloud service provider.

We tried to create in Axigen Domain specific configuration routing settings for each account of the same local domain using the login credentials of our cloud service provider.

So whenever there is an outgoing email of UserA /UserB/UserC@DomainX and there is a UserA/UserB/UserC DomainX listing in custom domain routing and Axigen should use the listing’s specific or MX record cloud server config to log into with SMTP.

From the logs we observed this isn’t the case and Axigen is trying to log into the server of the domain that is included in the email address of the recipient instead no matter what the configuration is in Domain specific configuration listing.

Is it something we are doing wrong?

Thank you for you help!

Hello Miltos,

Most probably you have missed one condition and your rules were not been selected on the targeted event - which is on relay.

My suggestion is to create advances routing rules like below:

This could be done following these steps:

  • Login into WebAdmin > Security & Filtering > Acceptance & Routing > Advance Settings
  • For each User X account create a new rule with:
  • Name the rule with something evident (like Relay-for-JohnDoe)
  • Conditions: ALL of the below:
    ++ Sender email is: john.doe@email.com
    ++ Delivery | Relaying mail
  • Actions:
    ++ Relay | Authentication: relay-user and relay-password
    ++ Relay | Host: relay-hostname and relay-port

Save and enter the next one.

Note: please take care about access permissions for Axigen working folder (in Linux: /var/opt/axigen) as the credentials you have set into the routing rules will be saved in clear text in filters/smtpFilters.script).

HTH,
Ioan

Hello Ioan,

Tried your suggestion.
It did the tricK and we successfully sent emails

Thank you

BR
Miltos