Hi there,
I've been plodding along my first install of Carbonio, first looks is that it looks like a great product. (I've only re-installed once so far! 🤣 )
Right so, I've managed to install certs, request DKIM etc for my domain but I'm struggling to send anything at all?
I need to be able to use external SMTP for deliverability purposes. Microsoft make it impossible to really use your own SMTP these days regardless whether all the security checks pass. I use AWS S3 and I followed these two articles/posts:
https://community.zextras.com/forum/carbonio-setup/mta-relay-not-using-authentication/#post-6696
https://wiki.zimbra.com/wiki/Outgoing_SMTP_Authentication
Unfortunately I cannot send anything at all, I click send, it says it is sending and then the message composer window pops back up. I cannot see anything that means much to me in the logs but I'm not up to speed with the Contabo "log language" yet.
Another thing I am struggling with is that, when rebooting the server, a few services do not start and I have to manually start them from CLI - this probably isn't the best practice so any pointers to fix this would be handy. Confused as to why it should be doing this.
@rtol050
Hi,
May be this reply could be some help for you:
https://community.zextras.com/forum/postid/9661/
But in addition, I would request you to check followings: (if possible in order)
- Are all services running:
- su - zextras -c "zmcontrol status"
- consul members
- systemctl list-units carbonio*
- curl -s -v http://127.78.0.4:10000/health | jq
- Can you send emails from webmail? What does log (/var/log/carbonio.log) says about successful delivery? If can't send emails via webmail, still what does log says in case of failed attempt?
- What dos log says in case of failed attempt using external app/software?
Once we understand these, I hope you will be able to find out the issue.
Regards,
Sharif
zmcontrol are now all running after I manually restarted them all.
consul members:
Error retrieving members: Get "http://127.0.0.1:8500/v1/agent/members?segment=_all": dial tcp 127.0.0.1:8500: connect: connection refused
curl -s -v http://127.78.0.4:10000/health | jq:
* Trying 127.78.0.4:10000... * connect to 127.78.0.4 port 10000 from 127.0.0.1 port 45396 failed: Connection refused * Failed to connect to 127.78.0.4 port 10000 after 0 ms: Could not connect to server * closing connection #0
systemctl list-units carbonio* shows carbonio.service is not running (failed)
- I attempted to restart it and now it says exited.
Sending from webmail doesn't work. It just waits a few seconds before bringing up the email compose window again with the email I just tried to send. Below is the log just after attempting to send:
Also there was nothing different in the logs when sending from the iOS app.
Dec 27 18:30:35 my sshd[332124]: Failed password for root from 107.174.147.37 port 36244 ssh2 Dec 27 18:30:37 my sshd[332124]: Connection closed by authenticating user root 107.174.147.37 port 36244 [preauth] Dec 27 18:30:40 my postfix/postscreen[332258]: CONNECT from [87.120.121.159]:49719 to [100.42.184.199]:25 Dec 27 18:30:40 my postfix/postscreen[332258]: PREGREET 11 after 0.03 from [87.120.121.159]:49719: EHLO User\r\n Dec 27 18:30:44 my postfix/smtpd[332290]: sql_select option missing Dec 27 18:30:44 my postfix/smtpd[332290]: auxpropfunc error no mechanism available Dec 27 18:30:44 my postfix/smtpd[332290]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql Dec 27 18:30:44 my postfix/smtpd[332290]: connect from unknown[87.120.121.159] Dec 27 18:30:45 my postfix/smtpd[332290]: disconnect from unknown[87.120.121.159] ehlo=1 auth=0/1 quit=1 commands=2/3 Dec 27 18:30:51 my zmconfigd[40086]: Fetching All configs Dec 27 18:30:52 my zmconfigd[40086]: All configs fetched in 1.68 seconds Dec 27 18:30:54 my sshd[332453]: Failed password for root from 218.92.0.145 port 63716 ssh2 Dec 27 18:30:57 my sshd[332453]: Failed password for root from 218.92.0.145 port 63716 ssh2 Dec 27 18:31:00 my sshd[332453]: Failed password for root from 218.92.0.145 port 63716 ssh2 Dec 27 18:31:00 my sshd[332453]: Received disconnect from 218.92.0.145 port 63716:11: [preauth] Dec 27 18:31:00 my sshd[332453]: Disconnected from authenticating user root 218.92.0.145 port 63716 [preauth] Dec 27 18:31:40 my clamd[47027]: SelfCheck: Database status OK. Dec 27 18:31:56 my zmconfigd[40086]: Command not defined for directory-server Dec 27 18:32:01 my /postfix-script[333961]: the Postfix mail system is running: PID: 48859 Dec 27 18:32:08 my sshd[334015]: Failed password for root from 218.92.0.145 port 13215 ssh2 Dec 27 18:32:11 my sshd[334015]: Failed password for root from 218.92.0.145 port 13215 ssh2 Dec 27 18:32:12 my zmconfigd[40086]: Watchdog: service antivirus status is OK. Dec 27 18:32:12 my zmconfigd[40086]: All rewrite threads completed in 0.09 sec Dec 27 18:32:12 my zmconfigd[40086]: All restarts completed in 0.00 sec Dec 27 18:32:13 my sshd[334015]: Received disconnect from 218.92.0.145 port 13215:11: [preauth] Dec 27 18:32:13 my sshd[334015]: Disconnected from authenticating user root 218.92.0.145 port 13215 [preauth]
Just FYI, I went ahead and did a full re-install and still exactly the same issue.U
I can receive mail, just this same issue sending. It seems it's not even getting as far as the logs to know what's happening.
I'm running on Ubuntu 22.04.
Did I miss a step in the install for this?
root@mailserver:~# curl -s -v http://127.78.0.4:10000/health | jq
It tells me
* connect to 127.78.0.4 port 10000 failed: Connection refused
* Failed to connect to 127.78.0.4 port 10000 after 0 ms: Connection refused
* Closing connection 0
@sharif I just can't send any mail at all. There is nothing in the logs. I'm so confused. Any help would be great?