Hi all first I would like to thank the awesome team at Zextras for building such a great tool, I have recently installed Carbonio SE on my Digital Ocean Droplet by following this tutorial https://imanudin.net/2023/06/26/how-to-install-zextras-carbonio/ but I cannot send Outgoing emails for some reason. I have tried googling but have not had any luck so far
although I did not do the following parts
systemctl disable --now sendmail systemctl disable --now postfix
systemctl disable --now ufw
Although I have opened all needed ports as required
I have the following serices running
systemctl list-units "carbonio*" UNIT LOAD ACTIVE SUB DESCRIPTION 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-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-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-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-mta-sidecar.service loaded active running Carbonio mta sidecar proxy 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-proxy-sidecar.service loaded active running NGINX carbonio proxy sidecar 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.service loaded active exited LSB: Carbonio Services LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 46 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
I have confirmed I have the correct DMARC, DKIM and SPF records with MxToolBox
I can also confirm I have the following zmcontrol services running
su - zextras zextras@mail:~$ zmcontrol status Host mail.mydomain.com antivirus Running directory-server Running mailbox Running memcached Running mta Running proxy Running service webapp Running service-discover Running stats Running config service Running zextras@mail:~$
I have tried to request an SSL certificate via Lets encrypt on the Virtual Hosts section of the admin gui but have not managed to get it
I dont know what I am missing
Here Are some of my carbonio logs I get when sending an email
ec 28 14:28:23 mail postfix/smtpd[299365]: connect from localhost[***]:39120 Dec 28 14:28:23 mail postfix/smtpd[299365]: lost connection after CONNECT from localhost[]:39120 Dec 28 14:28:23 mail postfix/smtpd[299365]: disconnect from localhost[]:39120 commands=0/0 Dec 28 14:28:33 mail postfix/postscreen[267245]: CONNECT from []:46182 to []:25 Dec 28 14:28:33 mail postfix/postscreen[267245]: ALLOWLISTED []:46182 Dec 28 14:28:33 mail postfix/smtpd[299365]: connect from localhost[]:46182 Dec 28 14:28:33 mail postfix/smtpd[299365]: lost connection after CONNECT from localhost[]:46182 Dec 28 14:28:33 mail postfix/smtpd[299365]: disconnect from localhost[]:46182 commands=0/0 ^[Dec 28 14:28:40 mail postfix/anvil[294690]: statistics: max connection rate 1/60s for (submission:*) at Dec 28 14:19:31 Dec 28 14:28:40 mail postfix/anvil[294690]: statistics: max connection count 1 for (submission:*) at Dec 28 14:19:31 Dec 28 14:28:40 mail postfix/anvil[294690]: statistics: max cache size 2 at Dec 28 14:20:28 Dec 28 14:28:40 mail postfix/smtp[302466]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter Dec 28 14:28:40 mail postfix/smtp[302465]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter Dec 28 14:28:41 mail postfix/master[266886]: warning: process /opt/zextras/common/libexec/smtp pid 302466 exit status 1 Dec 28 14:28:41 mail postfix/master[266886]: warning: /opt/zextras/common/libexec/smtp: bad command startup -- throttling Dec 28 14:28:41 mail postfix/master[266886]: warning: process /opt/zextras/common/libexec/smtp pid 302465 exit status 1 Dec 28 14:28:41 mail postfix/master[266886]: warning: /opt/zextras/common/libexec/smtp: bad command startup -- throttling Dec 28 14:28:42 mail zmconfigd[264681]: Fetching All configs Dec 28 14:28:42 mail zmconfigd[264681]: All configs fetched in 0.07 seconds Dec 28 14:28:43 mail zmconfigd[264681]: Command not defined for directory-server Dec 28 14:28:43 mail postfix/postscreen[267245]: CONNECT from []:40038 to []:25 Dec 28 14:28:43 mail postfix/postscreen[267245]: ALLOWLISTED []:40038 Dec 28 14:28:43 mail postfix/smtpd[299365]: connect from localhost[]:40038 Dec 28 14:28:43 mail postfix/smtpd[299365]: lost connection after CONNECT from localhost[]:40038 Dec 28 14:28:43 mail postfix/smtpd[299365]: disconnect from localhost[]:40038 commands=0/0 Dec 28 14:28:43 mail /postfix-script[302565]: the Postfix mail system is running: PID: 266886 Dec 28 14:28:44 mail zmconfigd[264681]: Command not defined for service-discover Dec 28 14:28:45 mail zmconfigd[264681]: Watchdog: service antivirus status is OK. Dec 28 14:28:45 mail zmconfigd[264681]: All rewrite threads completed in 0.00 sec Dec 28 14:28:45 mail zmconfigd[264681]: All restarts completed in 0.00 sec Dec 28 14:28:53 mail postfix/postscreen[267245]: CONNECT from []:39422 to []:25 Dec 28 14:28:53 mail postfix/postscreen[267245]: ALLOWLISTED []:39422 Dec 28 14:28:53 mail postfix/smtpd[299365]: connect from localhost[]:39422 Dec 28 14:28:53 mail postfix/smtpd[299365]: lost connection after CONNECT from localhost[]:39422 Dec 28 14:28:53 mail postfix/smtpd[299365]: disconnect from localhost[]:39422 commands=0/0 Dec 28 14:29:03 mail postfix/postscreen[267245]: CONNECT from []:44670 to []:25 Dec 28 14:29:03 mail postfix/postscreen[267245]: ALLOWLISTED []:44670 Dec 28 14:29:03 mail postfix/smtpd[299365]: connect from localhost[]:44670 Dec 28 14:29:03 mail postfix/smtpd[299365]: lost connection after CONNECT from localhost[]:44670 Dec 28 14:29:03 mail postfix/smtpd[299365]: disconnect from localhost[]:44670 commands=0/0 ^[Dec 28 14:29:12 mail postfix/postscreen[267245]: CONNECT from []:59364 to []:25 Dec 28 14:29:12 mail postfix/postscreen[267245]: ALLOWLISTED []:59364 Dec 28 14:29:12 mail postfix/smtpd[299365]: connect from localhost[]:59364 Dec 28 14:29:12 mail postfix/smtpd[299365]: lost connection after CONNECT from localhost[]:59364 Dec 28 14:29:12 mail postfix/smtpd[299365]: disconnect from localhost[]:59364 commands=0/0 Dec 28 14:29:12 mail clamd[268118]: SelfCheck: Database status OK. Dec 28 14:29:13 mail postfix/postscreen[267245]: CONNECT from []:59378 to []:25 Dec 28 14:29:13 mail postfix/postscreen[267245]: ALLOWLISTED []:59378 Dec 28 14:29:13 mail postfix/smtpd[299365]: connect from localhost[]:59378 Dec 28 14:29:13 mail postfix/smtpd[299365]: lost connection after CONNECT from localhost[]:59378 Dec 28 14:29:13 mail postfix/smtpd[299365]: disconnect from localhost[******]:59378 commands=0/0
@bhangile
Hi,
1. Followings are needed only if your system has any pre-installed sendmail/postfix package/service.
systemctl disable --now sendmail systemctl disable --now postfix
2. When you are sending an email, what does the log file(/var/log/carbonio.log) says?