Re: Squirrelmail with Cyrus

2007-12-07 Thread Rafael Mahecha


Good morning.
I think it would depend on what your cyrus/sendmail is
using (pam, etc.)
Then, in the squirrelmail config (./config.pl) you
configure the imap server address and there is a setting asking for login
(authentication) type; e.g., login, plain, cram,etc.
-- 
-- 
--

Rafael Mahecha 
E-mail Administrator 
Office of Information
Management 
Jackson State University 

JSU e-Center 
1230
Raymond Road 
Jackson, MS 39204 

[EMAIL PROTECTED] 
(601)-979-1783 
http://www.jsums.edu 

On Fri, December 7,
2007 6:05 am, BipinDas-Ditro wrote: 
 DearList 
 I am
building a new server with Cyrus/Sendmail/Squirrelmail. Let me know 

how I configure the Squirrelmail to authenticate with Cyrus. 
 To be
simple,If I create a user in Cyrus,How can I login through 

Squirrelmail. What should be the configuration settings to be done ? 
 
 Thanks in Advance. 
 
 -- 

-- 
 BipinDas.K. 
 Linux System
Administrator, 
 Artificial Development,SBC III, 

Thapasya,Infopark-Kochin-682030. 
 ---

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


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

Re: pop3d 100% cpu

2007-11-21 Thread Rafael Mahecha


I have... the problem was actually with our sendmail it is supposed to
have a message size limit... for the maximum size of message that sendmail
will transfer for it turns out that during one of the updates, that option
was not set... so by default it is unlimited, so when a user wanted to send a
170MB home video from her outlook, the server was sitting there trying to
transfer it...

The problem was fixed by removing the mailq and
resetting the option in sendmail.


I guess that for the pop,
your server received a large message and one(or more) of the user(s) is trying
to download that to their computer?

I think cyrus has a max_size
option ... or may be lmtp... which tells it to fail if it finds a message
larger than that
-- 
--
--
Rafael Mahecha
E-mail
Administrator
Office of Information Management
Jackson State
University

JSU e-Center
1230 Raymond Road
Jackson, MS
39204

[EMAIL PROTECTED]
(601)-979-1783
http://www.jsums.edu

On Tue, November 20, 2007 3:51 pm, Faust
wrote:
 
 
 About 5 to 10 minutes after starting
cyrus_imapd the process pop3d will take
 100% cpu usage and the
system will freece.
 
 Anyone else has seen this problem?
 
 I am using fedora 8 with the following packages;


 cyrus-sasl-plain-2.1.22-6

cyrus-imapd-utils-2.3.9-7.fc7
 cyrus-sasl-lib-2.1.22-6

cyrus-sasl-md5-2.1.22-6
 cyrus-imapd-perl-2.3.9-7.fc7

cyrus-imapd-2.3.9-7.fc7
 cyrus-sasl-2.1.22-6
 
 
 Faust
 
 
 Cyrus Home Page:
http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ:
http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info:
http://asg.web.cmu.edu/cyrus/mailing-list.html


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

inserting mails in a users mailbox

2007-10-29 Thread Rafael Mahecha


Dear list,

I currently have 2 mail servers running cyrus 2.2...
they are stand alone I was wondering if you could advised what is the best
way to insert messages from an account in one server to an different account
in the other server; e.g., I might have the same person logging in with
different usernames to each of the servers.

I tried the xfer
command, but got a not allowed... error message I was thinking
about just copying the messages from one to the other and then recontruct the
mailbox the problem here, is what to do is the destination mailbox has
emails named 1. 2. 4. etc. then they might be over-written.

Any
ideas?


Thanks for support
-- 
-- 
-- 
Rafael Mahecha 
E-mail Administrator 
Office of Information
Management 
Jackson State University 

JSU e-Center 
1230
Raymond Road 
Jackson, MS 39204 

[EMAIL PROTECTED] 
(601)-979-1783 
http://www.jsums.edu 



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

Re: LARGE single-system Cyrus installs?

2007-10-04 Thread Rafael Mahecha


We run a single dell 2850 (2-dual @ 2.8GHz, 8gb ram and 900gb internal).
have about 29k users... but our message transfer load is much smaller than
what you describe... may be in the order of 10k the systems is at 80+ idle
most of the time.

We will have this setup for about 1 yr now... no
major problems.
-- 
-- 
-- 
Rafael Mahecha 
E-mail
Administrator 
Office of Information Management 
Jackson State
University 

JSU e-Center 
1230 Raymond Road 
Jackson, MS
39204 

[EMAIL PROTECTED] 
(601)-979-1783 
http://www.jsums.edu 

On Thu, October 4, 2007 1:04 pm, Vincent
Fox wrote: 
 
 Wondering if anyone out there is running a
LARGE Cyrus 
 user-base on a single or a couple of systems? 
 
 Let me define large: 
 
 25K-30K (or more)
users per system 
 High email activity, say 2+ million emails a day

 
 We have talked to UCSB, which is running 30K users on a
single 
 Sun V490 system. However they seem to have fairly low
activity 
 levels with emails in the hundred-thousands range not
millions. 
 
 So far that's the only other place we've
talked to. Everyone else 
 seems to spread out 5K users on a large
number of backends. 
 
 We have 60K users, and were trying
to run them spread across 
 2 systems and ran into problems when Fall
quarter started and 
 the load just skyrocketed. Email volume today
3.6 million. 
 
 
  
 Cyrus Home Page:
http://cyrusimap.web.cmu.edu/ 
 Cyrus Wiki/FAQ:
http://cyrusimap.web.cmu.edu/twiki 
 List Archives/Info:
http://asg.web.cmu.edu/cyrus/mailing-list.html 
 


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

problems with quota warning script

2007-06-20 Thread Rafael Mahecha
I'm running these:
centos 5
Linux students.jsums.edu 2.6.18-8.1.4.el5 #1 SMP Thu May 17 03:16:52 EDT 
2007 x86_64 x86_64 x86_64 GNU/Linux
cyrus-imapd-2.3.7-1.1.el5
sendmail-8.13.8-2.el5

I have sucessfully configured and ran the quota warnings script (
quotacheck.pl
Written by Mark Borrie, ITS, University of Otago
Dunedin, New Zealand
[EMAIL PROTECTED]
Version : March 1 1999.
)

The script has worked ok in centos 4 and previous versions of cyrus and 
sendmail, however in a newly deployed server (with above mentioned 
specs)  the script does not work... I think there is a problem with the 
/usr/lib/cyrus-imapd/deliver.


The scipt is supposed to invoke the cyrus deliver command to deposit a 
message even when the user's quota is at or above 100%... the problem is 
that deliver works only if the quota is not 100%and no -q flag is set.

any ideas?
I don't see any errors in the logs and other than that, users get their 
email as usual...

the script runs as root, but su - cyrus to run deliver

please help..

Thanks


--

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


Re: GUI to administrate cyrus

2007-03-19 Thread Rafael Mahecha
There is also something called webmin (www.webmin.com) that has a third
party module to admin cyrus.
-- 
--
--
Rafael Mahecha
E-mail Administrator
Office of Information Management
Jackson State University

JSU e-Center
1230 Raymond Road
Jackson, MS 39204

(601)-979-1783
http://www.jsums.edu
Jackson, MS 39204

On Mon, March 19, 2007 6:25 am, JOYDEEP wrote:
 Gregor Wenkelewsky wrote:
 On Mon, 19 Mar 2007 10:58:38 +0100, JOYDEEP [EMAIL PROTECTED]
 wrote:


 Dear list,

 is there any  GUI tool to administrate existing cyrus users in my linux
 box ?

 thanks.


 Hi Joy,

 there is this Cyrus GUI called Gyrus. Though unfortunately (afaik)
 the development has ceased. The approach was nice, but never finished.
 I am using Gyrus here to create new accounts, but I can not delete
 accounts or i.e. manage them in groups, and sasl passwords still have
 to be set by using the superuser or root login in a shell.

 I too would like to know if there are alternatives. :-)

 Thanks for the info. I have just come to know about a PHP based web tool
 to do admin work.
 it is called web-cyradm.  It is also possible to handle multiple domain
 :-) but it needs mysql and
 I don't know if I can use it to handle the existing accounts. Though tis
 tool is very advanced.
 One alternative I heard of is a web administration tool, but that
 again is reported to be complicated to set up and it needs a
 webserver.

 Yours, Gregor




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




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


Re: Cyrus 2.2.10: autocreatequota?

2007-03-09 Thread Rafael Mahecha
For this quota to work, the inbox needs to have recieved email via pop or
lmtp... if the user has never logged in, or if he has never gotten email,
then you cannot change the quota.
-- 
--
--
Rafael Mahecha
E-mail Administrator
Office of Information Management
Jackson State University

JSU e-Center
1230 Raymond Road
Jackson, MS 39204

(601)-979-1783
http://www.jsums.edu
Jackson, MS 39204

On Fri, March 9, 2007 7:30 am, Michael Menge wrote:
 Hi,

 afaik the autocreatequota ist only the quota for mailboxes which are
 created
 by autocreate. If you create the mailbox with cyradm the mailbox is
 not created by autocreate. So you have to set the quota with cyradm


 Quoting Bernd Nies [EMAIL PROTECTED]:

 Hi,

 We're running Cyrus IMAP 2.2.10 on Solaris and want to introduce quota.
 In imapd.conf I have:

   # Quota 600 MB
   autocreatequota: 60
   lmtp_over_quota_perm_failure: 0
   quotawarn: 90

 Seems the autocreatequota does not work. When I create a mailbox with
 cyradm and send a message to it, the mailbox quota is not listed with
 the Cyrus quota command.

 How can one set a default quota for all existing user accounts? The
 cyradm command

   setquota user 60

 caused the imapd's to crash and leave core files in the user
 directories. Had a lot of trouble to get it working again. Setting
 quota per user mailbox with

   setquota user/bernd 60

 works fine and also warnings as popups in Thunderbird.

 Thanks in advance for help.

 Regards,
 Bernd

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



 
 M.Menge Tel.: (49) 7071/29-70316
 Universitaet Tuebingen  Fax.: (49) 7071/29-5912
 Zentrum fuer Datenverarbeitung  mail:
 [EMAIL PROTECTED]
 Waechterstrasse 76
 72074 Tuebingen
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



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


Re: diplay quota for all users

2006-12-21 Thread Rafael Mahecha

Thanks for the quick answer, Andrew.

what about any data corruption? I mean, is there a quota db?
- Original Message - 
From: Andrew Morgan [EMAIL PROTECTED]

To: Rafael Mahecha [EMAIL PROTECTED]
Cc: Cyrus Info List info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, December 21, 2006 3:13 PM
Subject: Re: diplay quota for all users



On Thu, 21 Dec 2006, Rafael Mahecha wrote:

I would like to see the quota for all my users and output that to a 
file... I tried the command bellow in a test server, but I'm still a 
little reluctant to try it on my production server.


su - cyrus -c /usr/lib64/cyrus-imapd/quota  /mailstore/quotas_list.txt


Is there anything to keep in mind while running the command?
Is there are quota database (I did not see one)?
Should cyrus be stopped while doing this?
Are teh any flags/options to the cyrus quota command?


We run the quota command nightly on each of our backends in order to 
generate a list of people that are nearing their email quota.  It takes 
approximately a minute to run, and has no real performance impact on the 
servers.  There are a few options for the quota command, which are 
documented in the manpage.


 Andy 



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


Re: diplay quota for all users

2006-12-21 Thread Rafael Mahecha

sorry... one more thing... is this the man page that are talking about?
http://cyrusimap.web.cmu.edu/imapd/man/quota.8.html
- Original Message - 
From: Andrew Morgan [EMAIL PROTECTED]

To: Rafael Mahecha [EMAIL PROTECTED]
Cc: Cyrus Info List info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, December 21, 2006 3:13 PM
Subject: Re: diplay quota for all users



On Thu, 21 Dec 2006, Rafael Mahecha wrote:

I would like to see the quota for all my users and output that to a 
file... I tried the command bellow in a test server, but I'm still a 
little reluctant to try it on my production server.


su - cyrus -c /usr/lib64/cyrus-imapd/quota  /mailstore/quotas_list.txt


Is there anything to keep in mind while running the command?
Is there are quota database (I did not see one)?
Should cyrus be stopped while doing this?
Are teh any flags/options to the cyrus quota command?


We run the quota command nightly on each of our backends in order to 
generate a list of people that are nearing their email quota.  It takes 
approximately a minute to run, and has no real performance impact on the 
servers.  There are a few options for the quota command, which are 
documented in the manpage.


 Andy 



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


diplay quota for all users

2006-12-21 Thread Rafael Mahecha
I would like to see the quota for all my users and output that to a file... I 
tried the command bellow in a test server, but I'm still a little reluctant to 
try it on my production server.

su - cyrus -c /usr/lib64/cyrus-imapd/quota  /mailstore/quotas_list.txt


Is there anything to keep in mind while running the command? 
Is there are quota database (I did not see one)? 
Should cyrus be stopped while doing this?
Are teh any flags/options to the cyrus quota command?

Any help is greatly appreciated.

Thanks.
:
Rafael Mahecha

Email / Systems Administrator
JSU OIM - Web Services
[EMAIL PROTECTED]
http://www.jsums.edu
:
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

how to backup a cyrus server?

2006-12-04 Thread Rafael Mahecha
I recently moved all my users from proprietary wemail (using local sendmail) to 
latest cyrus and sendmail using lmtp.

I used to use tivoli to backup the old server (which was ok since no data bases 
were involved)... but since cyrus has databases and such, I am concern about 
file-locking and database corruption.

What is the best way to back up the server? shutdown cyrus for a while, then 
snap shot it, and then back up to tivoli or should I just be able to back 
up the running server directly to tivoli?

what other software can I use to backup?

Thanks
:
Rafael Mahecha

Email / Systems Administrator
JSU OIM - Web Services
[EMAIL PROTECTED]
http://www.jsums.edu
:
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html