LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-09-2008, 03:36 AM   #1
onik
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Rep: Reputation: 0
SASLAUTHD with PAM


I have centos 4.6. with postfix version 2.5.2. I am trying to have sasl configured for plain text authentication repaying, but having trouble implementing it.

My postfix Log says (/var/log/varlog) :
Jun 9 14:09:19 postfix/smtpd[473]: fatal: no SASL authentication mechanisms

SASL message (saslauthd -V):
saslauthd 2.1.22
authentication mechanisms: getpwent kerberos5 rimap shadow

I want to use PAM for authentication of SMTP.

Please help.

Thanks a Million in advance!
onik
 
Old 06-09-2008, 05:24 AM   #2
garyalex
Member
 
Registered: Jun 2006
Location: Johannesburg, South Africa
Distribution: Ubuntu, CentOS, Debian
Posts: 47

Rep: Reputation: 15
From your output there, you would possibly need to compile pam support in saslauthd ... then you can enable pam with the option "-a pam" when starting saslauthd...
 
Old 06-11-2008, 06:13 AM   #3
onik
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Dovecot

Hello,

Now I am trying to use dovecot for sasl rather than saslauthd.
I have installed Dovecot. It is working fine for POP when I telnet to Port 110.

The postconf -a command also gives me dovecot.
[root@ ~]# postconf -a
cyrus
dovecot

However when I add smtpd_sasl_type = dovecot in the main.cf of postfix, postfix goes blank on telnet to port 25.

When I try to add dovecot SASL code in dovecot.conf it says
Error in configuration file /etc/dovecot.conf line 25: Expecting '='

----- Dovecot Configuration -----
protocols = imap pop3
imap_listen = [::]
pop3_listen = [::]
imaps_listen =
pop3s_listen =
ssl_disable = yes
login_dir = /var/run/dovecot-login
login = imap
login = pop3


mbox_locks = fcntl

#auth = default

#auth_mechanisms = plain

#auth_userdb = passwd

#auth_passdb = pam

#auth_user = root

auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
user = root
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}

Thanks !
ONIK
 
  


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
saslauthd problems with mysql mmoor Fedora 0 02-23-2007 12:42 PM
Sendmail/Saslauthd problem/SuSE 10.0 glimmersdad Suse/Novell 2 05-19-2006 04:16 PM
sendmail cannot access saslauthd server msound Linux - Software 0 09-13-2005 03:12 AM
Postfix SMTP AUTH, Problem using saslauthd + pam k1e0x Debian 0 10-19-2004 06:21 PM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-23-2004 12:07 AM


All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
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