Mail sending error ...
 
Notifications
Clear all

Mail sending error - No SMTP hosts available for domain domain.com

11 Posts
5 Users
0 Reactions
904 Views
(@almarulanda)
Joined: 2 years ago
Posts: 6
Topic starter  

Hello team Please could you help me, 1 month ago I installed carbonio ce in a small company, everything was working correctly. Yesterday the carbonio ce server was restarted, but when I start again it is not possible to send messages, the error it generates is:

mailbox.log ---- Caused by: javax.mail.MessagingException: No SMTP hosts available for domain smtp -

Unable to connect to SMTP server 127.78.0.7: java.net.ConnectException: Connection refused.

carbonio files.log---- [main] ERROR com.zextras.carbonio.files.Boot - Service stopped unexpectedly: org.postgresql.util.PSQLException: Connection to 127.78.0.2:20000 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

 

Result Dig

 

dig mxdomain.com

; <<>> DiG 9.16.1-Ubuntu <<>> mx domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24906
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;domain.com IN MX

;; ANSWER SECTION:
domain.com. 1945 IN MX 10 correo.domain.com

;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: jue sep 29 11:47:14 -05 2022
;; MSG SIZE rcvd: 63

 

dig mx correo.domain.com

; <<>> DiG 9.16.1-Ubuntu <<>> mx correo.domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54761
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;correo.domain.com. IN MX

;; Query time: 3 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: jue sep 29 11:49:15 -05 2022
;; MSG SIZE rcvd: 47

 

Result etc/host

127.0.0.1 localhost domain.com
127.0.1.1 correo

192.168.105.26 correo.domain.com correo

 

dnsmasq

server=1.1.1.1
domain=domain.com
host-record=domain.com,192.168.20.33
host-record=correo.domain.com,192.168.20.33
mx-host=domain.com,correo.domain.com,50

 

please could you help me to solve this event
 

 


   
Quote
(@almarulanda)
Joined: 2 years ago
Posts: 6
Topic starter  

At the moment it has been detected that the carbon mesh tunnel is giving an error

root@correo:~# service-discover bootstrap-token
Insert the cluster credential password:
ccacc755-f7f0-394c-566a-80629198316froot@correo:~# ssh -N -f -L 8500:localhost:8500 root@localhost
root@localhost's password:
root@correo:~# channel_new: internal error: channels_alloc 16390 too big


   
ReplyQuote
(@arman)
Admin
Joined: 4 years ago
Posts: 395
 

Hi @almarulanda,

We have forwarded this issue to our team as it needed more investigation. As soon as we hear from them, we will write you back. Thank you so much for being with us.

Regards,

Arman


   
ReplyQuote
(@arman)
Admin
Joined: 4 years ago
Posts: 395
 
Posted by: @almarulanda

Hello team Please could you help me, 1 month ago I installed carbonio ce in a small company, everything was working correctly. Yesterday the carbonio ce server was restarted, but when I start again it is not possible to send messages, the error it generates is:

mailbox.log ---- Caused by: javax.mail.MessagingException: No SMTP hosts available for domain smtp -

Unable to connect to SMTP server 127.78.0.7: java.net.ConnectException: Connection refused.

carbonio files.log---- [main] ERROR com.zextras.carbonio.files.Boot - Service stopped unexpectedly: org.postgresql.util.PSQLException: Connection to 127.78.0.2:20000 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

 

Result Dig

 

dig mxdomain.com

; <<>> DiG 9.16.1-Ubuntu <<>> mx domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24906
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;domain.com IN MX

;; ANSWER SECTION:
domain.com. 1945 IN MX 10 correo.domain.com

;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: jue sep 29 11:47:14 -05 2022
;; MSG SIZE rcvd: 63

 

dig mx correo.domain.com

; <<>> DiG 9.16.1-Ubuntu <<>> mx correo.domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54761
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;correo.domain.com. IN MX

;; Query time: 3 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: jue sep 29 11:49:15 -05 2022
;; MSG SIZE rcvd: 47

 

Result etc/host

127.0.0.1 localhost domain.com
127.0.1.1 correo

192.168.105.26 correo.domain.com correo

 

dnsmasq

server=1.1.1.1
domain=domain.com
host-record=domain.com,192.168.20.33
host-record=correo.domain.com,192.168.20.33
mx-host=domain.com,correo.domain.com,50

 

please could you help me to solve this event
 

 

Hi @almarulanda,

Would it be possible to upgrade to the latest version

apt update && upgrade

and see if it resolves the issue and let me know? I couldn't reproduce your issue. If you have been able to solve the problem, please let me know what you did to resolve it.

Thank you very much.

Arman


   
ReplyQuote
(@ccdiazt)
Joined: 2 years ago
Posts: 2
 

Hi all:

I'm new in the forum.
Recently installed a fresh carbonio-ce on Ubuntu-20.04 (Carbonio Release 22.10.0), and evreting is good except I can´t send a e-mail from WebUI. The e-mail never leave and remain in draft folder. The legend that appear when I try to send a e-mail after the count of 3 second is "Something went wrong, please try again"

I try  found a asnwers in old post, but no yet I have a solutions

Thanks for your comments


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@ccdiazt 

Hi,

Sorry to hear that you are facing issues.

Could you please try this and let us know if it works for you or not:

zmprov ms mail.example.com zimbraSmtpPort 25

It's a workaround. But it also suggests that some went wrong during the installation process.

Therefore, we would strongly request and recommend you follow this forum post to perform a clean installation.

Forum post link

Please let us know your feedback.

Thank you so much for being with us.

Thanks and regards,

Sharif
😊

 

 


   
ReplyQuote
(@ccdiazt)
Joined: 2 years ago
Posts: 2
 

@shariful-islam 

It worked correctly. Thanks for the support

   
ReplyQuote
(@jaimeco)
Joined: 2 years ago
Posts: 5
 

@shariful-islam 

Thanks for the tip. In my case, when I ran the command:

zmprov ms mail.example.com zimbraSmtpPort 25

The error message dissapeared, but the inbox is empty.

When I check now ths zmcontrol status some daemons is not running:

 

zextras@mail:~$ zmcontrol status
Host mail.server.com
amavis Stopped
amavisd is not running.
antispam Stopped
zmamavisdctl is not running
antivirus Stopped
zmamavisdctl is not running
directory-server Running
logger Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
service-discover Stopped
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running

 

If there is any sugestion I will appreciate it.

Regards


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jaimeco 

Hi,

That is a workaround for another issue.

Posted by: @shariful-islam

It's a workaround. But it also suggests that some went wrong during the installation process.

Therefore, we would strongly request and recommend you follow this forum post to perform a clean installation.

But as I mentioned, I think it would be better to install a clean version following either our official documentation or this post.

Thanks and regards,

Sharif


   
ReplyQuote
(@jaimeco)
Joined: 2 years ago
Posts: 5
 

@shariful-islam 

Thanks, I will try.

It is absolutly necessary the steps 10 and 11 about carbonio mesh?

 

Regards,


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jaimeco 

Hi,

Posted by: @jaimeco

It is absolutly necessary the steps 10 and 11 about carbonio mesh?

Yes. These steps are needed.

 

Thanks and regards,

Sharif


   
ReplyQuote