Ok finally got it working.  The PAM wasn't working right and un-chroot'n
smtpd for postfix let sasldb work.  I had to recompile cyrus to support
pwcheck so it could read /etc/shadow.

Thanks for the help everyone.

- Will

----- Original Message -----
From: "Mike Burger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 23, 2002 3:36 PM
Subject: Re: postfix & sasl & redhat 7.3


> On my 7.1 box, I'm using the sasl installed with teh system.
>
> I just needed to make sure that postfix was compiled with the sasl stuff
in
> it, and as I said in my last message, I used the src.rpm to do so.
>
> William Wong <[EMAIL PROTECTED]> said:
>
> > I'm pretty sure custom compiling would work nicely (my last ditch
option),
> > but I'm trying to use the default cyrus rpm that installed with RedHat
7.3
> > (cyrus-sasl-1.5.24-25).  I'm wondering if anyone has ever got it work
with
> > these default Redhat packages.
> >
> > - Will
> >
> > ----- Original Message -----
> > From: "Teodor Georgiev" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, August 23, 2002 11:38 AM
> > Subject: Re: postfix & sasl & redhat 7.3
> >
> >
> > >
> > > 1. compile SASL with the saslauthd method (the default for Cyrus SASL
2.x)
> > > 2. in pwcheck use saslauthd as method.
> > > 3. start saslauthd with the appropriate options and tell it the
backend.
> > >
> > > man saslauthd and you will see :)
> > >
> > > ----- Original Message -----
> > > From: "William Wong" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, August 23, 2002 6:22 PM
> > > Subject: Re: postfix & sasl & redhat 7.3
> > >
> > >
> > > > Hi Mike,
> > > >
> > > > Thanks for the suggestion, though I'm still having problems.  I
changed
> > my
> > > > /usr/lib/sasl/smtpd.conf to use pam as the pwcheck_method and it
doesn't
> > > > like it (unfortunately).  I ldconfig'd to reload the libraries just
in
> > > case.
> > > >
> > > > This one's a headache as I've gotten sasl to work on a redhat 6.2
> > system,
> > > > though I did custom compile both postfix and sasl for that to work.
> > > >
> > > > - Will
> > > >
> > > > ----- Original Message -----
> > > > From: "Mike Burger" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, August 22, 2002 11:06 AM
> > > > Subject: Re: postfix & sasl & redhat 7.3
> > > >
> > > >
> > > > > You'll probably need to create /etc/pam.d/smtp and
/etc/pam.d/smtpd,
> > > both
> > > > > containing the following:
> > > > >
> > > > > #%PAM-1.0
> > > > > auth            required     /lib/security/pam_stack.so
> > > > service=system-auth
> > > > > account         required     /lib/security/pam_stack.so
> > > > service=system-auth
> > > > >
> > > > > These will allow the smtp and smtpd systems to authenticate
against
> > pam.
> > > > >
> > > > > On Thu, 22 Aug 2002, William Wong wrote:
> > > > >
> > > > > > Hi there,
> > > > > >
> > > > > > I've looked through the list archives but the suggestions don't
seem
> > > to
> > > > help
> > > > > > my problem.  It goes like this...
> > > > > >
> > > > > > I'm using the default packages that come with the redhat 7.3
> > > > distribution
> > > > > > for postfix & sasl. (sasl came preinstalled with the "server"
type
> > > > > > configuration).  I then installed the source RPM for postfix and
> > > enabled
> > > > > > SASL in the spec file, compiled the package and isntalled it.
I've
> > > > created
> > > > > > entries using saslpasswd and added the necessary options in
main.cf
> > > for
> > > > > > postfix to enable sasl (notably the enable).  I've confirmed
this by
> > > > > > telnet'n to port 25 and sending a ehlo mydomain.com.  It doest
> > respond
> > > > with
> > > > > > PLAIN/CRAM/etc as auth methods.
> > > > > >
> > > > > > However I don't know why postfix will NOT authenticate.
> > > > > >
> > > > > > To be sure I've made the sasldb file world readable (to test),
> > however
> > > > in
> > > > > > the maillog file it says there's an SASL authentication failure.
> > > > > >
> > > > > > The suggetions I've seen on this list were: Go DL some guy's
RPMs,
> > or
> > > > > > recompile postfix with SASL.  Well I don't see the need to DL
> > someone
> > > > else's
> > > > > > RPMS when redhat has provided the sources already and I've
already
> > > > compiled
> > > > > > postfix with SASL enabled.
> > > > > >
> > > > > > Can anyone offer any light to this problem?
> > > > > >
> > > > > > Thanks in advance!
> > > > > >
> > > > > > Regards,
> > > > > > - Will
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > redhat-list mailing list
> > > > > unsubscribe
mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > redhat-list mailing list
> > > > unsubscribe
mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> >
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> Mike Burger
> http://www.bubbanfriends.org
>
> Visit the Dog Pound II BBS
> telnet://dogpound2.citadel.org, or http://dogpound2.citadel.org:2000
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to