LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-05-2009, 07:08 AM   #1
zux
Member
 
Registered: Jul 2006
Location: latvia
Distribution: slackware
Posts: 127

Rep: Reputation: 16
slackware + postfix + cyrus-sasl (not using system users)


so i compiled postfix with cyrus-sasl support, everything seems t0 be working from the postfix side (i'm now only talking about relaying mail)
here's the part from main.cf
Code:
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = 
	permit_mynetworks
	permit_sasl_authenticated
	reject_unauth_destination
broken_sasl_auth_clients = yes

smtpd_sasl_path = smtpd
and this is how /usr/lib/sasl2/smtpd.conf looks like:
Code:
pwcheck_metod: auxprop
mech_list: PLAIN LOGIN
i also have links to that file from /etc/postfix/sasl2 and /etc/sasl2/ (made those while looking for answers)

an i ran saslauthd like this:
Code:
saslauthd -a shadow
but i get these errors in /var/log/maillog:
Code:
postfix/smtpd[18617]: warning: SASL authentication failure: Could not open /etc/sasldb2: gdbm_errno=3
my guess is that potfix isn't even looking at that /usr/lib/sasl2/smtpd.conf file, therefor using some defaults.
i have also tried putting the full path in this option:
smtpd_sasl_path = smtpd
but that didn't help.
i'm stuck
 
Old 03-06-2009, 02:50 AM   #2
zux
Member
 
Registered: Jul 2006
Location: latvia
Distribution: slackware
Posts: 127

Original Poster
Rep: Reputation: 16
if someone has any ideas please post. I can give more info if it's no t enough here
 
Old 03-06-2009, 06:35 AM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
I think the directories are set at build-time for postfix

http://www.postfix.org/SASL_README.html

Code:
(for Cyrus SASL version 2.1.x):

    % make tidy # if you have left-over files from a previous build
    % make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
        -I/usr/include/sasl" AUXLIBS="-L/usr/lib -lsasl2"
 
Old 03-06-2009, 08:39 AM   #4
zux
Member
 
Registered: Jul 2006
Location: latvia
Distribution: slackware
Posts: 127

Original Poster
Rep: Reputation: 16
well i compiled pstfix with exactly these options:
Code:
make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" AUXLIBS="-L/usr/lib -lsasl2"
followed that same manual.
thought that it might be specific to slackware implementation of cyrus-sasl, also i don't see how.
 
  


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
Postfix and cyrus-sasl -failed to make install :( OTIM Linux - Server 1 11-27-2007 07:10 AM
Cyrus SASL & Postfix RPM Build ghight Suse/Novell 0 06-03-2005 10:46 AM
Postfix SASL: conflict of sdsldb & system account? Chowroc Linux - Networking 0 12-24-2004 05:56 AM
postfix+cyrus-sasl+impd installation conf..help Robin01 Linux - Newbie 0 02-29-2004 06:24 PM
Problems installing mail system (mysql, cyrus, postfix) cirofren Linux - Newbie 2 12-11-2003 01:38 AM


All times are GMT -5. The time now is 04:05 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