Can not send email!

Post feedback about our hosted demo or your local install. Tell us what you love and/or what you’d like to see added in the future.
sshgz
Advanced member
Advanced member
Posts: 84
Joined: Fri Sep 12, 2014 10:00 pm

Can not send email!

Post by sshgz »

I have install the zimbra on FC4 successly.

I can start the zimbra,and add account,

but when i send a email myself (admin@mail.boc-fs.com) ,the zimbra shows the error msg:

msg - Message not sent to any recipients because of these failed addresses:

code - mail.SEND_FAILURE

method - ZmCsfeCommand.invoke

detail - soap:Sender

constructor -

function ZmCsfeException(msg, code, method, detail) {

if (arguments.length == 0) {

return;

}

AjxException.call(this, msg, code, method, detail);

}
toString -

function () {

return "ZmCsfeException";

}
dump -

function () {

return "AjxException: msg=" + this.msg + " code=" + this.code + " method=" + this.method + " detail=" + this.detail;

}
I found the log file (zmmtaconfig.log) have some error msg:
Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

Sleeping

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.boc-fs.com:389)

CONTROL antispam: /opt/zimbra/bin/zmamavisdctl stop norewrite

/opt/zimbra/amavisd/sbin/amavisd: no process killed

CONTROL antivirus: /opt/zimbra/bin/zmclamdctl stop norewrite

DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_sasl_auth_enable=''

DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_auth_only=''

DO: /opt/zimbra/postfix/sbin/postconf -e disable_dns_lookups=''

DO: /opt/zimbra/postfix/sbin/postconf -e message_size_limit=''

DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_recipient_restrictions='reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, permit'

CONTROL mta: /opt/zimbra/bin/postfix stop norewrite

postalias: fatal: bad numerical configuration: message_size_limit =
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Can not send email!

Post by 14319KevinH »

Looks like LDAP is not running. Are there any errors in your /tmp/install.log ? This may help us figure out the problem.
sshgz
Advanced member
Advanced member
Posts: 84
Joined: Fri Sep 12, 2014 10:00 pm

Can not send email!

Post by sshgz »

[quote user="14319KevinH"]Looks like LDAP is not running. Are there any errors in your /tmp/install.log ? This may help us figure out the problem.[/QUOTE]
Here is the install log file :
install.log.txt
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Can not send email!

Post by 14319KevinH »

How about in /var/log/zimbra.log?
tim brennan
Advanced member
Advanced member
Posts: 93
Joined: Fri Sep 12, 2014 9:55 pm

Can not send email!

Post by tim brennan »

try running ldap directly from the command line:
/opt/zimbra/bin/ldap start
...I was getting the same error message the other day when trying to setup an FC4 install and it turned out that i was missing libssl.so.4 (my FC4 install had .so.5, not .so.4) and zmcontrol was unfortunately eating the error message.
bburgis
Posts: 28
Joined: Fri Sep 12, 2014 9:59 pm

Can not send email!

Post by bburgis »

I wanted to first thank everyone on the zimbra development staff for the support they have provided me to date. THANKS!!!
Below is the log from /opt/zimbra/log/zimbra.log
2005-11-18 01:30:02,468 DEBUG [http-7071-Processor49] [ip=127.0.0.1;] SoapEngine - dispatch: doc ns1:AuthRequest

2005-11-18 01:30:02,474 INFO [http-7071-Processor49] [ip=127.0.0.1;] SoapEngine - handler exception

com.zimbra.cs.account.AccountServiceException: authentication failed for empty password

at com.zimbra.cs.account.AccountServiceException.AUTH_FAILED(AccountServiceException.java:75)

at com.zimbra.cs.account.ldap.LdapProvisioning.authAccount(LdapProvisioning.java:1912)

at com.zimbra.cs.service.admin.Auth.handle(Auth.java:83)

at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:249)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:163)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:84)

at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:226)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709">HttpServlet.service(HttpServlet.java:709)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:148)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802">HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

at java.lang.Thread.run(Thread.java:595)

2005-11-18 03:00:02,362 DEBUG [http-7071-Processor50] [ip=127.0.0.1;] SoapEngine - dispatch: doc ns1:AuthRequest

2005-11-18 03:00:02,367 INFO [http-7071-Processor50] [ip=127.0.0.1;] SoapEngine - handler exception

com.zimbra.cs.account.AccountServiceException: authentication failed for empty password

at com.zimbra.cs.account.AccountServiceException.AUTH_FAILED(AccountServiceException.java:75)

at com.zimbra.cs.account.ldap.LdapProvisioning.authAccount(LdapProvisioning.java:1912)

at com.zimbra.cs.service.admin.Auth.handle(Auth.java:83)

at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:249)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:163)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:84)

at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:226)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709">HttpServlet.service(HttpServlet.java:709)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:148)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802">HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

at java.lang.Thread.run(Thread.java:595)

2005-11-18 07:05:30,849 DEBUG [http-7071-Processor49] [ip=192.168.2.104;] SoapEngine - dispatch: doc BatchRequest

2005-11-18 07:05:30,849 DEBUG [http-7071-Processor49] [ip=192.168.2.104;] SoapEngine - dispatch: multi GetVersionInfoRequest

2005-11-18 07:05:30,849 DEBUG [http-7071-Processor49] [ip=192.168.2.104;] SoapEngine - dispatch: multi GetLicenseInfoRequest

2005-11-18 07:05:48,643 DEBUG [http-7071-Processor49] [ip=192.168.2.104;] SoapEngine - dispatch: doc AuthRequest

2005-11-18 07:05:48,776 DEBUG [http-7071-Processor50] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllDomainsRequest

2005-11-18 07:05:48,971 DEBUG [http-7071-Processor50] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllConfigRequest

2005-11-18 07:05:49,076 DEBUG [http-7071-Processor49] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetServiceStatusRequest

2005-11-18 07:05:49,333 DEBUG [http-7071-Processor49] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllCosRequest

2005-11-18 07:05:49,398 DEBUG [http-7071-Processor50] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllServersRequest

2005-11-18 07:05:49,462 DEBUG [http-7071-Processor49] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllDomainsRequest

2005-11-18 07:05:49,766 WARN [http-7071-Processor49] [] SessionCache - account ID mismatch in session cache. Requested null:17, found 18bba685-57e1-11da-806e-b3fa5504888f

2005-11-18 07:05:49,766 INFO [http-7071-Processor49] [] ZimbraContext - requested session no longer exists: 17

2005-11-18 07:05:49,766 DEBUG [http-7071-Processor49] [ip=192.168.2.104;] SoapEngine - dispatch: doc AuthRequest

2005-11-18 07:05:49,817 DEBUG [http-7071-Processor50] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllDomainsRequest

2005-11-18 07:05:49,960 DEBUG [http-7071-Processor49] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetServiceStatusRequest

2005-11-18 07:06:52,679 DEBUG [http-7071-Processor50] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchAccountsRequest

2005-11-18 07:06:53,463 DEBUG [http-7071-Processor49] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchAccountsRequest

2005-11-18 07:06:55,373 DEBUG [http-7071-Processor50] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchAccountsRequest

2005-11-18 07:07:00,670 DEBUG [http-7071-Processor49] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllCosRequest

2005-11-18 07:07:03,850 DEBUG [http-7071-Processor49] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllDomainsRequest

2005-11-18 07:07:06,283 DEBUG [http-7071-Processor50] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetAllServersRequest

2005-11-18 07:08:18,518 DEBUG [http-7071-Processor48] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetServiceStatusRequest

2005-11-18 07:09:04,108 DEBUG [http-7071-Processor48] [ip=192.168.2.104;] SoapEngine - dispatch: doc BatchRequest

2005-11-18 07:09:04,108 DEBUG [http-7071-Processor48] [ip=192.168.2.104;] SoapEngine - dispatch: multi GetVersionInfoRequest

2005-11-18 07:09:04,108 DEBUG [http-7071-Processor48] [ip=192.168.2.104;] SoapEngine - dispatch: multi GetLicenseInfoRequest

2005-11-18 07:09:46,419 DEBUG [http-80-Processor100] [ip=192.168.2.104;] SoapEngine - dispatch: doc AuthRequest

2005-11-18 07:09:49,311 DEBUG [http-80-Processor100] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetInfoRequest

2005-11-18 07:09:49,449 DEBUG [http-80-Processor100] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetContactsRequest

2005-11-18 07:09:49,888 DEBUG [http-80-Processor100] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc BatchRequest

2005-11-18 07:09:49,889 DEBUG [http-80-Processor100] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: multi GetApptSummariesRequest

2005-11-18 07:09:49,925 DEBUG [http-80-Processor98] [ip=192.168.2.104;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchRequest

2005-11-18 16:35:25,011 DEBUG [http-80-Processor98] [ip=192.168.2.110;] SoapEngine - dispatch: doc AuthRequest

2005-11-18 16:35:27,886 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetInfoRequest

2005-11-18 16:35:29,093 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetContactsRequest

2005-11-18 16:35:29,094 DEBUG [http-80-Processor99] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchRequest

2005-11-18 16:35:29,142 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: doc BatchRequest

2005-11-18 16:35:29,142 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: multi GetApptSummariesRequest

2005-11-18 16:35:38,413 DEBUG [http-80-Processor98] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchRequest

2005-11-18 16:36:35,994 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SendMsgRequest

2005-11-18 16:36:35,995 INFO [http-80-Processor100] [mid=4;ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SendMsg - LC(mbox=f7155786-57e1-11da-9c1f-bfbf056d459c, sessions=[20])

2005-11-18 16:36:36,008 INFO [http-80-Processor100] [mid=4;ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] FileBlobStore - Stored size=304 wrote=304 path=/opt/zimbra/store/incoming/1132283643395-1.msg vol=1 digest=4w3B7Id0a,SqLMMhyJoMyBm2uMQ=

2005-11-18 16:36:36,009 INFO [http-80-Processor100] [mid=4;ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] FileBlobStore - Renamed id=257 mbox=4 oldpath=/opt/zimbra/store/incoming/1132283643395-1.msg newpath=/opt/zimbra/store/0/4/msg/0/257-2.msg

2005-11-18 16:36:42,992 DEBUG [http-80-Processor98] [ip=192.168.2.110;name=bburgis@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchRequest

2005-11-18 16:36:50,938 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:37:00,975 DEBUG [http-80-Processor99] [ip=192.168.2.110;] SoapEngine - dispatch: doc AuthRequest

2005-11-18 16:37:03,049 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetInfoRequest

2005-11-18 16:37:04,389 DEBUG [http-80-Processor99] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchRequest

2005-11-18 16:37:04,389 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc GetContactsRequest

2005-11-18 16:37:06,928 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc BatchRequest

2005-11-18 16:37:06,928 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: multi GetApptSummariesRequest

2005-11-18 16:37:12,424 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchRequest

2005-11-18 16:37:25,511 DEBUG [http-80-Processor98] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchConvRequest

2005-11-18 16:37:46,527 DEBUG [http-80-Processor100] [ip=192.168.2.110;name=admin@mailhost.bhburgis.com;] SoapEngine - dispatch: doc SearchRequest

2005-11-18 16:37:50,941 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:38:50,944 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:39:50,946 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:40:50,947 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:41:50,948 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:42:50,950 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:43:50,952 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:44:50,953 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:45:50,955 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)

2005-11-18 16:46:50,957 INFO [IndexWritersSweeper] [] MailboxIndex - Flushing index writer: MailboxIndex(4)

2005-11-18 16:46:50,967 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=1, after=0 (10ms)
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Can not send email!

Post by marcmac »

It appears to be complaining about an empty password - did you send an empty string in your auth request?
bburgis
Posts: 28
Joined: Fri Sep 12, 2014 9:59 pm

Can not send email!

Post by bburgis »

Under what circumstances would I do this. All I was attempting to do is send a message from off the server to someone else outside. I guess I don't understand your question. Please expalin. Thanks.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Can not send email!

Post by marcmac »

2005-11-18 01:30:02,468 DEBUG [http-7071-Processor49] [ip=127.0.0.1;] SoapEngine - dispatch: doc ns1:AuthRequest

2005-11-18 01:30:02,474 INFO [http-7071-Processor49] [ip=127.0.0.1;] SoapEngine - handler exception

com.zimbra.cs.account.AccountServiceException: authentication failed for empty password
bburgis
Posts: 28
Joined: Fri Sep 12, 2014 9:59 pm

Can not send email!

Post by bburgis »

I fixed the problem by going into the postfix.cf file and explicitly setting the hostname value to my FQDN, "mailhost.bhburgis.com". Since my linux box hostname is mailhost it seems if though that gethostname was not getting the FQDN.
Now I can send mail off the server but still cannot recv mail or send mail internally.
Post Reply