OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Getting SMTP AUTH to work with SASL2

From: Alexander Skwar (lists.ASkwaremail-server.info)
Date: Sat Apr 05 2003 - 08:44:30 CST


Waldemar Brodkorb wrote:
> Hi Alexander,

Hallo Waldemar!

> If smtpd ist chrooted it will search in /var/spool/postfix.
> It depends on your SASL version and how you have compiled it.
> In my configuration (woody, with backports) this is working:

Same here - woody with backports plus postfix manually compiled and
linked against SASL2.

> # ls -la /var/spool/postfix/var/run/saslauthd/
> insgesamt 12
> drwxr-xr-x 2 root root 4096 26. Mär 21:26 .

Yep, and that's why it's working! Your directory was set to allow
read/exec permission for me.

For some reason, my directory has:

drwx--x--- 2 cyrus mail 4096 2003-04-05 15:59
/var/spool/postfix/var/run/saslauthd/

Because of this, I had to make the postfix mail_owner a member of the
mail group. After having done so, it worked!

> I don't need all the pam and sasl2 stuff in my chroot.

As I figured out, neither do I ;)

> I read your second mail, but it's not clear, if you solved
> it by now, so I decided to write this mail.

Yep, problem solved. I'll post a summary about how I got it to work
shortly.

Alexander Skwar
--
/*
 * Hash table gook..
 */
        2.4.0-test2 /usr/src/linux/fs/buffer.c