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 Display Modes
  #1 (permalink)  
Old 03-23-2006, 10:02 PM
Junior Member
 
Posts: 9
Default can't send mail using sasl (remote network)

hello everyone,
I've installed Zimbra 3.0.1 on a Fedora Core 4 machine (minimal install). I have created 5 users and 2 domains (both have MX records). Everything is working great except the mta sasl authentication. I am using Thunderbird to connect to my mail server (66.x.x.x) from my home (69.x.x.x). I have my Thunderbird smtp settings set to use TLS with my login being my full e-mail address. When I try to send an e-mail, Thunderbird asks me for my password, but it fails (actually it keeps asking for the password).

On my Zimbra server I get this in the logs (bean is the name of my server):
Code:
Mar 23 22:32:37 bean postfix/smtpd[26905]: initializing the server-side TLS engine
Mar 23 22:32:37 bean postfix/smtpd[26905]: connect from my.host.name[69.x.x.x]
Mar 23 22:32:37 bean postfix/smtpd[26905]: setting up TLS connection from my.host.name[69.x.x.x]
Mar 23 22:32:37 bean postfix/smtpd[26905]: SSL_accept:before/accept initialization
Mar 23 22:32:37 bean postfix/smtpd[26905]: read from 0852E3D0 [0853A858] (11 bytes => -1 (0xFFFFFFFF))
Mar 23 22:32:37 bean postfix/smtpd[26905]: SSL_accept:error in SSLv2/v3 read client hello A
Mar 23 22:32:37 bean postfix/smtpd[26905]: read from 0852E3D0 [0853A858] (11 bytes => 11 (0xB))
Mar 23 22:32:37 bean postfix/smtpd[26905]: 0000 16 03 01 00 53 01 00 00|4f 03 01                 ....S... O..
Mar 23 22:32:37 bean postfix/smtpd[26905]: read from 0852E3D0 [0853A863] (77 bytes => -1 (0xFFFFFFFF))
Mar 23 22:32:37 bean postfix/smtpd[26905]: SSL_accept:error in SSLv3 read client hello B
Mar 23 22:32:37 bean postfix/smtpd[26905]: SSL_accept:error in SSLv3 read client hello B
Mar 23 22:32:37 bean postfix/smtpd[26905]: read from 0852E3D0 [0853A863] (77 bytes => 77 (0x4D))
*snip* bunch of hexidecimal cert info *snip*
Code:
Mar 23 22:32:37 bean postfix/smtpd[26905]: SSL_accept:SSLv3 flush data
Mar 23 22:32:37 bean postfix/smtpd[26905]: TLS connection established from my.host.name[69.x.x.x]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Mar 23 22:32:40 bean postfix/smtpd[26905]: warning: SASL authentication failure: Password verification failed
Mar 23 22:32:40 bean postfix/smtpd[26905]: warning: my.host.name[69.x.x.x]: SASL PLAIN authentication failed
Mar 23 22:32:41 bean postfix/smtpd[26905]: warning: my.host.name[69.x.x.x]: SASL LOGIN authentication failed
Mar 23 22:32:45 bean postfix/smtpd[26905]: lost connection after AUTH from my.host.name[69.x.x.x]
Mar 23 22:32:45 bean postfix/smtpd[26905]: disconnect from my.host.name[69.x.x.x]
I've tried every possible solution I was able to find on the forums and the wiki with no luck. I have recreated my ssl certs several times (the 'random state' error threw me off for a while).

Here is my mta config :



Any help will be greatly appreciated.

Terry Wood

Edit : When I try testsaslauthd -u me@my.domain -p secret, i get connect() : No such file or directory. And when I try testsaslauthd -u me@my.domain -p secret -f /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/state/mux, i get 0: NO "authentication failed".

Last edited by skullbolix : 03-23-2006 at 10:14 PM.
Reply With Quote
  #2 (permalink)  
Old 03-24-2006, 08:04 AM
Junior Member
 
Posts: 9
Default sasl update

Checking my error logs, I noticed that sasl was doing a certificate check. I had set zimbra_cert_check to on in the saslauthd.conf.in trying to get this thing to work. I set it back to off, restarted sasl and now my testsaslauthd is succeeding. I'll do a real test when I go home later today. I changed so many things, I'm not sure what got it going.

I currently run my own "hand rolled" e-mail system using postfix, postgresql, amavisd, clamd, and spamassassin. I built this about 2 years ago and got stuck on the sasl / postgresql authentication (never could get it to work). Hopefully this fixes the problem and people will be able to send mail from their e-mail clients when they are on the road.
Reply With Quote
  #3 (permalink)  
Old 03-24-2006, 12:23 PM
Junior Member
 
Posts: 9
Default

It works now. Thanks for letting me talk to myself on your forums.
Reply With Quote
  #4 (permalink)  
Old 03-24-2006, 12:45 PM
Zimbra Employee
 
Posts: 512
Default

np. thanks for posting your successful resolution.
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0