LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-13-2006, 04:20 AM   #1
bss
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
i have a problem with cyrus-sasl-2.1.22, help me please!


Hi All!

I installed cyrus-sasl-2.1.22 on Slackware 10.2 , compiled from source according to a manual:

./configure
make
make install
ln -s /usr/local/lib/sasl2 /usr/lib/sasl2

By default in Slackware there was a package cyrus-sasl-2.1.21, but it has been compiled without pam support, and I have removed it.
I installed Linux-PAM-0.99.6.3 and then - cyrus-sasl-2.1.22. The compilation was successfully, but when I try to create the user:

root@tiss:/usr/local/src# saslpasswd2 -c adm
Password:
Again (for verification):
/etc/sasldb2
Segmentation fault

I have the "Segmentation fault" error.

In the /var/log/auth.log it is written:
Dec 11 13:29:20 tiss saslpasswd2: error updating sasldb: Invalid argument

Can somebody faced the same problem? Direct me please on the right way.
 
Old 12-15-2006, 08:12 PM   #2
hardwyrd
LQ Newbie
 
Registered: Jul 2006
Distribution: Ubuntu, Knoppix, SuSE
Posts: 9
Blog Entries: 1

Rep: Reputation: 0
I am not a cyrus user. I also assume that you want to have SASL authentication up and running for your mail system. I suggest you use Dovecot specially if you are using Postfix. Its quite easy to configure and use than Cyrus. Plus Postfix 2.3 and up already have built in support for Dovecot's SASL capability. You only need to invoke a make parameter for Postfix before compilation which you can find at Postfix's website.

http://www.postfix.org
http://www.dovecot.org
 
Old 12-15-2006, 08:30 PM   #3
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
... I concur, I've been using Dovecot with Sendmail. Dovecot is about as easy to configure as "1 2 3". You could do it in your sleep.
 
Old 12-19-2006, 05:30 PM   #4
mmoor
Member
 
Registered: May 2006
Distribution: Fedora core 5
Posts: 37

Rep: Reputation: 15
dovecot easy to install?

tried today, that thing not even start
 
Old 12-20-2006, 04:11 AM   #5
hardwyrd
LQ Newbie
 
Registered: Jul 2006
Distribution: Ubuntu, Knoppix, SuSE
Posts: 9
Blog Entries: 1

Rep: Reputation: 0
Did you compile Postfix to use Dovecot SASL ? Go to http://www.postfix.org/SASL_README.html then read "Building Postfix with Dovecot SASL Support".

Make sure that you have modified dovecot.conf to suit your needs. Here's a snippet of the basic things you can configure to make Dovecot run:

Code:
 
:
:
# Protocols we want to be serving:
#  imap imaps pop3 pop3s
#protocols = imap imaps
protocols = imap pop3
:
:
listen = *
:
disable_plaintext_auth = no
:
login_user = dovecot
:
protocol imap {
  # Login executable location.
  login_executable = /usr/local/libexec/dovecot/imap-login
  mail_executable = /usr/local/libexec/dovecot/imap
  imap_max_line_length = 65536
  login_greeting_capability = yes
  imap_client_workarounds = outlook-idle netscape-eoh tb-extra-mailbox-sep
}

protocol pop3 {
  # Login executable location.
  login_executable = /usr/local/libexec/dovecot/pop3-login

  # POP3 executable location
  mail_executable = /usr/local/libexec/dovecot/pop3
  pop3_enable_last = yes
  pop3_uidl_format = %08Xu%08Xv
  pop3_logout_format = top=%t/%T, retr=%r/%R, del=%d/%m, size=%s
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}

auth default {
  mechanisms = plain
  passdb shadow {
  }
  userdb passwd {
  }
  socket listen {
    client {
      path = /var/spool/postfix/private/auth
      mode = 0666
    }
  }
}
Dont forget to create a user 'dovecot'

To run dovecot, you just have to invoke 'dovecot' in the command line. That's about it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Regarding Cyrus SASL pushpraj Linux - Newbie 1 11-28-2006 04:11 PM
Sendmail Cyrus SASL authentication problem demith Linux - Software 0 11-15-2006 02:19 AM
Cyrus SASL authd tommytomato Linux - Software 0 05-09-2006 01:12 AM
cyrus-sasl authentication problem nobu Red Hat 1 11-01-2005 06:54 PM
Cyrus SASL help littlebill Red Hat 0 10-02-2004 08:43 PM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration