Multiple hosts in "Inbound SMTP host name"

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
LeoKurz
Posts: 5
Joined: Sat Sep 13, 2014 1:54 am

Multiple hosts in "Inbound SMTP host name"

Postby LeoKurz » Sun Feb 17, 2013 9:41 am

Hello,
I found some threads but no real answer how to configure multiple hosts for the "Inbound SMTP host name" in the UI. Is it possible (it must be!) and if, how is it entered (comma or space separated)?
Thanx
__Leo


phoenix
Ambassador
Ambassador
Posts: 26243
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Multiple hosts in "Inbound SMTP host name"

Postby phoenix » Sun Feb 17, 2013 9:45 am

I don't understand what you mean by '......configure multiple hosts....', what exactly are you trying to do and why?
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
LeoKurz
Posts: 5
Joined: Sat Sep 13, 2014 1:54 am

Multiple hosts in "Inbound SMTP host name"

Postby LeoKurz » Mon Feb 18, 2013 3:44 am

Hello,
if you have an external mail relay, you have to configure "Inbound SMTP Host name" in the domains to validate incoming SMTP traffic. Usually every external mail provider has at least two mx-entries in the DNS to recieve mail, so each of this hosts can receive and forward mail. To my understanding, all hosts of the external provider which are listed as mx records in the DNS have to be listed in the "Inbound SMTP Host name". How can I do this?
__Leo
phoenix
Ambassador
Ambassador
Posts: 26243
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Multiple hosts in "Inbound SMTP host name"

Postby phoenix » Mon Feb 18, 2013 4:48 am

LeoKurz wrote:if you have an external mail relay, you have to configure "Inbound SMTP Host name" in the domains to validate incoming SMTP traffic.
There's a contradiction in that statement An 'external mail relay' is a server through which you are relaying mail for delivery, is that what you're doing? If it is you need do nothing other than relay through that server and possibly authenticate to do that.
LeoKurz wrote:Usually every external mail provider has at least two mx-entries in the DNS to recieve mail, so each of this hosts can receive and forward mail.
The two MX records just indicate a primary and backup (or possibly load-balanced) mail servers.
LeoKurz wrote:To my understanding, all hosts of the external provider which are listed as mx records in the DNS have to be listed in the "Inbound SMTP Host name". How can I do this?
This is the contradiction in your first question, are they relaying through your server? If they are they just need to use port 587 and authenticate to send mail via your server. Nothing else needs to be done and nothing needs to be changed.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
LeoKurz
Posts: 5
Joined: Sat Sep 13, 2014 1:54 am

Multiple hosts in "Inbound SMTP host name"

Postby LeoKurz » Mon Feb 18, 2013 7:23 am

Mails are sent to my ISP, that's why *their* Mailservers are listed in the mx records of my domain. Then these servers forward the mails per smtp to my zimbra server. This is a very common sceario if you e.g. host virus scanning at an external provider. This is exactly the case when you, acording to the manual, are supposed to configure "Inbound SMTP Host name" as the mx check will not repoert the zimbra server as mail host. But in most cases, there are at least two servers listed as mx records but the "Inbound SMTP Host name" in general or domain configuration only allows on host. But IMHO all hosts listed as mx entries in the domain have to go into this configuration.
__Leo
LeoKurz
Posts: 5
Joined: Sat Sep 13, 2014 1:54 am

Multiple hosts in "Inbound SMTP host name"

Postby LeoKurz » Wed Feb 27, 2013 9:56 am

Knock,knock, any news on this? When I understand zimbra-attrs.xml right, the attr id="744" name="zimbraDNSCheckHostname" only allows a single value?! The description is quite obvious: "This attribute is used for DNS check by customers that configure their MX to point at spam relays or other non-zimbra inbox smtp servers". This is *very* common, at least with our customers, but I can't think of a provider who only has a single server set in the mx records. What happens if the second (third, forth...) sever relays to the zimbra server? Is the mail rejected?
__Leo
kruon
Advanced member
Advanced member
Posts: 83
Joined: Sat Sep 13, 2014 12:36 am

Multiple hosts in "Inbound SMTP host name"

Postby kruon » Thu Feb 28, 2013 6:29 am

LeoKurz wrote:What happens if the second (third, forth...) sever relays to the zimbra server? Is the mail rejected?

That mail will be treated like any other mail server which sends mail to your host.
You only need to specify one address there.
dummy_foto
Posts: 1
Joined: Sat Sep 13, 2014 3:26 am

Multiple hosts in "Inbound SMTP host name"

Postby dummy_foto » Fri Nov 22, 2013 4:13 am

LeoKurz wrote:Knock,knock, any news on this? When I understand zimbra-attrs.xml right, the attr id="744" name="zimbraDNSCheckHostname" only allows a single value?! The description is quite obvious: "This attribute is used for DNS check by customers that configure their MX to point at spam relays or other non-zimbra inbox smtp servers". This is *very* common, at least with our customers, but I can't think of a provider who only has a single server set in the mx records. What happens if the second (third, forth...) sever relays to the zimbra server? Is the mail rejected?
__Leo

I have same question and so surprised that no one understand and able to answer...
johnnyentertains
Posts: 3
Joined: Sat Sep 13, 2014 3:19 am

Multiple hosts in "Inbound SMTP host name"

Postby johnnyentertains » Wed Aug 27, 2014 9:52 am

dummy_foto wrote:I have same question and so surprised that no one understand and able to answer...

Same question here. I'll break it down barney style...
We have the same setup. The reason there are two (2) MX records is that a larger organization cannot simply have one (1) SPAM/AV server for mail. If that goes down for any reason the second, usually clustered together with a different host name, takes over and continues either store and forward or continues normal operation. A large organization cannot have email rejections dude to a service restart of a SPAM/AV filter.
E.G. MX: smtp01.domain.com - priority 10

MX: smtp02.domain.com - priority 20
neither of those are the zimbra server, they are SPAM/AV servers.
SO...the question I'm sure LeoKurz and dummy_foto have are the same, how do you enter multiple MX records in the Zimbra Admin console under Home-->Configure-->Global Settings-->MTA-->Network-->Inbound SMTP host name? Do you put a comma , do you put a semi colon ; do you put a period . do you put a kitten emoji ^.^???
tkriviradev
Posts: 3
Joined: Wed Dec 07, 2016 1:34 pm

Re: Multiple hosts in "Inbound SMTP host name"

Postby tkriviradev » Sun Apr 02, 2017 5:54 pm

I am with you guys I get the point right away.

No i am at the same situation, am wondering what to do.. how to define two servers to be allows in "Inbound SMTP host name" filed.

Return to “Administrators”

Who is online

Users browsing this forum: axslingr and 24 guests