No SMTP hosts avail...
 
Notifications
Clear all

No SMTP hosts available for domain

4 Posts
3 Users
0 Reactions
712 Views
(@mt190502)
Joined: 1 year ago
Posts: 2
Topic starter  

Hello, I'm using carbonio 23.7 on my server. But when i send mail, carbonio gives "No SMTP hosts available for domain". How can i fix this problem? Thanks.

 

Carbonio version: 23.7.0

OS Version:

NAME="Oracle Linux Server"
VERSION="8.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8

 

Trace:

023-08-20 19:49:50,968 WARN [qtp502800944-226: https://carbonio.EXAMPLE.COM/service/soap/SendMsgRequest ] [name=zextras@EXAMPLE.COM;mid=4;ip=100.105.0.29;oip=149.0.19.1, 100.105.0.2;oproto=https;port=54080;ua=CarbonioWebClient - Chrome 116.0.0.0 (Mac OS)/23.7.4_ZEXTRAS_202307 carbonio 20230726-1255 FOSS;soapId=3355f410;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: MessagingException
ExceptionId:qtp502800944-226: https://carbonio.EXAMPLE.COM/service/soap/SendMsgRequest:1692550190968:e9360a6217032811 
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:303)
at com.zimbra.cs.service.mail.ParseMimeMessage.parseMimeMsgSoap(ParseMimeMessage.java:392)
at com.zimbra.cs.service.mail.ParseMimeMessage.parseMimeMsgSoap(ParseMimeMessage.java:140)
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:222)
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:101)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:684)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:508)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:278)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:310)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:219)
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 com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
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.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)
Caused by: javax.mail.MessagingException: No SMTP hosts available for domain EXAMPLE.COM
at com.zimbra.cs.util.JMSession.getJavaMailSessionProperties(JMSession.java:308)
at com.zimbra.cs.util.JMSession.getSmtpSession(JMSession.java:219)
at com.zimbra.cs.util.JMSession.getSmtpSession(JMSession.java:109)
at com.zimbra.cs.service.mail.ParseMimeMessage.parseMimeMsgSoap(ParseMimeMessage.java:226)
... 84 more

   
Quote
(@sharif)
Admin
Joined: 3 years ago
Posts: 591
 

Posted by: @mt190502

Hello, I'm using carbonio 23.7 on my server. But when i send mail, carbonio gives "No SMTP hosts available for domain". How can i fix this problem? Thanks.

 

Carbonio version: 23.7.0

@mt190502

Hi,

Sorry to hear about the trouble.

Just to clarify things,

Carbonio CE is currently officially supported by either Ubuntu 20.04LTS or RHEL8.

So though Oracle Linux Version 8.8 shares the same core, we would recommend you to use the officially supported OS.

 

But as you reached this position,

can you please post the output of below commands:

 

cat /etc/hostname

cat/ete/hosts

zmcontrol -v

#From your workstation
telnet your_server_hostname 25

 

Thanks again.

Have a good day

🙂


   
ReplyQuote
(@mt190502)
Joined: 1 year ago
Posts: 2
Topic starter  

Posted by: @sharif

Posted by: @mt190502

Hello, I'm using carbonio 23.7 on my server. But when i send mail, carbonio gives "No SMTP hosts available for domain". How can i fix this problem? Thanks.

 

Carbonio version: 23.7.0

@mt190502

Hi,

Sorry to hear about the trouble.

Just to clarify things,

Carbonio CE is currently officially supported by either Ubuntu 20.04LTS or RHEL8.

So though Oracle Linux Version 8.8 shares the same core, we would recommend you to use the officially supported OS.

 

But as you reached this position,

can you please post the output of below commands:

 

cat /etc/hostname

cat/ete/hosts

zmcontrol -v

#From your workstation
telnet your_server_hostname 25

 

Thanks again.

Have a good day

🙂

 

[12:30:43@0] [root@carbonio.DOMAIN.COM:~]# cat /etc/hostname
carbonio.DOMAIN.COM

[12:30:50@0] [root@carbonio.DOMAIN.COM:~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
100.105.0.29 carbonio.DOMAIN.COM carbonio

[12:30:54@0] [root@carbonio.DOMAIN.COM:~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether be:be:f9:a8:25:f5 brd ff:ff:ff:ff:ff:ff
inet 100.105.0.29/20 brd 100.105.15.255 scope global noprefixroute ens18
valid_lft forever preferred_lft forever
inet6 fe80::b122:5528:43cc:a8c2/64 scope link noprefixroute
valid_lft forever preferred_lft forever

[12:31:32@0] [root@carbonio.DOMAIN.COM:~]# telnet carbonio.DOMAIN.COM 25
Trying 100.105.0.29...
Connected to carbonio.DOMAIN.COM.
Escape character is '^]'.
220 carbonio.DOMAIN.COM ESMTP Postfix
quit
221 2.0.0 Bye
Connection closed by foreign host.

[12:31:41@0] [root@carbonio.DOMAIN.COM:~]# su - zextras
[zextras@carbonio ~]$ zmcontrol -v
Carbonio Release 23.7.0

 


   
ReplyQuote
(@anahuac)
Joined: 1 year ago
Posts: 324
 

@mt190502 Just run the commands below:

zmprov ms `zmhostname` zimbraSmtpPort 25
zmcontrol restart

   
ReplyQuote