Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » 2 Mail Servers, with Kerio and Relaying

Messages: 24
Karma: 0
Send a private message to this user
One server is running dovecot IMAP (, one is Kerio (

The domain has 2 MX records, with one with a priority of 10 (the dovecot one), one 20 (the kerio one).

External mails reach the appropriate account ok with some messy forwarding...

On the dovecot server, the emails for the users on the kerio one have an aliases which points to the kerio server, eg...

Joe Bloggs's actual account is on Kerio. But if a user from dovecot emails them, we've set an email address alias that says -> joe<_at_>

On Kerio, we've set up the and also (we had to do this otherwise the maillog shows that it can't find then is aliased to his actual account on Kerio, joe<_at_>

Although messy, it works as both mail servers can send within the domain and the message gets to the right person without saying 'can't find this user account'.

The Kerio server was set to relay through the SMTP server (the same one Dovecot is on) but I've changed that since to send using MX records and added SPF and Caller-ID text records into our DNS and so far seems to be working as before and users haven't reported any problems yet.

The only thing that may affect the spam thing that I can think of is our internet hostname for the Kerio server is provided by our ISP in their records. In our DNS, we've got resolving to the same IP, but its probably going off the ISP's hostname rather than ours (unless you can think of a way to fix this).

Does all that make sense?


Messages: 72
Karma: 0
Send a private message to this user
You should be able to change your internet host domain to whatever you want and then change the ip accordingly. your isp won't let you change the dns setting?

Messages: 82
Karma: 1
Send a private message to this user
Yes, I would think having a proper reverse DNS entry with the ISP will help a lot. Most ISPs should be able to do that for you - even BT can nowadays, and that took a while Smile

Previous Topic: Outlook Connector - Win 7 - No Push
Next Topic: Users that are excluded from the GAL appear in iCal autocomplete on KC 7.0.1
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 23 12:35:40 CET 2017

Total time taken to generate the page: 0.00347 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.