1 |
Hi, |
2 |
|
3 |
I have postfix, cyrus, web-cyradm, mysql, lmtp installation. There are |
4 |
few problems with that howto, mainly in authentication mechanism part. |
5 |
First of all you should consult Cyrus SASL library documentation and |
6 |
find out what options may fulfill your requirements. I use mysql |
7 |
database as my authentication back-end and sasl mysql plugin, I've |
8 |
droped PAM because of some problems, I don't remember exactly, it was |
9 |
mainly SASL library incompabilities with other subsystems. I've also |
10 |
used SASL patch from here |
11 |
(http://frost.ath.cx/software/cyrus-sasl-patches/). It allows crypted |
12 |
passwords in a database. Other things work very well and it was easy to |
13 |
setup that kind of a mail system with gentoo. Use portage overlay |
14 |
ebuilds to patch cyrus-sasl sources. The last thing - you don't need |
15 |
saslauthd daemon, again, I don't remember the details, but SASL sql |
16 |
plugin works standalone. Post here, I may take a closer look at my setup |
17 |
if you have any more questions. |
18 |
|
19 |
Cheers, |
20 |
Andrius |
21 |
|
22 |
On Wed, 2004-07-07 at 19:20, Mark Farmer wrote: |
23 |
> Hi |
24 |
> |
25 |
> I am setting up a mail server using the postfix-cyus-web-cyadm howto |
26 |
> from tldp.org. I got to the part where I am configuring postfix & the |
27 |
> last bit is as follows: |
28 |
> |
29 |
> ------------------------------------------------------------------------- |
30 |
> |
31 |
> The next step is to tell postfix how to find the saslauthd socket: |
32 |
> |
33 |
> mv /var/run/sasl2 /var/run/sasl2-old |
34 |
> ln -s /var/run/saslauthd /var/run/sasl2 |
35 |
> |
36 |
> ------------------------------------------------------------------------- |
37 |
> |
38 |
> However, /var/run/sasl2 & /var/run/saslauthd - niether of these exist, |
39 |
> so I did: |
40 |
> |
41 |
> find / -name sasl2 |
42 |
> /etc/sasl2 |
43 |
> /var/lib/sasl2 |
44 |
> /usr/lib/sasl2 |
45 |
> /usr/local/lib/sasl |
46 |
> |
47 |
> find / -name saslauthd |
48 |
> /etc/pam.d/saslauthd |
49 |
> /etc/conf.d/saslauthd |
50 |
> /etc/init.d/saslauthd |
51 |
> /var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl-2.1.14/saslauthd |
52 |
> /usr/sbin/saslauthd |
53 |
> /usr/share/doc/cyrus-sasl-2.1.18/saslauthd |
54 |
> |
55 |
> Can anyone point me in the right direction as I don't know where to go |
56 |
> from here. |