Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-23-2007, 09:52 PM
Intermediate Member
 
Posts: 16
Default cyrus-sasl looking to /usr/lib/libsasl2*

Is there a way to tell Zimbra to look toward it's own sasl libraries instead of the Ubuntu /usr/lib/libsasl2 libs?

Zimbra 4.0.5 Ubuntu

Code:
root@blueline:/var/log# lsof -i tcp:25
COMMAND   PID    USER   FD   TYPE  DEVICE SIZE NODE NAME

smtpd     326 postfix    6u  IPv4 1291575       TCP *:smtp (LISTEN)


root@blueline:/var/log# pmap 326 |grep sasl2.so
b7da4000     76K r-x--  /usr/lib/libsasl2.so.2.0.19
b7db7000      4K rw---  /usr/lib/libsasl2.so.2.0.19

root@blueline:/var/log# cat /etc/ld.so.conf
/lib
/usr/lib
/var/lib
/opt/zimbra/lib
/opt/zimbra/sleepycat/lib
/opt/zimbra/openldap/lib
/opt/zimbra/cyrus-sasl/lib
I believe this to be the cause of broken T-Bird, Outlook and Goldmine client connections.

The error on connect form Thunderbird;

"Sending of message Failed.

The message could not be sent because connecting to the SMTP server mail.hackme.com failed. The server may be unavailable or is refusing SMTP connections. Please verify that your SMTP server setting is correct and try again, or else contact your network administrator."

I see this in my /var/log/zimbra.log (edited /etc/syslog.conf auth.* -/var/log/zimbra.log);

Jan 23 21:44:24 blueline postfix/smtpd[354]: setting up TLS connection from ip-addr-here[ip.addr.here]
Jan 23 21:44:26 blueline postfix/smtpd[354]: TLS connection established from ip-addr-here[ip.addr.here]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)

No other errors to go on (that I am aware of). /opt/zimbra/log/zimbra.log seems happy.

Client settings are good. I can connect to a TLS enabled postfix on port 25 with it on another box (non Zimbra).

Webmail is working as expected.

Hope the above is helpful.

Thanks.
Bob

Last edited by robertl; 01-23-2007 at 10:43 PM..
Reply With Quote
  #2 (permalink)  
Old 01-23-2007, 10:41 PM
Intermediate Member
 
Posts: 16
Default attach to above.

watching the rather quickly filling (unbelievable amount of spambots hitting this box =) /var/log/zimbra.log I think I am seeing SMTP die off with the attempt.

Code:
Jan 23 22:28:17 blueline postfix/smtpd[8361]: TLS connection established from ip-addr-here.hackme.com[ip.addr.here]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Jan 23 22:28:18 blueline postfix/master[32616]: warning: process /opt/zimbra/postfix-2.2.9/libexec/smtpd pid 8361 killed by signal 11
Again,

Code:
Jan 23 22:35:05 blueline postfix/smtpd[11230]: TLS connection established from ip-addr-here.hackme.com[ip.addr.here]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Jan 23 22:35:06 blueline postfix/master[32616]: warning: process /opt/zimbra/postfix-2.2.9/libexec/smtpd pid 11230 killed by signal 11
Resilient thing though. Keeps coming back like a trooper.

Could this be the result of Zimbra using the wrong libs?

Thanks.
Reply With Quote
  #3 (permalink)  
Old 01-23-2007, 11:34 PM
Zimbra Employee
 
Posts: 274
Default

we take care of this on the headgear flavors of Linux by adding to /etc/ld.so.conf.d/zimbra.ld.conf the path our SASL libraries (amongst other things). If this is not working on Ubuntu, please file a bug.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 01-24-2007, 08:12 AM
Intermediate Member
 
Posts: 16
Default Bug report # 9727

Aside from being an earlier version and on FC5 that bug seems to be the same.

http://bugzilla.zimbra.com/show_bug.cgi?id=9727

Code:
su - zimbra
./bin/zmsaslauthctl status
Returns "crickets" on this host as well.

saslauthd is running however. Just no connect. Do you still recommend filing the bug report?

Thanks,
Bob
Reply With Quote
  #5 (permalink)  
Old 01-25-2007, 12:25 PM
Intermediate Member
 
Posts: 16
Default Bug report filed

bug # 14090

Thanks for the direction.
Reply With Quote
  #6 (permalink)  
Old 02-22-2007, 04:09 PM
Intermediate Member
 
Posts: 16
Default

While I await bug team review of this issue, is it possible to point Zimbra in the right direction as far as the sasl libs are concerned?

Thanks
Reply With Quote
  #7 (permalink)  
Old 02-22-2007, 09:39 PM
Former Zimbran
 
Posts: 5,606
Default

Have you tried installing 4.5.2?

-john
Reply With Quote
  #8 (permalink)  
Old 03-07-2007, 09:59 AM
Intermediate Member
 
Posts: 16
Default

I am attempting to avoid re-install as it represents a significant amount of time and potential for mail loss. I am just wondering if it is possible to point the install toward the right libs.

Thanks.
Reply With Quote
  #9 (permalink)  
Old 03-07-2007, 10:33 AM
Zimbra Employee
 
Posts: 604
Default

change the order of ld.so.conf so the zimbra libs come before the system libraries and rerun /sbin/ldconfig.

If the system is only running zimbra the other option is to remove the systems sasl libraries so they don't conflict.

-bp
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #10 (permalink)  
Old 03-15-2007, 08:14 AM
Intermediate Member
 
Posts: 16
Default

I did as directed. I moved all the Zimbra lib entries to be read first in ld.so.conf and ran /sbin/ldconfig. Web mail still works, Thunderbird was denied, but the errors about the wrong libs vanished.

I connected to the host with netcat

Code:
robertl@pele:~$ nc domain-name.com 25
220 blueline.domain-name.com ESMTP Postfix
helo blueline
250 blueline.domain-name.com
starttls
220 Ready to start TLS
With some more reading about postfix I will take nc testing further and see if I can't get you some more info. I think it's using the correct libs now. I am still seeing the auth logging but the libsasl errors are no longer showing.

Thoughts?

Thank you,
Bob
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.