FAQ How to change a userid

2003-06-30 Thread Ramprasad A Padmanabhan




Is there a way I can change the user id 
I was searching the internet people have said I will have to create a new account and move the mails to the account
That Seems quite laborious. 

 When I am easily able to rename A subfolder of inbox ( using cyradm )
 'user/usarname/folder  user/username/newfolder'

Then Why Cant I similarly rename
 'user/username  user/newusername '


Thanks
Ram





NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP
Fleximail: Mail Storage, Management and Relaying 
http://www.netcore.co.in

Emergic Freedom: Linux-based Thin Client-Thick Server Computing
http://www.emergic.com

BlogStreet: Top Blogs, Neighborhoods, Search and Utilities
http://www.blogstreet.com

Rajesh Jain's Weblog on Technology:http://www.emergic.org






Re: Sieve problem

2003-06-30 Thread David Carter
On Sun, 29 Jun 2003, Michael Kaufmann wrote:

 I'm trying to get sieve working on my Cyrus IMAPD (2.1.13) but I can't
 get it working the way I want. I get a lot of mails from mailing lists
 every day and I want them to be moved fout of my INBOX into
 INBOX.ml:blah.blah but only the filter rules for postix-users work
 correctly.

Have you created each of the target folders? Cyrus doesn't create folders
automatically, and will fallback to delivering to your INBOX if a given
target folder doesn't exist.

Failing that: are the ACLs on the target folders different?

-- 
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.


Re: Case sensitive lmtp?

2003-06-30 Thread David Carter
On Mon, 30 Jun 2003, Bojan Zdrnja wrote:

 Everything works fine, but I noticed that Cyrus IMAP rejects e-mail and
 being case sensitive in addresses.

Yep. Two possible approaches:

1) Get Postfix to tranlate the localpart to the correct case (using
   either some kind of rewrite rule or an alias file). Afraid we use
   Exim rather than Postfix: I'm not sure just what Postfix can do here.

2) A unoffical patch does exist for lmtpd:

http://asg.web.cmu.edu/archive/message.php?
   mailbox=archive.info-cyrusmsg=19723

I suspect that (1) is the recommended approach.

-- 
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.


Danish Charset 8859-15

2003-06-30 Thread Kristian Søgaard
Hi.

Having problems with the danish letters æ ø å.

All subject fields containing the 3 letters get replaced by X.
Is there some way i can fix this problem ???

I'm on a Suse 8.2 system.

Kristian in Denmark



Re: Too many lmtpd processes running

2003-06-30 Thread lst_hoe
Zitat von Scott Adkins [EMAIL PROTECTED]:

 --On Thursday, June 26, 2003 10:57 PM +0200 [EMAIL PROTECTED] wrote:
 
  Zitat von Rob Tanner [EMAIL PROTECTED]:
 
  Hi,
 
  I've just brought up cyrus imap v2.1.13 and I've noticed that there are
  over lmtpd processes running.  Isn't that a bit excessive?  It's starting
  to bog down the server.
 
 
  Limit the number of lmtp clients used by your MTA (Postfix/Sendmail ...)
  to some value your server can stand. Most of the time 2 are enough.
 
  Should go to the FAQ i guess.
 
 I don't think I can agree with your answer :-)  It really depends on the
 system and how much mail you pump through it.  It also depdns on how you
 do your email delivery.  For instance, in our sendmail configuration, we
 queue all incoming mail and use cron jobs to fire off queue runners to
 process the various queues we have, with some queues running more often
 than others.  If we have 30 sendmail queue runners processing our Cyrus
 queue, then we should expect to see 30 LMTP process as well, one for each
 of the queue runners that could feed them mail.

Don´t know about sendmail but the point is if you have one Cyrus partition
massive parallel deliver gain nothing because all the lmtp fight for the same
(rare) I/O resource and you get in trouble with locking at some point.
This is true for MTA local/ MDA local scenario.
If you deliver from slow MTA gateways (virusscanning) over network to one fast
Cyrus MDA by lmtp running a lot of lmtpd makes sense.

 As for the original question, you didn't actually state how many LMTP
 processes you are seeing.  We typically don't worry about it as long as
 we are under 100 processes... when we go over that though, we start
 looking at the processes (with LSOF) to see if there are a lot of procs
 stuck on a single file (usually a cyrus.header file of a particular user).
 This is a lock problem that we have been fighting with for a long time
 (we are using 2.0.16) and end up restarting the server to fix it.

You can fix this by running a lower number of lmtp-clients :-)

 So, my suggestion is to look at the LMTP process you have, see if a lot
 of them are blocked doing nothing (i.e. probably waiting for a file to
 unlock).  If they all look busy, then I wouldn't worry about it.
 
 Scott

Regards

Andreas



Re: Danish Charset 8859-15

2003-06-30 Thread Kristian Søgaard
Hi.
I just noticed it is only mail that does not have ISO encoding in the
subject field. So it is basically not a problem in Cyrus. (As some one
surely would have told me soon enough :-)

Can i change the default iso ?
That is, if nothing is specified, then it would default to iso-8859-15.

Kristian

- Original Message -
From: Kristian Søgaard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 30, 2003 10:05 AM
Subject: Danish Charset 8859-15


 Hi.

 Having problems with the danish letters æ ø å.

 All subject fields containing the 3 letters get replaced by X.
 Is there some way i can fix this problem ???

 I'm on a Suse 8.2 system.

 Kristian in Denmark





opiekeys

2003-06-30 Thread Patrick Welche
On Sun, Jun 29, 2003 at 01:57:59PM -0600, RYAN M vAN GINNEKEN wrote:
 i have turned the permissions to 
 
 -rwxrwxrwx  1 root  wheel 0 Dec 12  2002 opiekeys
 
 and
 -rwxrwxrwx  1 cyrus  mail 1 Jun 21 11:49 sasldb2.db
 
 i know this is not smart but i am desperte nothing seems to work
  
 Jun 29 13:46:57 v20 imapd[8513]: OTP unavailable because can't read/write key 
 database /etc/opiekeys: Permission denied
 Jun 29 13:46:57 v20 imapd[8513]: Could not open db
 Jun 29 13:46:57 v20 imapd[8513]: Could not open db
...
I have never used opiekeys.. Just a thought: should those two files be
empty databases as opposed to empty files?

Cheers,

Patrick


Re: lmtp problem

2003-06-30 Thread rahul
Anybody , Who has worked on the older versions i.e cyrus 1.6.24 , postfix
1.1.11 ,Please tell me how to configure  lmtp .
   Waiting for the sound reply

Regards
  Rahul



- Original Message -
From: rahul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 27, 2003 4:19 AM
Subject: lmtp problem


 Please ,
 anybody tell me how to use lmtp in cyrus 1.6.24 for mail filtering ..
  I am using postfix 1.1.11 ..
 I have tried following on Redhat 7.2 machine ...

 In /etc/xinetd.d/lmtp contains
 ==
 service lmtp
 {
 disable = no
 socket_type = stream
 protocol= tcp
 wait= no
 user= cyrus
 server  = /usr/cyrus/bin/deliver -e   -l
 }

 ==

 In /etc/postfix/main.cf
 ===
 mailbox_transport = lmtp
 lmtp_tcp_port = 24
 ==

 In /etc/services  entry is
 ==
 lmtp  24/tcp
 ==

 In /etc/postfix/master.cf
 
 cyrus unix  -   n   n   -   -  pipe flags=R user=cyrus
argv=/usr/cyrus/bin/deliver -l

  -e -m ${extension} ${user}
 ==

 When i tried to send mail then

 tail -f /var/log/maillog contains
 ==
 Jun 27 15:12:31 test postfix/lmtp[2425]:5DA506C8B1:
to=[EMAIL PROTECTED], relay=none,

 delay=79045, status=deferred (connect to mail.sirindia2.com[192.168.1.6]:
Connection

 refused)
 ==

 So , How i configure lmtp ???

 Any Help will be appreciated 


 Regards
 Rahul ..





Send service email to all my users?

2003-06-30 Thread Dave Carrera
Hi All

New to administrating a email server so I beck your kindness if this is a
simple question.

I have about 3000 users of which I wish to send them an email notifying them
of some downtime.

How do I do that?

Server is FreeBSD 4.7 / Postfix / Cyrus 

Thank you for any help in advance

Dave C

http://www.ephgroup.com
Secure Hosting Accounts for everyone.  

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.493 / Virus Database: 292 - Release Date: 25/06/2003
 




Cyrus SASL 2.1.14 Released

2003-06-30 Thread Rob Siemborski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm pleased to announce the release of Cyrus SASL 2.1.14 on
ftp.andrew.cmu.edu.

This version includes support for OS X 10.2, Sun's SEAM GSSAPI
implementation, and MySQL 4 (along with the usual set of bug fixes).

Please send any feedback either to [EMAIL PROTECTED]
(public list) or to [EMAIL PROTECTED]  Development issues can be
raised on [EMAIL PROTECTED]

Download at:
ftp://ftp.andrew.cmu.edu/pub/cyrus/cyrus-sasl-2.1.14.tar.gz
 or
http://ftp.andrew.cmu.edu/pub/cyrus/cyrus-sasl-2.1.14.tar.gz

- -Rob

- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.76

iQA/AwUBPwBW9Wes8cJc4y/MEQIgCwCg8sLEI2u+CNDsmEqpp58spxeEchIAn14A
OS0h63lNpx/nTxCKmM2pSzZd
=9tne
-END PGP SIGNATURE-



Re: FAQ How to change a userid

2003-06-30 Thread Rob Siemborski
On Mon, 30 Jun 2003, twk wrote:

  Then Why Cant I similarly  rename
   'user/username  user/newusername '

 Because you can't. It's an architectural limitation of Cyrus.

This isn't true.  Its certainly possible, its just quite laborous to do
correctly.

 Here is what we do :

 - Create a new account (new)
 - cp -r /imap/user/o/old/* /imap/user/n/new
 - reconstruct -r user.new
 - delete old account

 I wouldn't consider that particularly laborious.

Except you haven't renamed the user, you've just renamed the mailbox.

To rename the user you need to also do the following:

1. move the subscriptions, seen state  sieve scripts (ok, this isn't
hard)
2. change the ACLs on all the mailboxes so that the old username is
replaced by the new username (this is quite intensive to do on a large
mail store)
3. update the group memberships (since cyrus doesn't control its own
group memberships, this involves the use of an outside process somehow).

There is an 'allowusermoves' option in 2.2 that does some of this, but (2)
and (3) just can't be done in any efficient way using the current scheme
(We have thought about using numberic uids for users, but that would be a
significant architechural shift).

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: Danish Charset 8859-15

2003-06-30 Thread Christian Schulte
Am Montag, 30. Juni 2003 19:38 schrieb Kristian Søgaard:
 Hi.
 I just noticed it is only mail that does not have ISO encoding in the
 subject field. So it is basically not a problem in Cyrus. (As some one
 surely would have told me soon enough :-)

 Can i change the default iso ?
 That is, if nothing is specified, then it would default to iso-8859-15.

 Kristian

Maybe you can configure your MTA to do exactly that! In sendmail add the 
following lines to sendmail.mc:

define(`confSEVEN_BIT_INPUT', `false')dnl
define(`confEIGHT_BIT_HANDLING', `mime')dnl
define(`confDEF_CHAR_SET', `iso-8859-15')dnl


--Christian




Re: Danish Charset 8859-15

2003-06-30 Thread Kristian Søgaard
Thanks alot :-)

Kristian

- Original Message -
From: Rob Siemborski [EMAIL PROTECTED]
To: Kristian Søgaard [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 30, 2003 6:31 AM
Subject: Re: Danish Charset 8859-15


 On Mon, 30 Jun 2003, [iso-8859-1] Kristian Søgaard wrote:

  I just noticed it is only mail that does not have ISO encoding in the
  subject field. So it is basically not a problem in Cyrus. (As some one
  surely would have told me soon enough :-)

 Yup.  The problem is with the clients that are sending the badly formed
 messages.

  Can i change the default iso ?
  That is, if nothing is specified, then it would default to iso-8859-15.

 We've said several times that accept a patch to do exactly this, provided
 it correctly re-encoded the headers to the proper charset.

 So far it seems no one cares enough to do the work.

 -Rob

 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
 Research Systems Programmer * /usr/contributed Gatekeeper





Re: Sieve problem

2003-06-30 Thread Michael Kaufmann
Hi,

 Have you created each of the target folders? Cyrus doesn't create folders
 automatically, and will fallback to delivering to your INBOX if a given
 target folder doesn't exist.

yes, all the folders do exist. Is there maybe a posibility to debug timsieved?

 Failing that: are the ACLs on the target folders different?

yes, all the ACLs are user lrswipcda.

thanx! Michael



Re: Send service email to all my users?

2003-06-30 Thread Rob Siemborski
On Mon, 30 Jun 2003, Ted Fines wrote:

 Can you generate a list of your users?

 Once you have that, a simple Perl program could be used to send them each a
 message, using the Perl Mail::Sender module.  Here's a snippet of a Perl
 program we use to send mass email:

 Just get your list of users and put it into the '@list_of_all_userids'
 array and they'll all get mailed.

Note that this will result in a single message per user, which is
tremendously more taxing on the servers to actually do.

If you're going to do this frequently, you'll want to put all of the
recipients in a single SMTP envelope, so that your SMTP server can give
them to lmtpd as a part of a single transaction.

This also gains you the benefit of single instance store: 3000 people
share the same data ;)

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



cyradm erros when reconstructing a mailbox

2003-06-30 Thread Ezsra McDonald
OK, I probably did something rash when I rsynced a few
of my mailboxes to a new cyrus mail server. It was an
unplanned migration and It had to be fast.

One of the users can't delete messages in subfolders.
she also can't move messages into these sub folders. 

I tried to run a reconstruct and got the following
error:

host.domain reconstruct -r user.jessica
reconstruct: Operating System Error

Any suggestions?

--Ezsra

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


Re: more hints please

2003-06-30 Thread Ken Murchison
Both errors are a result of your client trying to use a SASL mech which 
you don't have secrets for.  In the case of OTP, you have the OPIE 
library installed and SASL found it, so it is assuming that the secrets 
are in /etc/opiekeys, otherwise it would be using /etc/sasldb2 as well.

If you don't want to use these mechs for anything, then simply remove 
the plugins from /usr/lib/sasl2.

Alternatively, you could restrict the set being advertised by Cyrus by 
using the sasl_mech_list option in imapd.conf.  (Note that in this case 
the plugins might still complain because they are still loaded).

RYAN M vAN GINNEKEN wrote:
so how do i fix things then
--
- Original Message -

DATE: Mon, 30 Jun 2003 06:51:17
From: Nikola Milutinovic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: 


i have turned the permissions to 

-rwxrwxrwx  1 root  wheel 0 Dec 12  2002 opiekeys
Size 0? So, there are no keys in this file?


and
-rwxrwxrwx  1 cyrus  mail 1 Jun 21 11:49 sasldb2.db
i know this is not smart but i am desperte nothing seems to work

Jun 29 13:46:57 v20 imapd[8513]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied
Maybe a wrong type of message...


Jun 29 13:46:57 v20 imapd[8513]: Could not open db
Jun 29 13:46:57 v20 imapd[8513]: Could not open db
Jun 29 13:46:57 v20 imapd[8513]: no secret in database
Now, this is definitely true...


Jun 29 13:46:57 v20 imapd[8513]: badlogin: v20.computerking.ca[192.168.0.202] 
DIGEST-MD5 [SASL(-13): user not found: no secret in database]
Jun 29 13:47:00 v20 perl: No worthy mechs found
Nix.






Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005


--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


Re: cyradm erros when reconstructing a mailbox

2003-06-30 Thread Ezsra McDonald
lm user.jessica.*

user.jessica.Adobe (\HasNoChildren)
user.jessica.BOHA (\HasNoChildren)
user.jessica.Batch (\HasNoChildren)
user.jessica.Bugs (\HasNoChildren)
user.jessica.Corps (\HasNoChildren)
user.jessica.Courts (\HasNoChildren)
user.jessica.E-mail addresses (\HasNoChildren)
user.jessica.Email Stuff (\HasNoChildren)
user.jessica.Employee Self Service (\HasNoChildren)
user.jessica.FTP (\HasNoChildren)
user.jessica.General Responses (\HasNoChildren)
user.jessica.KBA (\HasNoChildren)
user.jessica.KBC (\HasNoChildren)
user.jessica.KBI (\HasNoChildren)
user.jessica.KBI PI (\HasNoChildren)
user.jessica.KCC (\HasNoChildren)
user.jessica.KDEM (\HasChildren)
user.jessica.KDEM.Homeland Security (\HasNoChildren)
user.jessica.KDHE (\HasNoChildren)
user.jessica.KDOCH (\HasNoChildren)
user.jessica.KDOHR (\HasNoChildren)
user.jessica.KDOR (\HasNoChildren)
user.jessica.KDOT (\HasNoChildren)
user.jessica.KDWP (\HasNoChildren)
user.jessica.KREC (\HasNoChildren)
user.jessica.KSBN (\HasNoChildren)
user.jessica.Legislative (\HasNoChildren)
user.jessica.Library (\HasNoChildren)
user.jessica.Links (\HasNoChildren)
user.jessica.MVR (\HasNoChildren)
user.jessica.Meetings (\HasNoChildren)
user.jessica.Meetings, etc (\HasNoChildren)
user.jessica.Miscellaneous (\HasNoChildren)
user.jessica.NIC Stuff (\HasNoChildren)
user.jessica.Nursing (\HasNoChildren)
user.jessica.Nursing Errors (\HasNoChildren)
user.jessica.PKI (\HasChildren)
user.jessica.PKI.Digital ID requests (\HasNoChildren)
user.jessica.PKI.Links (\HasNoChildren)
user.jessica.PKI.My Stuff (\HasNoChildren)
user.jessica.PKI.Reports (\HasNoChildren)
user.jessica.Pharmacy (\HasNoChildren)
user.jessica.Phone Numbers (\HasNoChildren)
user.jessica.Procedures (\HasNoChildren)
user.jessica.Projects (\HasChildren)
user.jessica.Projects.Jeanine Stuff (\HasNoChildren)
user.jessica.Projects.Portal Redesign (\HasNoChildren)
user.jessica.Property Tax (\HasNoChildren)
user.jessica.Responses (\HasNoChildren)
user.jessica.SOS (\HasNoChildren)
user.jessica.Sedgwick (\HasNoChildren)
user.jessica.Telnet (\HasNoChildren)
user.jessica.Tourism (\HasNoChildren)
user.jessica.Trash (\HasNoChildren)
user.jessica.Trip (\HasNoChildren)
user.jessica.Trucking (\HasNoChildren)
user.jessica.UCC (\HasNoChildren)
user.jessica.Web Design (\HasNoChildren)
user.jessica.Webfile (\HasNoChildren)
user.jessica.Word Docs (\HasNoChildren)

lam user.jessica.Trash

jessica lrswipcda




--- Patrick Welche [EMAIL PROTECTED] wrote:
 On Mon, Jun 30, 2003 at 12:08:06PM -0700, Ezsra
 McDonald wrote:
  OK, I probably did something rash when I rsynced a
 few
  of my mailboxes to a new cyrus mail server. It was
 an
  unplanned migration and It had to be fast.
  
  One of the users can't delete messages in
 subfolders.
  she also can't move messages into these sub
 folders. 
  
  I tried to run a reconstruct and got the following
  error:
  
  host.domain reconstruct -r user.jessica
  reconstruct: Operating System Error
  
  Any suggestions?
 
 What are the access control lists on these
 subfolders?
 eg. cyradm localhost
 lm user.jessica.*
 lam user.jessica.Sent
 
 Cheers,
 
 Patrick


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


cyradm + db_version

2003-06-30 Thread joost Maenen








Hy,



I have installed cyrus
2.2 alpha edition, cyrus-sasl-2.1.13 and Berkeley 4.1 and the older Berkeley db 3 .

Everything compiles fine and also during
installation everything goes oke . 

But after install when trying to run cyradm I get an error that the perl
module Cyrus::Imap has a problem with the db_version and therefore cant load a module. 

I did find a old mail on the archives that it
hat something to do with the different db version of Berkeley but couldnt
find the solution yet 



Does somebody know how to fix this problem ??



thanks

[EMAIL PROTECTED]








Setting SIEVE parameters..

2003-06-30 Thread Mike Allen
I need to know how to set SIEVE parameters that are not
in my configuration file. For example I need to set the
sieve_maxcripts parameter from the default of 5 to some higher
number.  I am running Cyrus-Imapd version 2.0.16_2.

I found out about this parameter by using Google.

I also need to find out the sieve script hierarchy and
other rules that may apply.

Where can I find documentation about this and other
parameters?

Mike Allen
Independant Consultant




Re: Setting SIEVE parameters..

2003-06-30 Thread Rob Siemborski
On Mon, 30 Jun 2003, Mike Allen wrote:

 I need to know how to set SIEVE parameters that are not
 in my configuration file. For example I need to set the
 sieve_maxcripts parameter from the default of 5 to some higher
 number.  I am running Cyrus-Imapd version 2.0.16_2.

The same way you set any other parameter: edit imapd.conf.

 Where can I find documentation about this and other
 parameters?

doc/*.html,
man imapd.conf

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: pine, horde and CRAM_MD5 not happy

2003-06-30 Thread Ken Murchison


Ezsra McDonald wrote:
Since I was forced to migrate friday I have been
unable to connect to the cyrus imap server with pine
and horde. 

They are trying to use CRAM_MD5 authentication when I
would rather they did not. 

How do I disable CRAM_MD5 as an authentication method
or at least get it to work between cyrus and
pine/horde?
If you don't need them for any other applications, simply remove the 
plugins from /user/lib/sasl2.  If you only want to limit the mechs 
offered by Cyrus, set the sasl_mech_list option in imapd.conf to a 
space-separated list of mechs, eg:

sasl_mech_list: PLAIN

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


quota warning problem - Is it a bug of cyrus imap?

2003-06-30 Thread Daniel Qian |
I have installed cyrus imap 2.13 recently and it works very well ecept
when the mailbox data reaches big volume. On a 10G quota for a mailbox
the server starts warning the outlook user and closes the connection
when the used space is just al little over 15% of the quota.  But for
small quota the server works fine- it starts the warning at 90% of the
quota limit. Is there anyone on this list aware of this problem? 

Best Regards,
Daniel Qian
 




Re: quota warning problem - Is it a bug of cyrus imap?

2003-06-30 Thread Simon Brady
On Tue, 1 Jul 2003, [gb2312] Daniel Qian | ǮʡÄÏ wrote:

 I have installed cyrus imap 2.13 recently and it works very well ecept
 when the mailbox data reaches big volume. On a 10G quota for a mailbox
 the server starts warning the outlook user and closes the connection
 when the used space is just al little over 15% of the quota.  But for
 small quota the server works fine- it starts the warning at 90% of the
 quota limit. Is there anyone on this list aware of this problem? 

I haven't looked at the code, but this sounds like what you'd see if quota 
math was being done in 32 bits: 10G mod 4G = 2G, and 90% of 2G is 18% of 
the original 10G figure.

--
Simon Brady mailto:[EMAIL PROTECTED]
ITS Technical Services
University of Otago, Dunedin, New Zealand



Re: FAQ How to change a userid

2003-06-30 Thread John Wade
If anyone is interested, we have a perl script that does the following:

The script will:
#1) obtain list of mailboxes under the old UI via direct IMAP calls
#2) create the new mailboxes via direct IMAP calls
#3) do the recursive copy of mail files from old UID to new UID
#4) reconstruct new UID mailbox
#5) get the seen file for the old UID and prep for the new UID
#6) get the contents of all cyrus.header files for old  new UIDs into 
arrays
#7) hula-hoop thru seen file stuff; do tricky search and replace
#9) handle search and replace for old UID to new UID in newUID.sub file
#10) move any sieve scripts to the new UID

I can't say it is a perfect implementation because it does not try to 
address items 2 or 3 below, but these are not used extensively in our 
environment.

If you would like a copy, email me directly and I will be happy to send it,

John Wade

Rob Siemborski wrote:

On Mon, 30 Jun 2003, twk wrote:

 

Then Why Cant I similarly  rename
'user/username  user/newusername '
 

Because you can't. It's an architectural limitation of Cyrus.
   

This isn't true.  Its certainly possible, its just quite laborous to do
correctly.
 

Here is what we do :

- Create a new account (new)
- cp -r /imap/user/o/old/* /imap/user/n/new
- reconstruct -r user.new
- delete old account
I wouldn't consider that particularly laborious.
   

Except you haven't renamed the user, you've just renamed the mailbox.

To rename the user you need to also do the following:

1. move the subscriptions, seen state  sieve scripts (ok, this isn't
hard)
2. change the ACLs on all the mailboxes so that the old username is
replaced by the new username (this is quite intensive to do on a large
mail store)
3. update the group memberships (since cyrus doesn't control its own
group memberships, this involves the use of an outside process somehow).
There is an 'allowusermoves' option in 2.2 that does some of this, but (2)
and (3) just can't be done in any efficient way using the current scheme
(We have thought about using numberic uids for users, but that would be a
significant architechural shift).
-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
 





sieve spamassassin

2003-06-30 Thread Michael Grundmann
hi,

my sievescript look like:

require [fileinto];
if header :contains X-Spam-Level: ** {
fileinto INBOX.junk;
}

but the spam-mail would'nt sort in INBOX.junk. any hints?

michael

-- 
Wenn man keine Vögel mag, ist es völlig in Ordnung, mit Kanonen auf
Spatzen zu schiessen. [Ratti in suse-linux]




Re: sieve spamassassin

2003-06-30 Thread John . C . Hayward
My guess is that:
o  INBOX by default has posting permissions to everyone - other folders
   do not.  Since the INBOX.junk folder needs to have your sendmail (or
   whatever) be able to post to the folder you need to allow everyone
   posting permissions.  It would be nice to have a facility which allows
   the general mail deliverer (sendmail or whatever) to post to a folder
   without allowing everyone that privilage.
johnh...
Quoting Michael Grundmann [EMAIL PROTECTED]:

 hi,
 
 my sievescript look like:
 
 require [fileinto];
 if header :contains X-Spam-Level: ** {
 fileinto INBOX.junk;
 }
 
 but the spam-mail would'nt sort in INBOX.junk. any hints?
 
 michael
 
 -- 
 Wenn man keine Vögel mag, ist es völlig in Ordnung, mit Kanonen auf
 Spatzen zu schiessen. [Ratti in suse-linux]