Re: spamassassin - sa-learn and public

2005-04-02 Thread Norman Zhang
2) set up per-user spamtrain and hamtrain folders (someuser lrs, and authenticate a cron job as someuser) May I ask how do you create default spamtrain and hamtrain folders in Cyrus IMAPD whenever a new account is created? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus

Default Quota

2005-04-01 Thread Norman Zhang
Hi, I'm using cyrus-imapd-2.2.8-4.1.101mdk. Currently mail is stored in /var/spool/imap. I've checked imapd.conf, there does not seem to be option to setup up default quota. Do I need to manually enter them in cyradm? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu

Re: spamassassin - sa-learn and public

2005-04-01 Thread Norman Zhang
anyone' has lrs rights on public but lrsiwpcda rights on public.SPAM-learn would they be able to do this? I've googled the following thread earlier. Perhaps it is helpful. http://marc.theaimsgroup.com/?t=11088543253&r=1&w=2 Regards, Norman Zhang --- Cyrus Home Page: http://asg

Re: LDAP Mailboxes

2005-03-26 Thread Norman Zhang
Dieter Kluenter wrote: If you consider OpenLDAP as your directory server, you may use ldapdb, which is in cyrus-sasl CVS, and yes,libsasl and some sasl mechanisms are still required. Is ldapdb a new feature to SASL? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus

LDAP Mailboxes

2005-03-25 Thread Norman Zhang
I like to setup Cyrus to use LDAP for user authentication and global addressbook. May I ask what steps do I need? Do I still need SASL? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http

Re: no user in db

2005-02-19 Thread Norman Zhang
userPassword [EMAIL PROTECTED]: userPassword [EMAIL PROTECTED]: userPassword (used only for Cyrus admin) /usr/local/lib/sasl2/smtpd.conf: Did you compiled postfix yourself? See above. Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu

Re: Correcting my mistake

2005-02-19 Thread Norman Zhang
users still login? If you deleted one user, just recreate a mailbox for that user. 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: Hardware RAID Level & Performance

2005-02-17 Thread Norman Zhang
Henrique de Moraes Holschuh wrote: From the top of my head, about 4MB/s write and 10-30MB/s reading on a 5-disc RAID5 array. If that's enough for your needs, go for it. Linux software RAID can do better than that (but it eats some CPU *and* it doesn't drive the SAFTE enclosure, nor can it do glob

Re: Hardware RAID Level & Performance

2005-02-17 Thread Norman Zhang
ness and their newer zero-channel adapters feature 128MB of DDR333 RAM and a IOP-321 processor... Thanks. I'll look into that. I'm not sure if support is already added to the 2.6.x kernel. Most of us run Cyrus on Linux/BSD, right? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web

Re: Hardware RAID Level & Performance

2005-02-16 Thread Norman Zhang
d put ~2gb into /lost+found (out of ~480gb). I'm not sure how's XFS compared to other fs. I've been using it for few years. It seems to be fine. May I ask has anyone consider SATA RAID yet? I seems to be a very inexpensive solution. Regards, Norman Zhang --- Cyrus Home Page: ht

Disable Account

2005-02-10 Thread Norman Zhang
Hi, How do I disable an account logon? 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

DB4 Locked

2005-02-09 Thread Norman Zhang
Hi, I'm seeing lots of these in /var/log/mail/warnings lmtp[9563]: DBERROR db4: 82 lockers IIRC, this harmless? Can someone please ack/nack on this? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info:

Mailbox Locked

2005-02-08 Thread Norman Zhang
Hi, I'm seeing this /var/log/mail/errors. I'm not sure what causes it. Can someone please give a few pointers? pop3s[12719]: Unable to lock maildrop for eho: Mailbox is locked by POP server Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki

TLS Start Error

2005-02-08 Thread Norman Zhang
Hi, I'm seeing this in /var/log/mail/errors. Can someone please give me a few pointers? Feb 8 17:04:57 mail pop3s[9751]: Fatal error: tls_start_servertls() failed Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu

Re: IMAP password

2005-02-06 Thread Norman Zhang
chanism. I thought you wanted CRAM-MD5... It turns out that LM10.1 doesnot include libsasl2-plug-crammd5. I neede to turn up plain for testing. Now I have sasl_pwcheck_method: auxprop sasl_mech_list: cram-md5 Can I stop /etc/sysconfig/saslauthd? Regards, Norman Zhang --- Cyrus Home Page: http://asg.w

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

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

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 st

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

Re: IMAP password

2005-02-05 Thread Norman Zhang
s # 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: htt

Re: IMAP password

2005-02-05 Thread Norman Zhang
x27;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.

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

2005-02-05 Thread Norman Zhang
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 Wik

SASL Failed

2005-02-04 Thread Norman Zhang
_cert_file: /etc/ssl/cyrus-imapd/cert.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

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

2005-02-04 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? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info:

IMAP Password

2005-02-04 Thread Norman Zhang
I'm trying to use "cyradm localhost" # su cyrus # cyradm localhost However it prompts me for the IMAP password. I tried the cyrus password, but didn't work. May I ask where do I set cyrus password? Regards, Norman Zhang --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus

IMAP password

2005-02-04 Thread Norman Zhang
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 Regards, N

Re: High availability ... again

2004-06-28 Thread Norman Zhang
On a similar note, RedHat have apparently bought Sistina, and GPLed GFS. This is great news for HA under Linux, IMHO. I will be testing it soon. Well, on their site is it listed as "open source", but it is not on sources.redhat.com (where LVM2 and device-mapper landed when they bought Sistina

Auto Create Quota

2004-06-25 Thread Norman Zhang
Hi, I found that eventhough I added the option auotcreatequota to /etc/imapd.conf, there's no effect after creating user. configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no deleteright: cyrus autocreatequota: 5 quotawarn: 90 sieveusehomedir

Quotawarn

2004-06-17 Thread Norman Zhang
Hi, Is it possible to generate quotawarn to user accounts that are not on local systems? I have users that hardly check their cyrus accounts, and it would be great if cyrus can generate warnings to their primary accounts. Regards, Norman --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wi

Re: script processing messages

2004-06-10 Thread Norman Zhang
I think you can use ipurge (it comes with Cyrus IMAPD). On top of my head I can't remember the syntax. Just look it up syntax. HTH. Regards, Norman > What's the most simple method to connect to a Cyrus IMAP server, login > as a user, go to a certain folder (the path is known), delete all > messag

pop3 cram-md5+tls

2004-05-19 Thread Norman Zhang
Hi, I've setup Cyrus IMAPD 2.1.15 to run with TLS. When I logged into to the IMAPS account I see CRAM-MD5+TLS being activated. May 19 15:48:57 mail imapd[3760]: login: [203.14.138.21] nzhang CRAM-MD5+TLS User logged in but for POP3S I get May 19 12:33:48 mail pop3d[2941]: login: d154-20-6-167.bc

Re: Adding Users

2004-01-12 Thread Norman Zhang
I would also make sure that master is running - telnet localhost 143 should give you a banner similar to: * OK host.domain.com Cyrus IMAP4 v2.1.15 server ready Oh okay. I disable port 143 (imap) in favor of 993 (imaps). Does cyradm only connects to 143? I'm not sure, but I'd give it a try. I can

Re: Adding Users

2004-01-12 Thread Norman Zhang
I would also make sure that master is running - telnet localhost 143 should give you a banner similar to: * OK host.domain.com Cyrus IMAP4 v2.1.15 server ready Oh okay. I disable port 143 (imap) in favor of 993 (imaps). Does cyradm only connects to 143? Regards, Norman I'm pretty sure you need

Re: Adding Users

2004-01-12 Thread Norman Zhang
I already did a su cyrus before typing cyradm localhost. I tried the command you recommended, but still get the same error message. Is there somewhere I can check the log for this? Does cyradm use any particular port? Regards, Norman Jason Williams wrote: I'm pretty sure you need to specify a us

Adding Users

2004-01-12 Thread Norman Zhang
Hi, I'm using cyrus-imapd-2.1.15-6mdk. When I try to add a user by connecting to mail server through cyradm, I get the following error. [EMAIL PROTECTED] etc]$ cyradm localhost cyradm: cannot connect to server [EMAIL PROTECTED] etc]$ more /etc/hosts 10.0.0.1mail.rd.arkonnetworks.co

Permission to sasl.db

2003-11-17 Thread Norman Zhang
Hi, I created my cyrus admin using saslpasswd2, and would like to create mailboxes with cyradm. However cyradm doesn't have access to /var/lib/sasl2/sasl.db [EMAIL PROTECTED] root]# ls -l /var/lib/sasl2/sasl.db -rw-r-1 root root12288 Nov 17 15:54 /var/lib/sasl2/sasl.db /etc/i

cyrus-master errors

2003-11-07 Thread Norman Zhang
Hi, I'm seeing the following errors in /var/log/mail/errors Nov 7 12:03:07 mail cyrus-master[1154]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted Nov 7 12:03:07 mail cyrus-master[1154]: retrying with 1024 (current max) My /etc/cyrus.conf is as follows. May I as

Re: Mailbox

2003-11-07 Thread Norman Zhang
Hi, >>> But I don't see nzhang created under /var/spool/mail. I did set >>> mail_spool_directory = /var/spool/mail in /etc/postfix/main.cf. Is >>> there something trivial that I'm missing? Do I need smtpd.conf (I >>> can't find this file)? Won't postfix take care of mail transfer? >>> >>> mail_tra

Re: Mailbox

2003-11-07 Thread Norman Zhang
Hi, >> I created a mailbox nzhang by >> >> 1. cyradm localhost >> 2. cm user.nzhang >> 3. quit >> 4. saslpasswd nzhang > > Err it should be "saslpasswd2" - otherwise you are using a SASLv1 > linked imap server, e.g. Cyrus 1.6.x... Yes. You are right. I made a typo. I did use sasalpasswd2. >> But

Mailbox

2003-11-06 Thread Norman Zhang
Hi, I created a mailbox nzhang by 1. cyradm localhost 2. cm user.nzhang 3. quit 4. saslpasswd nzhang I could add the imap server and see the nzhang\inbox. When I tried sending mail to nzhang # mail nzhang # Subject: Test 1 # Hello # . # CC But I don't see nzhang created under /var/spool/mail.

Re: cvt_cyrusdb_all

2003-08-14 Thread Norman Zhang
"Luca Olivetti" wrote >> After installing cyrus-imapd, I was prompted to convert the >> /var/lib/imap/mailboxes.db. But I get the following error not being >> able convert db3 to flat. Would someone please tell me how can I >> fix this? > > Mmm, I replied to this message on the mandrake mailing li

Re: cvt_cyrusdb_all

2003-08-14 Thread Norman Zhang
Luca Olivetti wrote: > Norman Zhang wrote: > >> After installing cyrus-imapd, I was prompted to convert the >> /var/lib/imap/mailboxes.db. But I get the following error not being >> able convert db3 to flat. Would someone please tell me how can I fix >> th

creating users

2003-08-14 Thread Norman Zhang
Hi, I'm a little confused on the process of creating users. First I "su cyrus" then I typed the following commands, > cyradm localhost > cm user.joebob > quit > exit (back as root) > saslpasswd joebob Now does joebob require an account on my Linux box? Also if the email address for joebob is [EM

creating users

2003-08-14 Thread Norman Zhang
Hi, To allow users' to change password on their own do I need web-cyradm? >>> >>> Also depends on how you configured SASL. Its mainly a question of >>> where you store your user accounts. If e.g. using auxprop mysql you >>> could easily use a squirrelmail plugin which knows how to update

Re: root mailboxes and aliasing (was: Re: cvt_cyrusdb_all)

2003-08-14 Thread Norman Zhang
Simon Matter wrote: root should not have a mailbox. >> >>> I agree for normal systems. However, in certain situations it may >>> be useful to have a 'root' mailbox. If you have >> >>> local_transport = lmtp:unix:/var/lib/imap/socket/lmtp >> >>> in /etc/postfix/main.cf to make single inst

cvt_cyrusdb_all

2003-08-14 Thread Norman Zhang
Hi, After installing cyrus-imapd, I was prompted to convert the /var/lib/imap/mailboxes.db. But I get the following error not being able convert db3 to flat. Would someone please tell me how can I fix this? Regards, Norman [EMAIL PROTECTED] root]# rpm -Uvh cyrus-imapd-2.1.13-1mdk.i586.rpm Prepar

Re: cvt_cyrusdb_all

2003-08-14 Thread Norman Zhang
Luca Olivetti wrote: > >> I followed the step 2 in README.RPM and reboot the box, but I received >> the following errors in /var/log/mail/errors. May I ask how do I fix >> this? I'm using LM 9.1, so postfix runs chroot by default. >> >> Aug 6 13:42:10 mail cyrus-master[1987]: setrlimit: Unable to

Re: cvt_cyrusdb_all

2003-08-14 Thread Norman Zhang
Luca Olivetti wrote: > Norman Zhang wrote: > >>> Aug 6 13:42:11 mail cyrus-master[1987]: unable to bind socket for >>> service lmtpunix: Address already in use >>> Aug 6 13:42:11 mail cyrus-master[1987]: unable to create lmtpunix >>> listener socket:

Re: creating users

2003-08-11 Thread Norman Zhang
Christian Schulte wrote: > Am Montag, 11. August 2003 23:50 schrieb Norman Zhang: >> >> I'm a little confused on the process of creating users. First I "su >> cyrus" then I typed the following commands, >> >>> cyradm localhost >>> cm

Re: cvt_cyrusdb_all

2003-08-06 Thread Norman Zhang
Luca Olivetti wrote: > > root should not have a mailbox. I suppose you are using > postfix. Create a mailbox for a regular user and edit > /etc/aliases to point root mail to that user (don't > forget to run newaliases afterwards). Follow the > instructions in README.RPM on how to configure postfix

imtest error

2001-05-11 Thread Norman Zhang
Hi, I am trying to imtest -m login -p imap localhost as described on Cyrus Howto, and I keep getting the following error message C: CO1 CAPABILITY failure: prot layer failure Does anybody know what is causing this problem? I check the readme document that came with the source doc/readme.html

compile warning msg

2001-05-09 Thread Norman Zhang
When I compile cyrus-imapd-2.0.13, with ./configure --with-auth=unix --with-dblib=/usr/lib/ --with-sasl=/usr/lib/ How can I get ride of the warning message? configure: warning: Parts of com_err distribution were found, but not compile_et. configure: warning: Will build com_err from included sourc

makedepend

2001-05-09 Thread Norman Zhang
I am trying to compile cyrus-imapd-2.0.13 on my Mandrake platform. When I issue the command ./configure --with-auth=unix --with-dblib=/usr/lib/ --with-sasl=/usr/lib/ -- with-com_err=/tmp/cyrus-imapd-2.0.13/et/ I get a warning message, configure: warning: Makedepend is not installed on this syst

configure error

2001-05-07 Thread Norman Zhang
Hi, When I do a ./configure for cyrus-imapd-2.0.13 on my Linux box with Mandrake 8.0 ./configure --with-auth=unix --with-dbdir=/usr/lib/ The compiling script complains with an error message, configure: error: this version requires Berkeley DB 3.x. I checked my system for Berkeley DB 3.x with

No Subject

2001-05-07 Thread Norman Zhang
Hi, When I do a ./configure for cyrus-imapd-2.0.13 on my Linux box with Mandrake 8.0 ./configure --with-auth=unix --with-dbdir=/usr/lib/ The compiling script complains with an error message, configure: error: this version requires Berkeley DB 3.x. I checked my system for Berkeley DB 3.x with

configure error

2001-05-07 Thread Norman Zhang
Hi,   When I do a ./configure for cyrus-imapd-2.0.13 on my Linux box with Mandrake 8.0   ./configure --with-auth=unix --with-dbdir=/usr/lib/   The compiling script complains with an error message,   configure: error: this version requires Berkeley DB 3.x.   I checked my system for Berkeley D