Unable to set incom...
 
Notifications
Clear all

Unable to set incoming smtp hostname

5 Posts
2 Users
1 Reactions
1,138 Views
(@nonadminus)
Joined: 2 years ago
Posts: 5
Topic starter  

Hello! When adding new domain to carbonio ce fails to set smtp incoming hostname.

hostname -f output

carbonio-mail-server.tiara.local

hostname output

carbonio-mail-server

/etc/hosts file looks like this

192.168.0.206 carbonio-mail-server.tiara.local carbonio-mail-server
127.0.0.1 localhost carbonio-mail-server
127.0.1.1 carbonio-mail-server

# The following lines are desirable for IPv6 capable hosts
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

I add a domain with a different name, for example example.ru, and when setting the name of the incoming smtp host in the admin panel, I get an error

system failure public service hostname must be a valid fqdn and compatible with current domains (or its aliases)

in the mailbox logs the following

Spoiler
mailbox.log

com.zimbra.common.service.ServiceException: system failure: Public service hostname must be a valid FQDN and compatible with current domain (or its aliases).
ExceptionId:qtp502800944-1096: https://192.168.0.206:7071/service/admin/soap/ModifyDomainRequest:1670397166196:837842f0b8aa2659
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:279)
at com.zimbra.cs.service.admin.ModifyDomain.handle(ModifyDomain.java:71)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:679)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:503)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:273)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:309)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:218)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:208)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:292)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilter.java:152)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:43)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:48)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:36)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:95)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:113)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:487)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:336)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:301)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:830)
2022-12-07 14:12:46,198 INFO [qtp502800944-1096: https://192.168.0.206:7071/service/admin/soap/ModifyDomainRequest ] [name=zextras@tiara.local;mid=2;ip=192.168.0.206;oip=192.168.0.99;port=54600;ua=CarbonioWebClient - Chrome 94.0.4606.71 (Linux)/22.11.0_ZEXTRAS_202211 agent 20221021-0932 FOSS;soapId=5ef1be34;] soap - ModifyDomainRequest elapsed=3

Help solve the problem!

This topic was modified 2 years ago 2 times by nonadminus

   
Quote
(@sharif)
Admin
Joined: 3 years ago
Posts: 602
 
Posted by: @nonadminus

system failure public service hostname must be a valid fqdn and compatible with current domains (or its aliases)

Hi,

Can you please provide us a some more information Or some screenshots.

You are getting problems with:

Public Service Host Name

Or

incoming smtp host / Inbound SMTP Host Name

 

Regards,

Sharif


   
ReplyQuote
(@nonadminus)
Joined: 2 years ago
Posts: 5
Topic starter  

@shariful-islam thanks for the answer!

Domain creation window
image 1

Error when adding incoming smtp hostname
image 2

I can install it using CLI like this, will it work? Will solve the problem?

zmprov md test.ru zimbraDNSCheckHostname 'mx.test.ru'

The postfix settings are below in the screenshot.
image 3

Moreover, in zimbra in the admin panel I can set the name of the incoming smtp host, but in the carbonio admin panel I can’t do this, only through cli

 

 


   
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 602
 

@nonadminus 

Hi,

Could you provide us with some more details. I found different hostnames on the screenshot:

From postfix configuration:

hostname : mail.meitan.ru
hostname : meitan.ru

But in a previous thread, you mentioned the hostname is

carbonio-mail-server

or
carbonio-mail-server.tiara.local

 

So could you please share more details?

 

Regards,

Sharif


   
ReplyQuote
(@nonadminus)
Joined: 2 years ago
Posts: 5
Topic starter  

In order for my carbonio-mail-server.tiara.local server to be able to serve other domains like meitan.ru or example.com (no matter which one), I could not correctly set the name of the incoming smtp host in the web interface. It helped to install through the carbonio console, with the commands:

incoming smtp hostname

zmprov md meitan.ru zimbraDNSCheckHostname 'mx.meitan.ru'

public service protocol

zmprov md meitan.ru zimbraPublicServiceProtocol 'http'

domain timezone

zmprov md meitan.ru zimbraPrefTimeZoneId 'Asia/Barnaul'

After that everything worked as it should.

 

 

 

 


   
ReplyQuote