Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » 2 MX records to two different Mail Servers
  •  
vijayadi

Messages: 9
Karma: 0
Send a private message to this user
Thank you for the suggestion. Our webforms process emails with smtp authentication. In our current email server the option to enable smtp is like this.
Enable SMTP Authentication with smtp user name and password.

And in Kerio Mail server smtp section the option are:
Use Relay Server with relay server host name and port(My understanding as a relay server is an ISP Address).

So we don't know how to setup smtp authentication without relay server option. Please help us.
  •  
sonofcolin

Messages: 483
Karma: 0
Send a private message to this user
If your webforms use a user name and password, could you not use a user from your KMS setup (user database)? From what I understand, you don't really need to use your other mailserver to achieve what you want.

If you want Kerio to be able to send mail, you need to enable relay control somehow (don't select open relay!) Allow relay for users authenticated through SMTP will be a start and deliver directly using DNS MX records. This way, your webform authenticates against KMS and then KMS delivers the message to wherever it is intended to go via MX record lookup.
  •  
vijayadi

Messages: 9
Karma: 0
Send a private message to this user
At present we store webform user and passwords in database table. And smtp authentication setting is entered in web.config file. So its not really easy to go and change authentication part.

We also don't want to make Kerio as an open relay. What I don't understand is what should be our relay server name?
Is it the MX Record? eg mail.mycompany.com?

Thanks again to helping out.
  •  
sonofcolin

Messages: 483
Karma: 0
Send a private message to this user
The server designated to send mail (relay) in your MX records should be the host name of your mailserver. In your case mail.company.com
  •  
freakinvibe

Messages: 1552
Karma: 62
Send a private message to this user
In your case, I would use a sub-domain:

- Argosoft: username<_a.t_>web.mycompany.com

- KMS: username<_a.t_>mycompany.com

Yahoo does it like that:

- Yahoo Staff: username<_a.t_>corp.yahoo.com

- Normal Webmail User: username<_a.t_>yahoo.com

You must have two MX records then, both can have the same priority.

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
tpalmer

Messages: 61
Karma: 0
Send a private message to this user
If I understand correctly (and I'm not at all sure I do), you want:

2 servers for inbound and outbound company mail, with different user lists, and in different locations.
You want these to back each other up
1 web form on a server which only sends mail, never receives

If the webform machine never receives mail, its not relevant to the discussion.

You can't really split mail between separate servers with different user lists via MX records. The subdomain thing can be made to work, but I don't think just with KMS - you would need something in front with more robust lookups and address rewriting, and there are outbound issues (I expect you don't really want outbound mail to have a reply address of "user<_a.t_>sub.domain.tld").

KMS does have a feature to forward mail for accounts not found on ServerA to ServerB (Domain properties, Forwarding), which does work, but I'm not sure what would happen if you have separate MX records, and this feature enabled on both servers. Has a loopy feeling to it - test extensively.

Both servers would need separate names as well as addresses. You use the MX records to chose. If they have the same name, unless you are doing much more complex stuff, the Internet will be confused about getting mail to you.

company.com
(SOA stuff)

MX 5 server1.company.com
MX 10 server2.company.com

server1 A IN 123.123.1.2
server2 A IN 456.456.1.2

How exactly you set that up depends on your DNS host/software.
  •  
nonnac

Messages: 2
Karma: 0
Send a private message to this user
vijayadi wrote on Sun, 12 August 2007 02:41

This is the scenario. We have a email server running(argosoft mail server) at present and we are on trial run with Kerio mail server as well.

Our plan is to keep argosoft for sending emails which are getting generated by website and move our employee accounts to Kerio mail server

I want to have two Email Servers at two different email server hosts to answer
Internet Mail requests. These locations are NOT linked in anyway, but WILL
use the same public DNS name for mail. For example, MYCOMPANY.COM.

If I have COMPANY.COM MX records pointing to two different IP Address (the
two locations - I assume by MX weight records), will the mail arrive at the
destination hosting the actual user mailbox?

I have UserA<_a.t_>MYCOMPANY.COM. Mail is destined to him - was not found on first
server (first MX records) - so it tries next mail server (the second / last
MX record) - WILL THIS scenario work?

If it works then whats the mx record or kerio email server changes I need to make?



The MX only dictates where the incoming mail goes - i.e. I assume your Kerio server - so only one MX record required.

The server you use for outgoing should not need any MX?
Previous Topic: KOC 6.4, Outlook 2007 - search index & spam buttons
Next Topic: KMS 6.4.1
Goto Forum:
  


Disclaimer:
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: Sat Nov 18 19:03:38 CET 2017

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