MTA - not sending m...
 
Notifications
Clear all

MTA - not sending mails from Carbonio

14 Posts
4 Users
1 Reactions
1,407 Views
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

Hello, I've migrated to Carbonio CE from Zimbra, and Im struggling with e-mail sending. In the Admin GUI panel I cant change anything for MTA, and in the logs I can find such of entries (carbonio.log):

 

Dec 23 20:53:39 mail postfix/postscreen[890343]: CONNECT from [127.0.0.1]:52066 to [127.0.0.1]:25
Dec 23 20:53:39 mail postfix/postscreen[890343]: ALLOWLISTED [127.0.0.1]:52066
Dec 23 20:53:39 mail postfix/smtpd[909857]: connect from localhost[127.0.0.1]:52066
Dec 23 20:53:40 mail postfix/smtp[910315]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Dec 23 20:53:40 mail postfix/smtpd[909857]: NOQUEUE: filter: RCPT from localhost[127.0.0.1]:52066: <mymail@mydomain.pl>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<mymail@mydomain.pl> to=<gmail@gmail.com> proto=ESMTP helo=<mail.kfam.eu>
Dec 23 20:53:40 mail postfix/postscreen[890343]: CONNECT from [127.0.0.1]:52080 to [127.0.0.1]:25
Dec 23 20:53:40 mail postfix/postscreen[890343]: ALLOWLISTED [127.0.0.1]:52080
Dec 23 20:53:40 mail postfix/smtpd[910318]: sql_select option missing
Dec 23 20:53:40 mail postfix/smtpd[910318]: auxpropfunc error no mechanism available
Dec 23 20:53:40 mail postfix/smtpd[910318]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Dec 23 20:53:40 mail postfix/smtpd[910318]: connect from localhost[127.0.0.1]:52080
Dec 23 20:53:40 mail postfix/smtpd[910318]: lost connection after CONNECT from localhost[127.0.0.1]:52080
Dec 23 20:53:40 mail postfix/smtpd[910318]: disconnect from localhost[127.0.0.1]:52080 commands=0/0
Dec 23 20:53:40 mail postfix/smtpd[909857]: 92211836CB: client=localhost[127.0.0.1]:52066
Dec 23 20:53:40 mail postfix/cleanup[910321]: 92211836CB: message-id=<28489965.297717.1703364819842.JavaMail.zextras@kfam.pl>
Dec 23 20:53:40 mail postfix/smtpd[909857]: disconnect from localhost[127.0.0.1]:52066 ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 23 20:53:40 mail postfix/qmgr[890333]: 92211836CB: from=<mymail@mydomain.pl>, size=1284, nrcpt=1 (queue active)
Dec 23 20:53:41 mail postfix/master[6998]: warning: process /opt/zextras/common/libexec/smtp pid 910315 exit status 1
Dec 23 20:53:41 mail postfix/master[6998]: warning: /opt/zextras/common/libexec/smtp: bad command startup -- throttling
Dec 23 20:53:50 mail postfix/postscreen[890343]: CONNECT from [127.0.0.1]:33266 to [127.0.0.1]:25
Dec 23 20:53:50 mail postfix/postscreen[890343]: ALLOWLISTED [127.0.0.1]:33266
Dec 23 20:53:50 mail postfix/smtpd[910318]: connect from localhost[127.0.0.1]:33266
Dec 23 20:53:50 mail postfix/smtpd[910318]: lost connection after CONNECT from localhost[127.0.0.1]:33266
Dec 23 20:53:50 mail postfix/smtpd[910318]: disconnect from localhost[127.0.0.1]:33266 commands=0/0
Dec 23 20:54:00 mail postfix/postscreen[890343]: CONNECT from [127.0.0.1]:59642 to [127.0.0.1]:25
Dec 23 20:54:00 mail postfix/postscreen[890343]: ALLOWLISTED [127.0.0.1]:59642
Dec 23 20:54:00 mail postfix/smtpd[909857]: connect from localhost[127.0.0.1]:59642
Dec 23 20:54:00 mail postfix/smtpd[909857]: lost connection after CONNECT from localhost[127.0.0.1]:59642
Dec 23 20:54:00 mail postfix/smtpd[909857]: disconnect from localhost[127.0.0.1]:59642 commands=0/0
Dec 23 20:54:10 mail postfix/postscreen[890343]: CONNECT from [127.0.0.1]:47932 to [127.0.0.1]:25
Dec 23 20:54:10 mail postfix/postscreen[890343]: ALLOWLISTED [127.0.0.1]:47932
Dec 23 20:54:10 mail postfix/smtpd[910318]: connect from localhost[127.0.0.1]:47932
Dec 23 20:54:10 mail postfix/smtpd[910318]: lost connection after CONNECT from localhost[127.0.0.1]:47932
Dec 23 20:54:10 mail postfix/smtpd[910318]: disconnect from localhost[127.0.0.1]:47932 commands=0/0


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

@marcin_kfam

Hi,

Merry Christmas.

Sorry to hear about your trouble.

Could you please tell us some more details:

1. Is it single server?
2. OS and Carbonio CE version
3. Are you using any external relay?
4. are you using any external outgoing authentication or not?

BTW, an editable  Admin Panel GUI will be available in the next release. Still your mail send/receive should be okay regardless of that.

Let us know your thoughts.

 

Have a good day!

Regards,

Sharif


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

Hi,

yes it is a singel server.

The OS is Ubuntu 20.04.6 LTS, I use the CE version Carbonio Release 23.11.0.

Nope, I want my carbonio to send and receive mail.

In current config (with zimbra) I have mta set as localhost.

I'm sendin e-mail directly from my server without using any third party relays or any other proxies.


   
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@marcin_kfam

Hi,

In that case your server should be able to send/receive email directly without any issue. What does the /var/log/carbonio.log says after sending an email?

Are all services running? like:

zmcontrol status

or 

systemctl list-units carbonio*

Also, is the installation went well without any issue?

Check out this video, to make sure everything is okay.

Thanks,

Sharif


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

Yes Sharif, all the services are running, today I've made an upgrade to newest version. I\ll check if something improved.

Starting directory server...Done.
Starting config service...Done.
Starting mailbox...Done.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting mta...Done.
Starting stats...Done.
Starting service webapp...Done.


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

so no luck after upgrade. I can edit the MTA settings now thoug I still can't send email's even from myself to myself.


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

ok, so again from beginnig I've recreated the vm from scratch installed same ubuntu 20.04 LTS and started the installation accordingly to the indications in documentation and landed with this error after step 6 of this document: https://docs.zextras.com/carbonio-ce/html/install/scenarios/single-server-scenario.html:

root@mail2:/home/marcink# pending-setups -a
Insert the cluster credential password:

Executing all setup scripts...

--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-videoserver.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-videoserver
Config entry written: service-intentions/carbonio-videoserver
Success! Data written to: carbonio-videoserver/api-secret
Error! No key exists at: carbonio-message-broker/username
Error! No key exists at: carbonio-message-broker/password
Configuration reload triggered
Setup successful, moving carbonio-videoserver.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-message-dispatcher.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-message-dispatcher-http
Config entry written: service-intentions/carbonio-message-dispatcher-http
Config entry written: service-defaults/carbonio-message-dispatcher-xmpp
Config entry written: service-intentions/carbonio-message-dispatcher-xmpp
Carbonio Message Dispatcher database password not found.
Please install carbonio-message-dispatcher-db and run carbonio-message-dispatcher-db-bootstrap command.
Script for Message Dispatcher terminated with error
Setup script failed, keeping it

What is the cause and how to repair it?


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

@sharif do you have any news or indications how to proceed further?

 


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

ok, I've done the fresh install of the carbonio,  and now the problem is that I can't even submit the messagest to the queue. The error in message.log is:2024-02-01 09:29:36,912 WARN [qtp467632528-8047://10.10.10.112/service/soap/SendMsgRequest] [name=zextras@domain.eu;mid=4;ip=10.10.10.112;oip=192.168.10.23;port=38812;ua=CarbonioWebClient - Firefox 121.0 (Windows)/23.12.0_ZEXTRAS_202312 c
arbonio 20231222-1644 FOSS;soapId=3dbfb0d0;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: Unable to send message
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:303) ~[zimbracommon.jar:?]
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:903) ~[zimbrastore.jar:?]
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:558) ~[zimbrastore.jar:?]
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:534) ~[zimbrastore.jar:?]
at com.zimbra.cs.service.mail.SendMsg.doSendMessage(SendMsg.java:358) ~[zimbrastore.jar:?]
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:245) ~[zimbrastore.jar:?]
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:101) ~[zimbrastore.jar:?]
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:684) ~[zimbrastore.jar:?]
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:508) ~[zimbrastore.jar:?]
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:278) ~[zimbrastore.jar:?]
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:338) ~[zimbrastore.jar:?]
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:239) ~[zimbrastore.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[servlet-api-3.1.jar:3.1.0]
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:208) ~[zimbrastore.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:292) ~[websocket-server-9.4.48.v20220622.jar:9.4.48.v20220622]
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilter.java:152) ~[zimbrastore.jar:?]

and after whole dump:

Caused by: com.zimbra.cs.mailbox.MailSender$SafeMessagingException: Expected greeting, but got: 421 4.3.2 All server ports are busy
at com.zimbra.cs.mailclient.smtp.SmtpTransport.protocolConnect(SmtpTransport.java:193) ~[zimbrastore.jar:?]
at javax.mail.Service.connect(Service.java:295) ~[mail-1.4.5.jar:1.4.5]
at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.5.jar:1.4.5]
at javax.mail.Service.connect(Service.java:125) ~[mail-1.4.5.jar:1.4.5]
at com.zimbra.cs.mailbox.MailSender.sendMessageToHost(MailSender.java:1431) ~[zimbrastore.jar:?]
at com.zimbra.cs.mailbox.MailSender.sendMessage(MailSender.java:1354) ~[zimbrastore.jar:?]
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:825) ~[zimbrastore.jar:?]
... 86 more


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

i think I leave this crappy and buggy system since it's not working and no support is available even trough forum.

new problems arise, and even local e-mail is not working:

Feb 14 23:20:41 mail2 postfix/smtp[345764]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter

Feb 14 23:20:42 mail2 postfix/master[317751]: warning: process /opt/zextras/common/libexec/smtp pid 345764 exit status 1

Feb 14 23:20:42 mail2 postfix/master[317751]: warning: /opt/zextras/common/libexec/smtp: bad command startup -- throttling


   
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@marcin_kfam 

Hi,

Sorry to hear about your issues.

I know it is a lot to ask but I would request you to follow these instructions and let us know the result:

https://community.zextras.com/how-to-deploy-a-private-e-mail-server-for-free-using-zextras-carbonio-ce/

Thanks and regards,

Sharif


   
ReplyQuote
(@marcin_kfam)
Joined: 12 months ago
Posts: 18
Topic starter  

Hello @sharif, I think there is still an issue:

root@mail2:/home/marcink# apt install carbonio-message-broker -y
root@mail2:/home/marcink# pending-setups -a
Insert the cluster credential password:

Executing all setup scripts...

--------------------------------------------------------------------------------
Executing /etc/zextras/pending-setups.d/carbonio-message-broker.sh
Insert the cluster credential password:
Config entry written: service-defaults/carbonio-message-broker
Config entry written: service-intentions/carbonio-message-broker
Configuration reload triggered
Success! Data written to: carbonio-message-broker/username
Success! Data written to: carbonio-message-broker/password
User carbonio-message-broker added
Success! Data written to: carbonio-message-broker/admin/username
Success! Data written to: carbonio-message-broker/admin/password
Setting tags for user "carbonio-message-broker-admin" to [administrator] ...
User carbonio-message-broker-admin added
Setup successful, moving carbonio-message-broker.sh to /etc/zextras/pending-setups.d/done/
--------------------------------------------------------------------------------

There are no pending-setups to run. Exiting!
root@mail2:/home/marcink# PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1
carbonio-ws-collaboration-db-bootstrap: command not found

Besides there is an error in lines:

PGPASSWORD=DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1
PGPASSWORD=DB_ADM_PWD carbonio-tasks-db-bootstrap carbonio_adm 127.0.0.1

should be in my opinion:
PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1
PGPASSWORD=$DB_ADM_PWD carbonio-tasks-db-bootstrap carbonio_adm 127.0.0.1

   
ReplyQuote
(@dcarro)
Joined: 10 months ago
Posts: 2
 

Hi,

I was unable to send message when I check "Reject unlisted sender". You can find this option under MTA -> Inbound flow and security.

I didn't find the solution, there is something wrong with post screen. 

Normally it should work when you set my network 127.0.0.1/8 XXX.XXX.XXX.XXX/32.

I have to investigate more in postfix configuration.


   
ReplyQuote
(@syukie)
Joined: 6 months ago
Posts: 4
 

same issue with me

Jun 16 14:18:12 mail postfix/smtp[6809]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Jun 16 14:18:13 mail postfix/master[3979]: warning: process /opt/zextras/common/libexec/smtp pid 6809 exit status 1
Jun 16 14:18:13 mail postfix/master[3979]: warning: /opt/zextras/common/libexec/smtp: bad command startup -- throttling

 

and even i can't edit main.cf, everytime edited the always back to original main.cf


   
ReplyQuote