Upgrading from 25.9...
 
Notifications
Clear all

Upgrading from 25.9.0 to 25.12.0 and from Ubuntu 22.04 to 24.04

8 Posts
4 Users
0 Reactions
595 Views
 cb24
(@cb24)
New Member
Joined: 1 year ago
Posts: 12
Topic starter  

I've just upgraded Carbonio CE and OS, I mean:

Running Ubuntu server 22.04:

I've upgraded Carbonio CE from 25.9.0 to 25.12.0 and, apparently, it has gone well (following this https://docs.zextras.com/carbonio-ce/html/upgrade/upgrade.html).

After that I have proceeded to upgrade from Ubuntu 22.04 to 24.04 (following this https://docs.zextras.com/carbonio-ce/html/upgrade/toc.html).

Now I have Ubuntu 24.04 and Carbonio CE 25.12.0, but things are not running well:

Carbonio starts apparently well. Web user interface and web admin console are both accessible and calendar is also working. However, I can't receive any email (not even from an account on the server itself).

systemctl status carbonio-* shows all processes as active (running).

Any suggestions?

Thanks in advance and best regards.


   
Quote
 cb24
(@cb24)
New Member
Joined: 1 year ago
Posts: 12
Topic starter  

I should mention that everything worked fine before the upgrades.

Carbonio server is behind a router/firewall with needed ports mapped.

 

Before upgrading /var/log/mail.log showed (being XX.XX.XX.XX the server static public IP).

Dec 21 17:17:47  postfix/smtps/smtpd[1986830]: connect from [XX.XX.XX.XX]
Dec 21 17:17:47 postfix/smtps/smtpd[1986830]: Anonymous TLS connection established from [XX.XX.XX.XX]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256

 

After the upgrades /var/log/mail.log shows:

postfix/error[28123]: 94F974D05F44: to=<usu@domain>, relay=none, delay=9202, delays=9202/0.02/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to server.name [XX.XX.XX.XX]:7025: Connection refused)

Being XX.XX.XX.XX the same server static public IP.

usu@domain -> not a real address

server.name -> not the real server name

 

At this point I'm feeling lost: I don't know the cause of this behavior after the upgrades.

Any help will be welcome.

Thank you so much.


   
ReplyQuote
(@salman999)
New Member
Joined: 4 months ago
Posts: 1
 

Hi, assuming your Carbonio CE is working properly, please follow the steps below to resolve this issue.
Note: Replace mail.example.com with your actual hostname.

=================================================

zmprov ms mail.example.com zimbraMtaLmtpHostLookup native
zmprov mcf zimbraMtaLmtpHostLookup native 
zmmtactl restart  

==================================================

 

Official Link: <a href=" removed link  " target="_blank" rel="noopener"> removed link  


   
ReplyQuote
(@sharif)
Honorable Member Admin
Joined: 4 years ago
Posts: 924
 

@cb24 

Could you please share followings:

systemctl list-units carbonio*

Also, make sure if there are any remaining pending-setups:

pending-setups -a

Regards,

 


   
ReplyQuote
 cb24
(@cb24)
New Member
Joined: 1 year ago
Posts: 12
Topic starter  

systemctl list-units carbonio* -all

UNIT LOAD ACTIVE SUB DESCRIPTION
carbonio-altermime-config.service loaded active exited Carbonio AlterMIME Config
carbonio-antivirus.service loaded active running Carbonio Anti-virus Daemon
carbonio-appserver-db.service loaded active running Carbonio Appserver DB Daemon
carbonio-appserver.service loaded active running Carbonio Appserver Daemon
carbonio-catalog-sidecar.service loaded active running Carbonio Catalog sidecar proxy
carbonio-catalog.service loaded active running Carbonio Catalog daemon
carbonio-clamav-sidecar.service loaded active running Carbonio clamav sidecar proxy
carbonio-clamav-signature-provider-sidecar.service loaded active running NGINX Carbonio ClamAV signature provider sidecar
carbonio-configd.service loaded active running Carbonio Config Daemon
carbonio-docs-connector-db-sidecar.service loaded active running Carbonio Docs Connector database sidecar
carbonio-docs-connector-sidecar.service loaded active running Carbonio docs connector sidecar proxy
carbonio-docs-connector.service loaded active running Carbonio docs connector daemon
carbonio-docs-editor-sidecar.service loaded active running Carbonio Docs server sidecar proxy
carbonio-docs-editor.service loaded active running Carbonio Docs Server
carbonio-files-db-sidecar.service loaded active running Carbonio Files database sidecar
carbonio-files-sidecar.service loaded active running Carbonio Files sidecar proxy
carbonio-files.service loaded active running Carbonio Files daemon
carbonio-freshclam.service loaded active running Carbonio Freshclam Daemon
carbonio-mailbox-admin-sidecar.service loaded active running Carbonio Mailbox Admin proxy sidecar
carbonio-mailbox-db-sidecar.service loaded active running Carbonio Mailbox database sidecar
carbonio-mailbox-nslookup-sidecar.service loaded active running Carbonio Mailbox NSLookup proxy sidecar
carbonio-mailbox-sidecar.service loaded active running Mailbox carbonio proxy sidecar
carbonio-mailthreat-update.service loaded inactive dead Carbonio Mail Threat Update Daemon
carbonio-mailthreat.service loaded active running Carbonio Mail Threat Daemon
carbonio-memcached.service loaded active running Carbonio Memcached Daemon
carbonio-message-broker-sidecar.service loaded active running Carbonio message broker sidecar proxy
carbonio-message-broker.service loaded active running Carbonio message broker daemon
carbonio-message-dispatcher-auth-sidecar.service loaded active running Carbonio Message Dispatcher auth sidecar proxy
carbonio-message-dispatcher-auth.service loaded active running Carbonio Message Dispatcher auth daemon
carbonio-message-dispatcher-db-sidecar.service loaded active running Carbonio Message Dispatcher database sidecar
carbonio-message-dispatcher-http-sidecar.service loaded active running Carbonio Message Dispatcher HTTP sidecar proxy
carbonio-message-dispatcher-xmpp-sidecar.service loaded active running Carbonio Message Dispatcher XMPP sidecar proxy
carbonio-message-dispatcher.service loaded active running Carbonio Message Dispatcher daemon
carbonio-milter.service loaded active running Carbonio Milter Daemon
carbonio-mta-sidecar.service loaded active running Carbonio MTA sidecar proxy
carbonio-nginx.service loaded active running Carbonio Web and Reverse Proxy Server
carbonio-opendkim.service loaded active running Carbonio OpenDKIM Daemon
carbonio-openldap.service loaded active running Carbonio OpenLDAP Daemon
carbonio-postfix.service loaded active running Carbonio Postfix Daemon
carbonio-preview-sidecar.service loaded active running Carbonio Preview sidecar proxy
carbonio-preview.service loaded active running Carbonio Preview daemon
carbonio-prometheus-consul-exporter.service loaded active running Carbonio Prometheus Consul exporter
carbonio-prometheus-mysqld-exporter.service loaded active running Carbonio Prometheus MySQL exporter
carbonio-prometheus-nginx-exporter.service loaded active running Carbonio Prometheus NGINX exporter
carbonio-prometheus-node-exporter.service loaded active running Carbonio Prometheus Node Exporter
carbonio-prometheus-openldap-exporter.service loaded active running Carbonio Prometheus OpenLDAP exporter
carbonio-prometheus.service loaded inactive dead Carbonio Prometheus service
carbonio-proxy-sidecar.service loaded active running NGINX carbonio proxy sidecar
carbonio-saslauthd.service loaded active running Carbonio SASL Auth Daemon
carbonio-stats.service loaded active running Carbonio Stats Daemon
carbonio-storages-sidecar.service loaded active running Storages-CE sidecar proxy
carbonio-storages.service loaded active running Carbonio Storages-CE daemon
carbonio-tasks-db-sidecar.service loaded active running Carbonio Tasks database sidecar
carbonio-tasks-sidecar.service loaded active running Carbonio Tasks sidecar proxy
carbonio-tasks.service loaded active running Carbonio Tasks daemon
carbonio-user-management-sidecar.service loaded active running Carbonio User Management sidecar proxy
carbonio-user-management.service loaded active running Carbonio User Management daemon
carbonio-videoserver-sidecar.service loaded active running Carbonio Videoserver sidecar proxy
carbonio-videoserver.service loaded active running Zextras Videoserver
carbonio-ws-collaboration-db-sidecar.service loaded active running Carbonio Workstream Collaboration database sidecar
carbonio-ws-collaboration-sidecar.service loaded active running Carbonio Workstream Collaboration sidecar proxy
carbonio-ws-collaboration.service loaded active running Carbonio Workstream Collaboration daemon
carbonio-appserver.target loaded active active Carbonio Appserver
carbonio-directory-server.target loaded active active Carbonio Directory Server
carbonio-mta.target loaded active active Carbonio MTA
carbonio-proxy.target loaded active active Carbonio Proxy
carbonio.target loaded inactive dead Zextras Carbonio
carbonio-mailthreat-update.timer loaded active waiting Carbonio Mail Threat Update Timer

 

pending-setups -a
Insert the cluster credential password:
There are no pending-setups to run. Exiting!

 


   
ReplyQuote
 cb24
(@cb24)
New Member
Joined: 1 year ago
Posts: 12
Topic starter  

@salman999 

"zmprov ms mail.example.com zimbraMtaLmtpHostLookup native
zmprov mcf zimbraMtaLmtpHostLookup nativ"

This works!! And the server begins to receive mails.

So, may you, please, explain what do those two commands do? It's always great learning something new.

Thank you so much.


   
ReplyQuote
 cb24
(@cb24)
New Member
Joined: 1 year ago
Posts: 12
Topic starter  

@salman999 

I found myself the explanation for those commands, here:

https://wiki.zimbra.com/wiki/Incoming_Mail_Problems

"There is no connection to port 7025 to perform Local Mail Transfer Protocol (LMTP) delivery.
This is nearly always caused by a host that is configured on private IP Space (or using NAT) and that does not have an interface for the public IP address the server resides on. This can be easily fixed by simply using native IP address lookups for lmtp rather than DNS."

However, I don't know/understand how this issue has happened after upgrading Ubuntu from 22.04 to 24.04. If anyone has any idea, it would be welcome...

Anyway, thanks for your trick and best regards.


   
ReplyQuote
(@vladki)
Active Member
Joined: 6 months ago
Posts: 20
 

I have a zimbra running behind NAT, and it helped me to add the public IP address to the looopback interface with netmask /32 e.g.: `ifconfig lo:1 xx.xx.xx.xx 255.255.255.255`   So it may help on carbonio as well.


   
ReplyQuote