Re: Can't find /usr/lib/sasl2/smtpd.conf

2005-02-05 Thread Chowroc
On Fri, Feb 04, 2005 at 05:17:42PM -0800, Norman Zhang wrote:
% I installed cyrus-sasl-2.1.19-5mdk on LM 10.1, but can't find
% /usr/lib/sasl2/smtpd.conf. Has something changed recently? Is
% smtpd.conf still needed?
% 
% Regards,
% Norman Zhang
% ---
% Cyrus Home Page: http://asg.web.cmu.edu/cyrus
% Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
% List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
%

Create it yourself. 
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Can't find /usr/lib/sasl2/smtpd.conf

2005-02-05 Thread Norman Zhang
% I installed cyrus-sasl-2.1.19-5mdk on LM 10.1, but can't find
% /usr/lib/sasl2/smtpd.conf. Has something changed recently? Is
% smtpd.conf still needed?
Create it yourself. 
I did created it myself. However,
# more /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login
# ls -l /usr/local/lib/sasl2/smtpd.conf
-rw-r--r--  1 root root 49 Feb  4 19:49 /usr/local/lib/sasl2/smtpd.conf
Is this okay? May I ask how do I check that postfix is linked to 
/usr/local/lib/sasl2/smtpd.conf?

Regards,
Norman Zhang
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: IMAP password

2005-02-05 Thread Simon Matter
> Hi,
>
> I'm trying to setup users using cyradm, I tried
>
> # su cyrus
> # cyradm localhost
>
> I get prompted for IMAP password, I type in the cyrus password, but
> system says it is invalid. May I ask where should I set the password
> for cyrus? I already changed the default by
>
> # passwd cyrus

This depends on your authentication configuration.
If you're authenticating system users through PAM or shadow mech, setting
the cyrus password like this is okay. Then try

cyradm --user cyrus --auth login localhost

HTH
Simon

>
> Regards,
> Norman Zhang
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: IMAP password

2005-02-05 Thread Norman Zhang
Simon Matter wrote:
I'm trying to setup users using cyradm, I tried
# su cyrus
# cyradm localhost
I get prompted for IMAP password, I type in the cyrus password, but
system says it is invalid. May I ask where should I set the password
for cyrus? I already changed the default by
# passwd cyrus
This depends on your authentication configuration.
Is the config at /etc/sysconfig/saslauth?
# more /etc/sysconfig/saslauthd
SASL_AUTHMECH=pam
SASL_MECH_OPTIONS=
SASLAUTHD_OPTS=
If you're authenticating system users through PAM or shadow mech, setting
the cyrus password like this is okay. Then try
cyradm --user cyrus --auth login localhost
]# cyradm --user cyrus --auth login localhost
IMAP Password:
	Login failed: no mechanism available at 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
line 118
cyradm: cannot authenticate to server with login as cyrus

I'm very much stuck. I've posted more info here,
http://marc.theaimsgroup.com/?l=cyrus-sasl&m=110758001127033&w=2. Would 
you please give me a few pointers?

Regards,
Norman Zhang
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: IMAP password

2005-02-05 Thread Nikola Milutinovic
Norman Zhang wrote:
Hi,
I'm trying to setup users using cyradm, I tried
# su cyrus
# cyradm localhost
I get prompted for IMAP password, I type in the cyrus password, but
system says it is invalid. May I ask where should I set the password
for cyrus? I already changed the default by
# passwd cyrus
 

This largely depends on the authentication method used. If not 
specified, cyradm will try to negotiate the best method available. You 
can specify the auth method with "--auth=" Now, here is a quick 
auth-map:

MECH
---
PLAIN  (depends on "pwcheck_method:" in imapd.conf, can 
be "auxprop", "saslauthd" or "pwcheckd")
CRAM-MD5 uses SASL-DB2
DIGEST-MD5   uses SASL-DB2
KERBEROS_IVKerberos 4 framework
GSSAPI Kerberos 5 framework
OTP   One-Time Passwords, stored in SASL-DB2
NTLMEither Windows NT Domain or SASL-DB (fallback)
SRP??
LOGIN   SASL-DB2

"auxprop"is a DB, either a local SASL-DB2 or SQL (MySQL 
and PgSQL)
"pwcheckd" is an osoleted daemod to check user/pass against 
system accounts
"saslauthd"   can check against a variety of sources, local 
accounts, PAM, LDAP, SASL-DB2, Kerberos,...

Nix.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: IMAP password

2005-02-05 Thread Norman Zhang
I'm trying to setup users using cyradm, I tried
# su cyrus
# cyradm localhost
I get prompted for IMAP password, I type in the cyrus password, but
system says it is invalid. May I ask where should I set the password
for cyrus? I already changed the default by
# passwd cyrus
This largely depends on the authentication method used. If not 
specified, cyradm will try to negotiate the best method available. You 
can specify the auth method with "--auth=" Now, here is a quick 
auth-map:

MECH
---
PLAIN  (depends on "pwcheck_method:" in imapd.conf, can 
be "auxprop", "saslauthd" or "pwcheckd")
CRAM-MD5 uses SASL-DB2
DIGEST-MD5   uses SASL-DB2
KERBEROS_IVKerberos 4 framework
GSSAPI Kerberos 5 framework
OTP   One-Time Passwords, stored in SASL-DB2
NTLMEither Windows NT Domain or SASL-DB (fallback)
SRP??
LOGIN   SASL-DB2

"auxprop"is a DB, either a local SASL-DB2 or SQL (MySQL 
and PgSQL)
"pwcheckd" is an osoleted daemod to check user/pass against 
system accounts
"saslauthd"   can check against a variety of sources, local 
accounts, PAM, LDAP, SASL-DB2, Kerberos,...
Thanks Nick for your chart. My system default is
# more /etc/sysconfig/saslauthd
SASL_AUTHMECH=pam
SASL_MECH_OPTIONS=
SASLAUTHD_OPTS=
I wish to use CRAM-MD5 with the ability to change to LDAP in the future. 
Should I change SASL_AUTHMECH=sasl-db2?

Regards,
Norman Zhang
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: cyrus-sasl-2.1.20 and db-4.3.27 problem (almost figured out)

2005-02-05 Thread Oliver Aruväli

Hi,
I wrote quite a long story considering all the suggestions and after 
thinking it through I deleted it all. Seems I just had to think it 
through aloud. So this is what I came up with: cyrus-sasl 2.1.20's 
configure file was the first landmine. At line 5135 or so it lists 
versions of the lib files, just the numbers nothing else and as 4.3 is 
not listed as an option, it gets a number comparison error. So by adding 
db-4.3, db4.3 and db43 to the list (in one line, nextline gave me an 
error),  4.3.27 will be accepted. The next landmine was this:

from: pico /usr/src/webserver/cyrus-sasl-2.1.20-with-bdb.4.3.27/config.log
configure:5092: checking for db.h
configure:5099: result: yes
configure:5149: gcc -o conftest -Wall -W -g -O2  
-I/usr/local/bdb/4.3.27/include -L/usr/local/bdb/4.3.27/lib  
-Wl,-rpath,/usr/local$
/usr/local/bdb/4.3.27/lib/libdb-4.3.so: undefined reference to 
`pthread_condattr_setpshared'
/usr/local/bdb/4.3.27/lib/libdb-4.3.so: undefined reference to 
`pthread_mutexattr_destroy'
/usr/local/bdb/4.3.27/lib/libdb-4.3.so: undefined reference to 
`pthread_mutexattr_setpshared'
/usr/local/bdb/4.3.27/lib/libdb-4.3.so: undefined reference to 
`pthread_mutexattr_init'
/usr/local/bdb/4.3.27/lib/libdb-4.3.so: undefined reference to 
`pthread_mutex_trylock'
collect2: ld returned 1 exit status 

(BTW the same error appears when I run configure with 4.2.52 
(respectevly libdb-4.2.so ) so it must be be version independant )

this magical 'pthread' was a thing which gave me something to google 
with, so I found this http://www.postfix.org/DB_README.html and at the 
end You see the same error not in configure phase but in build phase and 
the solution:

Add the "-lpthread" library to the "make makefiles" command.
% make makefiles  AUXLIBS="... -lpthread"
 

I know that with this knowladge my problem could be solved but as this 
is now out of my league I turn to Your help again :)

Oliver


OpenMacNews wrote:
hi oliver,
fwiw, sasl-2.1.20 + bdb-4.3.27 runs just great on my OSX 10.3.7 sys 
... which, alas, is diff from yours.

that said, i've had a similar issue b4 that may be worth mentioning 
here; dunno if it's your solution =)

if you poke around in sasl's code, you'll note that the sasl code, 
walks "-ldb-4.2 -ldb-4 -ldb" for ID'ing DB libs ...

trouble is, a fresh build of bdb 4.3.27 has *no* "-ldb-4.2" (at least 
4 me), so if you've got db-4.2, etc. (i.e., your OLD or DEFAULT 
install ...) in another dir in your default path, e.g. /usr/lib etc., 
the Makefile seemingly/eventually picks up THAT _default_install, 
hence not finding your intended install.

the workaround's fairly simple ...
after your DB 4.3.27 build,
   % cd ...berkeley-db-4.3.27/lib
   % ln -sf libdb-4.3.a libdb-4.2.a
   % ln -sf libdb-4.3.dylib libdb-4.2.dylib
   % ln -sf libdb-4.3.la libdb-4.2.la
or, of course, the equivalent for your platform extensions ...
add to that:
 setenv CPPFLAGS "-I/usr/local/DarkMatter/berkeley-db/include ..."
 setenv LDFLAGS "-L/usr/local/DarkMatter/berkeley-db/lib -ldb ..."
 ./configure \
 ...
 --with-dblib=berkeley \
 --with-bdb-libdir=/usr/local/DarkMatter/berkeley-db/lib \
 --with-bdb-incdir=/usr/local/DarkMatter/berkeley-db/include \
 ...
&, so far, this has done the trick for me:
% otool -L libsasl2.dylib
libsasl2.dylib:
   /usr/local/cyrus-sasl/lib/libsasl2.2.dylib (compatibility 
version 3.0.0, current version 3.20.0)
   /usr/local/berkeley-db/lib/libdb-4.3.dylib (compatibility 
version 0.0.0, current version 0.0.0)
   /usr/lib/libdl.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.1.1)
   /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, 
current version 324.9.0)

for all I know, this has been addressed in sasl-CVS, but, 
unfortunately, it does not build successfully for me ... so can't 
testify.

hope this actually helps
cheers,
richard
-- On February 4, 2005 12:08:14 PM -0500  Igor Brezac <[EMAIL PROTECTED]> 
wrote:


Check config.log for more clues, however I do not think 
cyrus-sasl-2.1.20
build script supports berkeley 4.3.x.  You need to fetch the cvs 
version.

-Igor
On Fri, 4 Feb 2005, [ISO-8859-1] Oliver AruvÃli wrote:
Hi,
I am trying to compile cyrus-sasl-2.1.20, but during the configure I 
get


checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking DB library to use... no
configure: WARNING: Disabling SASL authentication database support
-
why can't it find the library? the ./configure line I use is:
./configure \
--enable-anon \
--enable-plain \
--enable-login \
--disable-krb4 \
--disable-otp \
--disable-cram \
--disable-digest \
--with-saslauthd=/var/run/saslauthd \
--with-pam=/lib/security \
--with-dblib=berkeley \
--with-bdb-libdir=/usr/local/bdb/current/lib \
--with-bdb-incdir=/usr/local/bdb/current/include \
--with-openssl=/usr/local/ssl \
--with-p

Re: IMAP password

2005-02-05 Thread Norman Zhang
Nikola Milutinovic wrote:
Norman Zhang wrote:
# more /etc/sysconfig/saslauthd
SASL_AUTHMECH=pam
SASL_MECH_OPTIONS=
SASLAUTHD_OPTS=
I wish to use CRAM-MD5 with the ability to change to LDAP in the 
future. Should I change SASL_AUTHMECH=sasl-db2?
I guess I cannot change SASL_AUTHMECH. saslauthd supports the following 
authentication mechanisms.

# saslauthd -v
saslauthd 2.1.19
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
Is it safe to presume pam will handle auxprop? After re-reading your 
last post and chart, I made the following changes to /etc/imapd.conf, 
and now I can "cyradm localhost". Thanks! I'll now go tackle why isn't 
sasldb created.

#sasl_pwcheck_method: auxprop
sasl_pwcheck_method: saslauthd
#sasl_mech_list: cram-md5
sasl_mech_list: plain
Below is the rest of my /etc/imapd.conf. Would you please help to see if 
there are other potential problems?

configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
deleteright: cyrus
quotawarn: 90
sieveusehomedir: no
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
lmtp_admins: cyruslmtp
lmtp_downcase_rcpt: yes
tls_ca_file: /etc/ssl/cyrus-imapd/cacert.pem
tls_cert_file: /etc/ssl/cyrus-imapd/cert.pem
tls_key_file: /etc/ssl/cyrus-imapd/key.pem
Regards,
Norman Zhang
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


repairing mailboxes.db

2005-02-05 Thread Craig White
I am sorry to bother this list with this since directions seem so clear
but I am not getting them.

Included with distribution is a script to repair db...
#!/bin/sh
#

# stop cyrus-imapd
service cyrus-imapd stop

# backup existing mailboxes.db
mv /var/lib/imap/mailboxes.db /var/lib/imap/mailboxes.db.$$
find /var/spool/imap/?/user -maxdepth 1 -mindepth 1 | \
  while read i; do
echo $(basename $i)
echo "user.$i<\t>default<\t>$i<\t>lrswipcda<\t>cyrus<\t>lrswipcda"
>> /tmp/newmboxlist.txt
  done

# we have everyone's base directory in /tmp/newmboxlist.txt, now we
# import the new list
/usr/lib/cyrus-imapd/ctl_mboxlist -u default<\t>/var/spool/imap/a/user/administrator<\t>lrswipcda<\t>cyrus<\t>lrswipcda
user./var/spool/imap/c/user/craig<\t>default<\t>/var/spool/imap/c/user/craig<\t>lrswipcda<\t>cyrus<\t>lrswipcda
user./var/spool/imap/p/user/public_folder<\t>default<\t>/var/spool/imap/p/user/public_folder<\t>lrswipcda<\t>cyrus<\t>lrswipcda
user./var/spool/imap/r/user/root<\t>default<\t>/var/spool/imap/r/user/root<\t>lrswipcda<\t>cyrus<\t>lrswipcda

And I'm getting nowhere fast

those the paths are there (ignoring the .user)
-bash-2.05b$ ls -
l /var/spool/imap/a/user/ /var/spool/imap/c/user/ /var/spool/imap/p/user/ 
/var/spool/imap/r/user/
/var/spool/imap/a/user/:
total 4
drwx--7 cyrusmail 4096 Feb  3 00:05 administrator

/var/spool/imap/c/user/:
total 16
drwx--   61 cyrusmail16384 Feb  5 11:47 craig

/var/spool/imap/p/user/:
total 4
drwx--7 cyrusmail 4096 Feb  2 14:46 public_folder

/var/spool/imap/r/user/:
total 4
drwx--2 cyrusmail 4096 Feb  5 11:01 root

man ctl_mboxlist makes me think the result of the command to 'dump' the
mailboxlist didn't work correctly because when I instead did...
$ /usr/lib/cyrus-imapd/ctl_mboxlist -d > /tmp/newmboxlist.txt
looked list this (first line)
user.administrator  default administrator   lrswipcda

and this worked...BUT...

when I logged on, my inbox was empty, my folders looked fine and the
inbox files when I :
$ ls /var/spool/imap/c/user/craig/
1. 113.  129.   139.   1491.  162.  178.  193.  208.  24.   39.
51.  67.   81.  97.freshrpms   postgres   SPAMBOX
10.114.  1290.  1398.  15.163.  179.  194.  209.  25.   4.
52.  68.   82.  98.gnuepsyche SPAM-learn
100.   115.  13.14.150.   164.  18.   195.  21.   26.   40.
53.  69.   83.  99.horde   samba  SPAM-NOT
101.   116.  130.   140.   1503.  165.  180.  196.  210.  27.   400.
54.  7.84.  995.   imp saved  subscriptions
102.   117.  1309.  141.   1504.  166.  181.  197.  211.  28.   409.
55.  70.   85.  amanda ipcop   save_inbox suncou
103.   118.  131.   142.   151.   167.  182.  198.  212.  29.   41.
56.  71.   86.  cyrus.cachejokes   scooters   taroon
104.   119.  1310.  143.   152.   168.  183.  199.  213.  3.417.
57.  72.   87.  cyrus.header   kronolith   security   tobyhouse
105.   12.   132.   144.   153.   169.  184.  2.214.  30.   42.
58.  73.   88.  cyrus-imap ldap-umich  Sent   Trash
106.   120.  1321.  145.   154.   17.   185.  20.   215.  31.   43.
59.  730.  89.  cyrus.indexlinux-plug  Sent_2002  turba
107.   121.  1324.  1457.  155.   170.  186.  200.  216.  32.   44.   6.
74.   9.   Deleted Items  logsSent_2003  vaio
108.   122.  133.   146.   156.   171.  187.  201.  217.  33.   45.
60.  75.   90.  dell   ltspSent_2004  VIRUSBOX
109.   123.  134.   1463.  157.   172.  188.  202.  218.  34.   46.
61.  76.   91.  Drafts motta   Sent Items vocp
11.124.  135.   147.   158.   173.  189.  203.  219.  35.   47.
62.  77.   92.  evolution  mythtv  Sent_Items webmin
110.   125.  136.   148.   159.   174.  19.   204.  22.   36.   48.
63.  78.   93.  exxe   netatalksent-mail  whitebox
111.   126.  137.   1484.  16.175.  190.  205.  220.  37.   49.
64.  79.   94.  fedora nilsson Sent_Messages  xusers
1119.  127.  1376.  1489.  160.   176.  191.  206.  223.  38.   5.
65.  8.95.  fmexperts  openldapSent-new
112.   128.  138.   149.   161.   177.  192.  207.  23.   384.  50.
66.  80.   96.  fmpro-lopenvpn shrike

all of the numbered files should be showing in my inbox but don't show
up.

Any suggestions appreciated

Thanks

Craig

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[no subject]

2005-02-05 Thread info-andrew-bugs
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Sieve Authentication Fails

2005-02-05 Thread Per-Olov Sjöholm
On Thursday 03 February 2005 23.24, Dan Perez wrote:
> Hi All,
>
> I see that this question has been posted before, but I don't see a clear
> answer, so forgive me.  Any leads would be appreciated.
>
> I'm running cyrus 2.2.10, on RHEL 3.0.  It works great.  Now I want to
> start using sieve... but I can't get sieveshell to connect to the server
> and I don't understand why.
>
> [EMAIL PROTECTED] log]# sieveshell -u cyrus localhost
> connecting to localhost
> Please enter your password:
> unable to connect to server at /usr/bin/sieveshell line 169,  line
> 1.
>
>
>
>
>
>
> my imapd conf:
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
> tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
> tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
>
> saslauthd is running w/ -a pam
>
> Authentication works fine for the IMAP server, cyradm.
>
> Sieve is listening...
> [EMAIL PROTECTED] log]# telnet localhost sieve
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
> Escape character is '^]'.
> "IMPLEMENTATION" "Cyrus timsieved v2.2.10-Invoca-RPM-2.2.10-8"
> "SASL" "PLAIN"
> "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
> relational comparator-i;ascii-numeric regex"
> "STARTTLS"
> OK
>
>
> Heck, I even get sieve headers in my emails...
> X-Sieve: CMU Sieve 2.2
>
>
> Any ideas?
>
>
> Thanks,
> Dan
>
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Hi

See my attached /etc/imad.conf file Take an extra look at the row 
"allowplaintext". There are maybe other ways around the problem. But I have 
not found any (yet)... So "allowplaintext: yes"  is needed for sieve logins 
to work. If TLS is required the sieve login will fail. That was  the case 
with earlier realeases...  Now I use 2.2.10 and have not checked if sieve 
works with TLS.


--snip--
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: root cyradm admin1 admin2
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
allowanonymouslogin: no
allowplaintext: yes --> NEED THIS FOR SIEVE LOGIN THAT FAILS OTHERWISE
sendmail: /usr/sbin/sendmail
quotawarn: 90
servername:MY_FQDN_IMAP_HOST
sievedir: /var/sieve
sieve_maxscripts: 20
timeout: 240
sievenotifier: mailto
mailnotifier: mailto
altnamespace: 1
berkeley_cachesize: 8192
postmaster: [EMAIL PROTECTED]
sharedprefix: Shared Folders
userprefix: Other Users
imapidlepoll: 60
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem
tls_ca_file: /var/imap/server.pem
--snip--


Hope this could be of any help.

Regards
/Per-Olov
-- 
GPG keyID: 4DB283CE
GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE


pgpPRveYQYWcu.pgp
Description: PGP signature


Re: SASL Failed

2005-02-05 Thread Norman Zhang
Norman Zhang wrote:
# su cyrus
# cyradm localhost
however cyrus' UNIX password does not work.
Changing /etc/imapd.conf allows me to login with cyrus' UNIX password.
#sasl_pwcheck_method: auxprop
sasl_pwcheck_method: saslauthd
#sasl_mech_list: cram-md5
sasl_mech_list: plain
However, I still cannot create sasldb with saslpasswd2.
# saslpasswd2 -c -u mail.rd.arkonnetworks.com -a smtpauth test
Password:
Again (for verification):
# sasldblistusers2
listusers failed
Can someone please give me a few pointers?
Regards,
Norman Zhang
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: SASL Failed

2005-02-05 Thread Norman Zhang
Norman Zhang wrote:
However, I still cannot create sasldb with saslpasswd2.
# saslpasswd2 -c -u mail.rd.arkonnetworks.com -a smtpauth test
Password:
Again (for verification):
# sasldblistusers2
listusers failed
Can someone please give me a few pointers?
/var/log/messages say
saslpasswd2: secret not changed for cyruslmtp: no writable auxprop 
plugin or setpass callback found
saslpasswd2: could not find auxprop plugin, was searching for [all]

I tried changing
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain
but the same error still persists.
Regards,
Norman Zhang
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: SASL Failed

2005-02-05 Thread Norman Zhang
Norman Zhang wrote:
saslpasswd2: secret not changed for cyruslmtp: no writable auxprop 
plugin or setpass callback found
saslpasswd2: could not find auxprop plugin, was searching for [all]
Problem solved. libsasl2-plug-* was not installed. This is a bug with 
LM10.1. I searched the package and couldn't find them. I had to use 
www.rpmfind.net for them. Ugh...

Regards,
Norman Zhang
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html