cyrus - sieve returning some text with EVERY email received

2009-10-22 Thread Eddy Beliveau
Hi!

On our academic server, we are using cyrus 2.2.12 with CMU Sieve 2.2 and 
it works perfectly. Thanks. :-)

One of our user would like to return some text, for *every* email, that 
he received
like:
Hi, we just received your email. It will be process shortly. Thanks.

He tries to implement it with sieve 'vacation :days 1 ...'  but this 
only replies once per day at original sender.

He would like to reply to *all* messages

Can it be done ?
Any workaround ?

Thanks in advance
Eddy

-- 
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada


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: Weekly/Monthly record-keeping / maintenance?

2009-04-01 Thread Eddy Beliveau

 Message original 
Sujet : Re: Weekly/Monthly record-keeping / maintenance?
De : Jeff Blaine jbla...@kickflop.net
Pour : Andreas Winkelmann m...@awinkelmann.de
Copie à : info-cyrus@lists.andrew.cmu.edu
Date : 2009-03-31 16:50

Andreas Winkelmann wrote:
  

Am Dienstag 31 März 2009 18:09:32 schrieb Jeff Blaine:



Every year or so, a user of ours reports a discrepancy
between on-disk usage for their spool compared to what
'FETCH' is reporting (as implemented via imapdu.pl)
  
What means on-disk usage for spool ? 



What I mean, is, for one example -- a user is currently
reporting that 'FETCH' (via the imapdu command) is showing
142 messages totalling 640KB in a folder that is actually
completely empty on disk (except for cyrus.* files).

reconstruct -r user.hername did not change what is reported
via 'FETCH'.  It did update the cyrus.* files though.

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

  

Hi!

How about

reconstruct -r -f user.hername

Eddy

--
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada


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

Logging number of pop3's email retrieved during a connection - was (IMAP/POP traffic accounting)

2008-11-21 Thread Eddy Beliveau
Hi! Netfriends,

I sent this email last week but didn't received any replies.

So, I would like to spin it again... Maybe my title was obscure.  ;-)



I would like to log some statistics when any user retrieves their pop3's 
emails.

Currently:
... pop3[32760]: login: address [ip] user plaintext User logged in

It would be nice to also get the number of messages retrieved (and total 
size if available)


Can someone help ?

Thanks,
Eddy

 Message original 
Sujet : Re: IMAP/POP traffic accounting
De : Eddy Beliveau [EMAIL PROTECTED]
Pour : Mirosław Jaworski [EMAIL PROTECTED]
Copie à : info-cyrus@lists.andrew.cmu.edu
Date : 2008-11-13 11:51

 Hi!
 
 By browsing archives, I find this current thread.
 
 We are using cyrus-imapd 2.2.13 and it works well  :-)
 
 I would also like to add statistics to pop3d.c
 
 Can you please provide the patch that was used to get this:
 Nov 30 16:27:31 mail1 pop3[19762]: stats: t63877a 8 663454 0 0
 
 It would be valuable to our helpdesk staff.
 
 Many thanks,
 
 Have a nice day
 Eddy
 
  Message original 
 Sujet : Re: IMAP/POP traffic accounting
 De : Mirosław Jaworski [EMAIL PROTECTED]
 Pour : Anthony Tibbs [EMAIL PROTECTED]
 Copie à : info-cyrus@lists.andrew.cmu.edu
 Date : 2006-11-30 10:35
 
 On Wed, 2006-11-29 at 13:23 -0500, Anthony Tibbs wrote:
 I believe there was some mention of this in the past, but I'm wondering 
 whether there are any known efforts to implement network traffic accounting 
 in the later versions of Cyrus, or if this is still something that hasn't 
 been dealt with.  I am pondering possibly tackling this, but I'm not really 
 familiar with the Cyrus code and would rather not reinvent the wheel if 
 it's 
 already in the works.
 Well, 'effort' is definitely too big word for the hack we use.
 Our support was used to some old popper log format, so we have made
 hack resulting in such lines:

 User who (downloaded and) deleted 8 messages, 663454 bytes total.

 Nov 30 16:27:16 mail1 pop3[19762]: login: [83.15.90.206] t63877a
 plaintext User logged in
 [...]
 Nov 30 16:27:31 mail1 pop3[19762]: stats: t63877a 8 663454 0 0

 User who didn't (downloaded and) deleted any messages; has 35 messages
 in his INBOX, 10785042 bytes total:

 Nov 30 16:18:59 mail1 pop3[19360]: login: [83.31.77.74] po30533
 plaintext User logged in
 [...]
 Nov 30 16:19:00 mail1 pop3[19360]: stats: po30533 0 0 35 10785042


 While it makes sense to have such logs from pop3 daemon doing simple
 operations on only one folder it has none when it comes to IMAP.
 What log can i possibly create after user connects to imap, applies
 his rules to an INBOX ( moving most of the messages to various folders,
 ie. marking them for deletion, not deleting them )? What when he reads
 some messages without deleting them?

 M.

 

-- 
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada

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: IMAP/POP traffic accounting

2008-11-13 Thread Eddy Beliveau
Hi!

By browsing archives, I find this current thread.

We are using cyrus-imapd 2.2.13 and it works well  :-)

I would also like to add statistics to pop3d.c

Can you please provide the patch that was used to get this:
Nov 30 16:27:31 mail1 pop3[19762]: stats: t63877a 8 663454 0 0

It would be valuable to our helpdesk staff.

Many thanks,

Have a nice day
Eddy

 Message original 
Sujet : Re: IMAP/POP traffic accounting
De : Mirosław Jaworski [EMAIL PROTECTED]
Pour : Anthony Tibbs [EMAIL PROTECTED]
Copie à : info-cyrus@lists.andrew.cmu.edu
Date : 2006-11-30 10:35

 On Wed, 2006-11-29 at 13:23 -0500, Anthony Tibbs wrote:
 I believe there was some mention of this in the past, but I'm wondering 
 whether there are any known efforts to implement network traffic accounting 
 in the later versions of Cyrus, or if this is still something that hasn't 
 been dealt with.  I am pondering possibly tackling this, but I'm not really 
 familiar with the Cyrus code and would rather not reinvent the wheel if it's 
 already in the works.
 
 Well, 'effort' is definitely too big word for the hack we use.
 Our support was used to some old popper log format, so we have made
 hack resulting in such lines:
 
 User who (downloaded and) deleted 8 messages, 663454 bytes total.
 
 Nov 30 16:27:16 mail1 pop3[19762]: login: [83.15.90.206] t63877a
 plaintext User logged in
 [...]
 Nov 30 16:27:31 mail1 pop3[19762]: stats: t63877a 8 663454 0 0
 
 User who didn't (downloaded and) deleted any messages; has 35 messages
 in his INBOX, 10785042 bytes total:
 
 Nov 30 16:18:59 mail1 pop3[19360]: login: [83.31.77.74] po30533
 plaintext User logged in
 [...]
 Nov 30 16:19:00 mail1 pop3[19360]: stats: po30533 0 0 35 10785042
 
 
 While it makes sense to have such logs from pop3 daemon doing simple
 operations on only one folder it has none when it comes to IMAP.
 What log can i possibly create after user connects to imap, applies
 his rules to an INBOX ( moving most of the messages to various folders,
 ie. marking them for deletion, not deleting them )? What when he reads
 some messages without deleting them?
 
 M.
 

-- 
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada

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: Allow all numeric mailbox names

2008-10-07 Thread Eddy Beliveau
Hi!

You should remove any references to variable sawalpha within file 
lib/auth_unix.c and recompile cyrus.

Cheers,
Eddy

 Message original 
Sujet : Allow all numeric mailbox names
De : ram [EMAIL PROTECTED]
Pour : info-cyrus@lists.andrew.cmu.edu
Date : 2008-10-07 02:21

 How do I allow all numeric mailbox names in cyrus 
 
 On my old cyrus imapd server( 2.2.38)  when I create a numeric mailbox
 and try logging in on pop I get an error immediately after giving
 username 
 
 
 [EMAIL PROTECTED] root]# telnet localhost 110
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 +OK POP3 server ready
 user 821012
 -ERR [AUTH] Invalid user
 
 
 
 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
 

-- 
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada

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


Want cyrus to deliver directly into a mailbox's folder.

2008-03-20 Thread Eddy Beliveau
Hi!

I'm using  Cyrus v2.2.12 with success

I'm trying to move directly some emails into a 'spam' folder

It doesn't work as expected.

My postfix server send correctly to my Cyrus lmtp service

Mar 20 11:09:05 mypostfix postfix/lmtp[22947]: 348ED583EB: to=[EMAIL 
PROTECTED], orig_to=[EMAIL PROTECTED], relay=mycyrus[myip]:24, delay=0.14, 
delays=0.11/0.01/0/0.02, dsn=2.1.5, status=sent (250 2.1.5 Ok)

and it is delivered in my INBOX mailbox, not in my spam folder!!

User 'cyrus' has 'lrswipcda' access to this folder.

Do I need to configure something on my cyrus side ?

Thanks,
Eddy


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: Want cyrus to deliver directly into a mailbox's folder.

2008-03-20 Thread Eddy Beliveau
Hi!

Your solution is working

Many thanks to:
Michael Bacon [EMAIL PROTECTED]
Joseph Brennan [EMAIL PROTECTED]

Cheers,
Eddy
- Message d'origine - 
De : Michael Bacon [EMAIL PROTECTED]
À : Eddy Beliveau [EMAIL PROTECTED]; 
info-cyrus@lists.andrew.cmu.edu
Envoyé : 20 mars 2008 12:20
Objet : Re: Want cyrus to deliver directly into a mailbox's folder.


 Mail is likely not getting delivered as user cyrus, but as user anonymous. 
 To make it work, the trick is usually to give user anyone the p ACL 
 (and obviously nothing else).

 See if that works...

 -Michael

 --On Thursday, March 20, 2008 11:45 AM -0400 Eddy Beliveau 
 [EMAIL PROTECTED] wrote:


 Hi!

 I'm using Cyrus v2.2.12 with success

 I'm trying to move directly some emails into a 'spam' folder

 It doesn't work as expected.

 My postfix server send correctly to my Cyrus lmtp service

 Mar 20 11:09:05 mypostfix postfix/lmtp[22947]: 348ED583EB:
 to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED],
 relay=mycyrus[myip]:24, delay=0.14, delays=0.11/0.01/0/0.02, dsn=2.1.5,
 status=sent (250 2.1.5 Ok)

 and it is delivered in my INBOX mailbox, not in my spam folder!!

 User 'cyrus' has 'lrswipcda' access to this folder.

 Do I need to configure something on my cyrus side ?

 Thanks,
 Eddy




 


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


sieveshell 2.2.12 (attempting server step after doneflag/unable to connect)

2007-07-31 Thread Eddy Beliveau
Hi!

I'm using cyrus 2.2.12 on my academic server and evrything is working great.  
:-)

My only little problem is the following:

I can use correctly the sieveshell command with ALL users 
except ONE user for which I got:

# sieveshell --user=someuser  --auth=cyrus localhost
connecting to localhost
Please enter your password:
unable to connect to server at /usr/bin/sieveshell line 169, STDIN line 1.

and /var/log/messages said:

Jul 31 15:34:59 mailstorea sieve[22534]: attempting server step after doneflag
Jul 31 15:34:59 mailstorea sieve[22534]: badlogin: 
localhost.localdomain[127.0.0.1] LOGIN generic failure

I noticed that there is no directory: /mail/lib/imap/sieve/q/someuser

Is there something I can do to correct this problem ?

Thanks,
Eddy

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: different certs for pop3 and imap

2006-09-25 Thread Eddy Beliveau

Hi!

# File containing the certificate used for XXX. If not specified, the global
# certificate is used.  A value of disabled will disable SSL/TLS for XXX.

You can use :

imap_tls_cert_file: /etc/ssl/certs/cyrus-imap.pem
imap_tls_key_file: /etc/ssl/private/cyrus-imap.key
pop3_tls_cert_file: /etc/ssl/certs/cyrus-pop3.pem
pop3_tls_key_file: /etc/ssl/private/cyrus-pop3.key
lmtp_tls_cert_file: /etc/ssl/certs/cyrus-lmtp.pem
lmtp_tls_key_file: /etc/ssl/private/cyrus-lmtp.key
sieve_tls_cert_file: /etc/ssl/certs/cyrus-sieve.pem
sieve_tls_key_file: /etc/ssl/private/cyrus-sieve.key

Hope it help
Eddy

- Message d'origine - 
De : Marten Lehmann [EMAIL PROTECTED]

À : info-cyrus@lists.andrew.cmu.edu
Envoyé : 25 septembre 2006 11:12
Objet : different certs for pop3 and imap



Hello,

as we are transparently migrating to cyrus we need pop3 and imap services 
listen to different ip-address and the ssl-portions of pop3 and imap need 
to come along with different keys and certs.


How can I configure this? I can see only one tls_cert_file and 
tls_key_file in imapd.conf.


Regards
Marten

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


mailbox's user creation date - imapd-cyrus 2.2.8

2006-01-27 Thread Eddy Beliveau

Hi!

I'm using imapd-cyrus 2.2.8 and would like to know the creation date of any user's mailbox on my 
system


I take a look at cyrus's annotation but that doesn't help me
except for /lastupdate parameter or the modifiedsince.shared field

I do not have access directly to imap server, so unix command ls -l /mail/spool/... is not a 
solution.


Any remote programatic solution as cyradm, Mail::IMAPClient...etc... will be 
great

Can someone help ?
Thanks,
Eddy
--

[EMAIL PROTECTED]
Telephone: 514-340-6073

Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7

Any horizontal surface soon tends to be piled up 



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 vs Blackberry

2005-09-02 Thread Eddy Beliveau

Hi!

We are currently using Cyrus IMAP4 v2.2.8 with success
I had been asked to see if it can be configure to support Blackberry for our 
staff

Any success story ?
Do I need some Add-On ?
Any HowTo ?
Any hints ?

Thanks in advance
Eddy

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 Quota / Broken

2005-07-29 Thread Eddy Beliveau

Hi! Christiaan,

By browsing in archive.info-cyrus (34717), I noticed that you got exactly the same problem has we 
got last month with cyrus-imapd-2.2.8-6.3

- 'quota -f' is reporting the double of the real quota
- 'quota -f' has to be run twice to correct the situation

It goes ok for 6 weeks, then it happened again for 22000 students over 4 
mailboxes

I will run 'quota -f' twice to correct it
but I don't like the fact that it won't resolve permanently the problem

I notice that you upgrade to 2.2.12, did you run 'quota -f' after the upgrade ?

Does your problem reappears ?

Does other mail admins reported this problem ?
Did you report this problem to the development team ?

Any suggestions/hints ?

2.2.12 is dated february 2005, any newer version ?

Note that I wrote to info-cyrus some days ago without any replies
The quota information from getquotaroot command vanished !!

Thanks,
Eddy
--

[EMAIL PROTECTED]
Telephone: 514-340-6073

Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7

Any horizontal surface soon tends to be piled up 


---
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 Quota / Broken

2005-07-29 Thread Eddy Beliveau

Hi!

I can confirm that 'quota -f' does not resolved this problem
it does correct the double value of quota but not the fact that getquotaroot does not display a 
quota value


I had to write a script which does a 'quota -f user/xx' for all individual users
and that script resolve the problem

but for how long !!

Any suggestions ?
Eddy
- Original Message - 
From: Eddy Beliveau [EMAIL PROTECTED]

To: [EMAIL PROTECTED]; info-cyrus@lists.andrew.cmu.edu
Cc: [EMAIL PROTECTED]
Sent: Friday, July 29, 2005 10:43 AM
Subject: Cyrus Quota / Broken



Hi! Christiaan,

By browsing in archive.info-cyrus (34717), I noticed that you got exactly the same problem has we 
got last month with cyrus-imapd-2.2.8-6.3

- 'quota -f' is reporting the double of the real quota
- 'quota -f' has to be run twice to correct the situation

It goes ok for 6 weeks, then it happened again for 22000 students over 4 
mailboxes

I will run 'quota -f' twice to correct it
but I don't like the fact that it won't resolve permanently the problem

I notice that you upgrade to 2.2.12, did you run 'quota -f' after the upgrade ?

Does your problem reappears ?

Does other mail admins reported this problem ?
Did you report this problem to the development team ?

Any suggestions/hints ?

2.2.12 is dated february 2005, any newer version ?

Note that I wrote to info-cyrus some days ago without any replies
The quota information from getquotaroot command vanished !!

Thanks,
Eddy
--

[EMAIL PROTECTED]
Telephone: 514-340-6073

Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7

Any horizontal surface soon tends to be piled up 


---
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


The quota information from getquotaroot command vanished !!

2005-07-26 Thread Eddy Beliveau

Hi! Netfriends,

I'm using cyrus-imapd-2.2.8-6.3 and I love it. Thanks  ;-)

My current problem is that quotaroot value is not displayed anymore for over half of my users (23000 
over 41000 mailboxes)


Last time I checked (last week), everything was ok.  By example::
# telnet myserver  imap
xx login privilegeduser password
xx getquota user/student123
* QUOTA user/student123 (STORAGE 2857 204800)
xx OK Completed
xx getquotaroot user/student123
* QUOTAROOT user/student123 user/student123
* QUOTA user/student123 (STORAGE 2857 204800)
xx OK Completed

Here is my current behaviour # telnet myserver  imap
xx login privilegeduser password
xx getquota user/student123
* QUOTA user/student123 (STORAGE 3934 204800)
xx OK Completed
xx getquotaroot user/student123
* QUOTAROOT user/student123 user/student123
xx OK Completed

As you noticed, the quotaroot command does not display anymore the quota 
information!!

Where is that information stored ?

# ls -l  /mail/lib/imap/quota/q/user.student123
-rw---  1 cyrus mail 15 Jul 23 04:49 /mail/lib/imap/quota/q/user.student123
# cat  /mail/lib/imap/quota/q/user.student123
4029093
204800

#  du -h /mail/spool/imap/user/student123
12K /mail/spool/imap/user/student123/Drafts
3.9M/mail/spool/imap/user/student123/Sent
12K /mail/spool/imap/user/student123/Trash
4.0M/mail/spool/imap/user/student123

Any hints,
Thanks in advance
Eddy 


---
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: Auto-deleting messages (header date vs internal date)

2005-04-28 Thread Eddy Beliveau
Hi!
I'm using cyrus-imapd-2.2.8-6.3 with success.
but I noticed that the cyr_expire is based on the Date header instead of the Internal email's 
creation date

This cause me problem when I restored (from backup)+reconstruct  some student emails which then just 
get deleted again on next cyr_expire daily run,

How can I specify to cyr_expire to use the internal date instead of the header 
date ?
Am I the only one with that problem ?
Thanks,
Eddy
- Original Message - 
Subject: Re: Auto-deleting messages


Actually, if you just want to delete based on age, cyr_expire using the
/vendor/cmu/cyrus-imapd/expire annotation gives you better control. 
---
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: How to get lastlogin date of cyrus-imapd-2.2.8 user

2005-04-07 Thread Eddy Beliveau
Thanks to all who respond.
I will go with the proposed solution to run a script and update cyrus user's 
annotation
Thanks again
Eddy
- Original Message - 
From: Christoph Moench-Tegeder [EMAIL PROTECTED]
To: info-cyrus@lists.andrew.cmu.edu
Sent: Thursday, April 07, 2005 6:53 AM
Subject: Re: How to get lastlogin date of cyrus-imapd-2.2.8 user


## Per Steinar Iversen ([EMAIL PROTECTED]):
The .seen files though seems to updated whenever a mailbox is opened.
Only if they are opened via IMAP. If the mailbox is accessed via POP,
the .seen file is not touched. We ran into the same issue some time
ago, just before I added my own last login database to my maintenance
scripts.
Regards,
Christoph
---
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: SETANNOTATION failed - NO Permission denied

2005-04-07 Thread Eddy Beliveau
Hi! Kenneth and Joon,
Thanks for your fast reply.
After a google search and reading Ken's response in article 
http://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2458
I just assume that cyrus-imapd will be updated in the future to permit /vendor/*

In the meantime, I will use the /comment annotation
Thanks again
You're doing a great job
Eddy
- Original Message - 
Eddy Beliveau wrote:
3 SETANNOTATION  user/student1 /hec/lastlogin_pop3_date 
(value.shared Apr  4 13:56)
3 NO Permission denied

Did I missed something ?
You're trying to set an annotation which Cyrus doesn't understand. 
Currently the annotation space is not wide-open, it will only handle 
what its hard-coded to understand (see imap/annotate.c)
---
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


SETANNOTATION failed - NO Permission denied

2005-04-06 Thread Eddy Beliveau
Hi!
I'm using cyrus-imapd-2.2.8-6.3
and I want to add annotations to our users
1  login superadmin superpassword
2 setacl user/student1 superadmin lrswipcda
3 SETANNOTATION  user/student1 /hec/lastlogin_pop3_date (value.shared Apr  4 
13:56)
3 NO Permission denied
Did I missed something ?
Thanks,
Eddy
--
[EMAIL PROTECTED]
Telephone: 514-340-6073
Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7
Any horizontal surface soon tends to be piled up
---
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


How to get lastlogin date of cyrus-imapd-2.2.8 user

2005-04-05 Thread Eddy Beliveau
Hi!
I'm running with succes cyrus-imapd-2.2.8-6.3
Is it possible to get the last login date (pop or imap) of an user
Is there a way to activate some annotation, like 
/vendor/cmu/cyrus-imapd/lastlogin
I need to know if the account is being used and when
so I can delete old unused mailboxes.
Thanks,
Eddy
--
[EMAIL PROTECTED]
Telephone: 514-340-6073
Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7
Any horizontal surface soon tends to be piled up
---
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 someone reproduce this possible bug?

2005-03-24 Thread Eddy Beliveau
Hi!
When using an accentuated character on a subject line header,
your client will modify the Subject line as in:
Subject: =?iso-8859-1?Q?=5BMy=5Ffilter=5D_Ol=E0!?=
Maybe the filter mechanism see a difference between =5BMy=5Ffilter=5D and [My 
filter]
Can you try to change your rule as:
if header :contains Subject =5BMy=5Ffilter=5D {
 fileinto INBOX.myfilter;
}
Cheers,
Eddy
- Original Message - 
From: Andreas Hasenack [EMAIL PROTECTED]
To: info-cyrus@lists.andrew.cmu.edu
Sent: Wednesday, March 23, 2005 12:28 PM
Subject: Can someone reproduce this possible bug?


https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2455
Summary:
if header :contains Subject [My_filter] {
   fileinto INBOX.myfilter;
}
An email with subject [My_filter] Hello! will match, but not [My_filter] 
Olá!.
---
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


verbose mode of cyr_expire event

2005-01-26 Thread Eddy Beliveau
Hi!
I'm using cyrus 2.2.8-6.3
My /etc/cyrus.conf file contain the following event:
  delprune  cmd=cyr_expire -E 3 -v at=0400
Please notice the '-v'
When cyr_expire execute daily, it only write ONE line to syslog /var/log/messages
Jan 26 07:43:00 server cyr_expire[12001]: expunged 30456 out of 786965 messages from 129917 
mailboxes

Where does it write its display ?
Is it possible to send this display to syslog ? how ?
Thanks for your help,
Eddy
---
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: Cannot rebuild or delete mailbox - physical file deleted

2004-12-14 Thread Eddy Beliveau
Hi!
Take a look at the Deleting users or corrupt mailboxes chapter on
http://acd.ucar.edu/~fredrick/linux/cyrus/   

Cheers,
Eddy
- Original Message - 
From: Hamish [EMAIL PROTECTED]
To: cyrus-info [EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 1:11 PM
Subject: Cannot rebuild or delete mailbox - physical file deleted

---
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


monitor current number of imap users for cyrus-imapd 2.1.16

2004-12-08 Thread Eddy Beliveau
Hi!
I'm currently using cyrus-imapd 2.1.16 on RedHat 9.0 and it work correctly.  
Thanks ;-)
I'm using Squirrelmail 1.4.2-1, imapproxyd 1.2.2 and apache2.0.40-21
My Squirrelmail timeout is 60 minutes.
Please note that NONE of my users are directly using IMAP, they are using 
Squirrelmail
'ps -ef | grep httpd | wc -l' said : 44
'ps  -ef  |  grep imap  |  wc  -l' said: 389
'netstat -an | grep :143  | grep ESTABLISHED | wc -l' said: 362
I do not want to know the number of persistent imap connection
I want to know the current number of active user
Can it be done ?
My next step will be to do a daily graph of the results
Thanks,
Eddy
--
[EMAIL PROTECTED]
Telephone: 514-340-6073
Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7
Any horizontal surface soon tends to be piled up
---
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: cyradm - MOVE mailbox to new partition

2004-11-23 Thread Eddy Beliveau
Hi! Ken,
Many thanks,
Eddy
- Original Message - 
From: Ken Murchison [EMAIL PROTECTED]
To: Eddy Beliveau [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 9:49 PM
Subject: Re: cyradm - MOVE mailbox to new partition


 renamemailbox   user/bob  user/bob  partition2
My questions are:
1. Is this the right way to move an already existing user  ?
Yes, assuming you're using the unihierarchysep option.  Otherwise, its:
renm user.bob user.bob partition2
   I don't want to rename it, I just want to move it to a new partition.
2.  Does this command automagically move all hierarchical folders below 
it ?
Yes.
---
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


cyradm - MOVE mailbox to new partition

2004-11-22 Thread Eddy Beliveau
Hi!  Netfriends,
I'm currently using cyrus-2.1.16 and it work correctly.  Thanks   ;-)
I need to move an already existing user to a new partition
Using cyradm, my command should be:
 renamemailbox   user/bob  user/bob  partition2
My questions are:
1. Is this the right way to move an already existing user  ?
   I don't want to rename it, I just want to move it to a new partition. 

2.  Does this command automagically move all hierarchical folders below it ?
Thanks,
Eddy
--
[EMAIL PROTECTED]
Telephone: 514-340-6073
Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7
Any horizontal surface soon tends to be piled up
---
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: Long startup time (1h 30m)

2004-10-07 Thread Eddy Beliveau
Hi! Dennis,
Strange!,
My delprune event for cyrus 2.1.16 is:
 delprune  cmd=ctl_deliver -E 3 at=0400
also, 'man cyr_expire' doesn't exist on my system
Eddy
- Original Message - 
From: Dennis Sjogren [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 2:52 PM
Subject: Re: Long startup time (1h 30m)


Bill Earle wrote:
On Thu, 7 Oct 2004, Jules Agee wrote:
 I've had this happen a few times, reconstructing the deliver db on
 startup. 

Look at the man page for cyr_expire and cyrus.conf.
  delprune  cmd=cyr_expire -E 3 at=0400
This is our EVENTS section:
EVENTS {
  checkpointcmd=ctl_cyrusdb -c period=10
  delprune  cmd=cyr_expire -E 3 at=0400
  tlsprune  cmd=tls_prune at=0400
}
As you can see, delprune cyr_expire should be running. This is the 
relevant log entries from last night:

Oct  7 04:20:46 x cyr_expire[2553]: [ID 730478 local6.notice] 
duplicate_prune: pruning back 3 days
Oct  7 04:20:57 x cyr_expire[2553]: [ID 371192 local6.notice] 
duplicate_prune: purged 9383 out of 93791 entries
Oct  7 04:20:57 x cyr_expire[2553]: [ID 429804 local6.notice] 
expunged 0 out of 0 messages from 0 mailboxes

/dempa
--
 Dennis Dempa Sjogren, Unix Sysadmin / Software Developer
 Dalarna University, Borlange Campus, Sweden - http://www.du.se/
 Free electronic music available at: http://dempa.init5.net/
 Everytime I close my eyes, the noise inside me amplifies - A23
---
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: Mailbox has an invalid format on 2.1.16

2004-07-26 Thread Eddy Beliveau
 On Fri, 23 Jul 2004, Eddy Beliveau wrote:
Subject: Re: Mailbox has an invalid format on 2.1.16
 ... snip ... 
  The cyradm's reconstruct command is not working correctly (which seems to be the 
  case)
  Still trying to find a remote solution
  Any hints ?

To which Rob Siemborski [EMAIL PROTECTED] reply:
 Looking at cmd_reconstruct in imapd.c may be illuminating, as would
 tracing what is different about what it executes vs what you execute.  It
 looks like there might be an internal/external mailbox name issue.
 

Hi! Rob,

Many thanks for your reply

I'm not very familiar wich C, so I will try to install cyrus 2.2.6 and see if it work 
correctly

Thanks again,
Eddy
---
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: Mailbox has an invalid format on 2.1.16

2004-07-23 Thread Eddy Beliveau
On Thu, 22 Jul 2004, Eddy Beliveau wrote:
  ... said: 451 4.2.0 Mailbox has an invalid format (in reply to RCPT TO command))
  followed by one of my mailbox id

To which, Rob Siemborski and Kenneth Murchison  said:
 Use the reconstruct utility.

Many thanks for your reply,

I'm using the cyradm/reconstruct command without success
# cyradm --user cyrus  mystoreServer
 listmailbox  user/mybaduid  # which give me a correct result
 listmailbox user/mybaduid/*# which give me a correct result
 reconstruct user/mybaduser# which does display nothing
 exit

then I send a new test mail to that user; mailq still tell me 'Mailbox has an invalid 
format '

How can I correct that corruption without being logged into the mystoreServer ?

I want our helpdesk staff to be able to execute some cgi-script which ask for the 
baduserid and then
did the remote reconstruct.

This cgi-script would have to be execute from my webserver which is a different server 
than my
mystoreServer
I'm very familiar with Perl, that script is already created, I just need to add the 
exact syntax for
reconstruction

I do not want to install apache... on mystoreServer.  I do not want our helpdesk staff 
to login to
mystoreServer.
That server contains only cyrus and I would prefer to keep it that way.

Can I do a reconstruct from a remote server ?

Is it feasible ?
Any workaround ?

Thanks again,
Eddy


---
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: Mailbox has an invalid format on 2.1.16

2004-07-23 Thread Eddy Beliveau
On Fri, 23 Jul 2004, Eddy Beliveau wrote:
  then I send a new test mail to that user; mailq still tell me 'Mailbox
  has an invalid format '

To which Rob Siemborski reply:
 Any details in the cyrus logs?  Maybe the quota file for the mailbox is corrupt?

Jul 23 11:03:28 mystore imapd[22804]: Reconstructing 'user.baduserid' (not recursive) 
for user
'cyrus'
Jul 23 11:03:28 mystore imapd[22805]: Regenerating quota roots starting with 
'user.baduserid' for
user 'cyrus'

then I send a new test mail to that user; mailq still tell me 'Mailbox has an invalid 
format '

  Can I do a reconstruct from a remote server ?
 Yes, but sometimes the mailbox has some other corruption.

The local command  '/usr/lib/cyrus-imapd/reconstruct  user/mybaduser' is working 
correctly and
subsequent mail tests are sending correctly without any error message

The cyradm's reconstruct command is not working correctly (which seems to be the case)

Still trying to find a remote solution

Any hints ?

Eddy



---
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


Mailbox has an invalid format on 2.1.16

2004-07-22 Thread Eddy Beliveau
Hi!

I'm using cyrus 2.1.16 on RedHat 9 and it work perfectly  :-)

Currently, when using the mailq command, one of the line indicate:

... said: 451 4.2.0 Mailbox has an invalid format (in reply to RCPT TO command))
followed by one of my mailbox id

So, I just assume that I have a corrupt mailbox index ?

How can I correct it ?

Thanks for your help

Eddy
---
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: Reconstruct ALL mailboxes?

2004-07-14 Thread Eddy Beliveau
- Original Message - 
From: Anders Norrbring [EMAIL PROTECTED]
To: Cyrus Info list [EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 8:06 AM
Subject: Reconstruct ALL mailboxes?


 Is there a way to recursively reconstruct all and every one mailbox on the
 system?  I tried to issue the command
 'reconstruct -r user' but that didn't work...

Hi! Anders,

I'm using the following script under user cyrus:

#!/usr/bin/perl
chdir /mail/spool/imap/user/;
open (LS,ls |);

while (LS) {
  chop; $n++; print $n ;
  system /usr/lib/cyrus-imapd/reconstruct  -f  -p  default  -r  user/$_;
}

Hope it help
Eddy

---
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: System-wide sieve filter

2004-06-18 Thread Eddy Beliveau
 Tore Anderson wrote:
Hi.  I need to make SpamAssassin-tagged messages to be by default
   filtered into a spam-folder.  I figured I could do this either by
   a global sieve script, or some default script that was copied in place
   whenever a new user mailbox was created.
 
 in /etc/amavisd.conf
 
 $addr_extension_spam   = 'spam';
 
 then when I create an user, I create a spam folder and give it an 
 anonymous p acl.

Hi!  Luca,

I like your solution  ;-)

Do you know if it work with the following environment:
cyrus 2.1.16, amavisd-new 20030616-p9 and spamassassin 2.60-1

Thanks,
Eddy


---
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


INBOX vanished

2004-02-25 Thread Eddy Beliveau
Hi!

We are using cyrus-imapd-2.1.15-2 and everything is working perfectly  :-)

This morning, one of our teacher told me that yesterday when he left, his INBOX has 
many messages
and this morning when he came in, the INBOX was empty

I know that sometime the cause of the problem is sit on the chair in front of the 
keyboard, maybe he
did something wrong!

I don't know if the problem is on the client or server side.

By checking the /var/log/cyrus log file, I noticed the following:
Feb 25 08:10:57 mailserver imapd[16112]: skiplist: checkpointed 
/mail/lib/imap/user/q/user001.seen
(6 records, 616 bytes) in 0 seconds

Do you know what this entry means ?

Can I increase the log level, so it will logs some entry (timestamp, message id, ...) 
when imapd
received the delete_message or expunge commands

Any hints ?

Thanks,
Eddy
--

[EMAIL PROTECTED]
Telephone: 514-340-6073

Analyste - Applications Reseau
HEC Montreal
3000 Chemin de la Cote Sainte-Catherine
Montreal  (Quebec)
Canada H3T 2A7

Any horizontal surface soon tends to be piled up

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


Re: INBOX vanished

2004-02-25 Thread Eddy Beliveau
Hi! Enrique,

Thanks for your fast reply

No!, a grep of the userid on /var/log/cyrus logfile tel me that he is only using imap 
connection
through our webmail server

Do you know what the skiplist: checkpointed  entry means ? Maybe this entry does not 
have nothing
in common with my problem.

Can I increase the log level, so it will logs some entry (timestamp, message id, ...) 
when imapd
received the delete_message or expunge commands

Any hints ? Any pointers ?

Thanks,
Eddy

- Original Message - 
From: Henrique de Moraes Holschuh [EMAIL PROTECTED]
To: Eddy Beliveau [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 12:19 PM
Subject: Re: INBOX vanished


 On Wed, 25 Feb 2004, Eddy Beliveau wrote:
  Any hints ?

 Look for pop3 logins...

 -- 
   One disk to rule them all, One disk to find them. One disk to bring
   them all and in the darkness grind them. In the Land of Redmond
   where the shadows lie. -- The Silicon Valley Tarot
   Henrique Holschuh

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


Need help with cyrus.logwatch.tgz

2004-02-11 Thread Eddy Beliveau



Hi! networkers,

I'm using imapd-cyrus 2.1.15-2 on RedHat 
9

I did the following commands:

# cd /tmp
# wget http://acs-wiki.andrew.cmu.edu/twiki/pub/Cyrus/Logwatch/cyrus.logwatch.tgz
# gunzip cyrus.logwatch.tgz
# cd /
# tar -xvf 
/tmp/cyrus.logwatch.tar
# logwatch --service 
cyrus --range all --detail high --print

butthe output is 
empty

Did I missed something ?

Thanks,
Eddy
--

[EMAIL PROTECTED]Telephone: 
514-340-6073

Analyste - Applications ReseauHEC 
Montreal3000 Chemin de la Cote Sainte-CatherineMontreal 
(Quebec)Canada H3T 2A7

Any horizontal surface soon tends to be piled 
up


listquota user/*

2004-01-22 Thread Eddy Beliveau



Hi! 

I'm using Cyrus release 
cyrus-imapd-2.1.15-2

I would like to have an ascii file containing quota 
details (maximum and used) for every users on our remote mailstore.

I tried "cyradm --user=cyrus" 
but it displayed nothing when using "listquotaroot 
user/*" or "listquotaroot *" or 
"listquotaroot user/%"

Same result with 
"/usr/lib/cyrus-imapd/quota user/*"

Any workaround ?

Thanks,
Eddy

--

[EMAIL PROTECTED]Telephone: 
514-340-6073

Analyste - Applications ReseauHEC Montreal 
(Montreal University)3000 Chemin de la Cote 
Sainte-CatherineMontreal (Quebec)Canada H3T 2A7

Any horizontal surface soon tends to be piled 
up


Re: listquota user/*

2004-01-22 Thread Eddy Beliveau
Hi! Ken,

Thanks for your fast reply,
but I do not find the program /usr/cyrus/bin/quota on my system !!

I think mine should be the same as yours, mine came from Simon Matter's RPM
distribution.

Does your version permit usager of user/* or something similar ?

Eddy

- Original Message - 
From: Ken Murchison [EMAIL PROTECTED]
To: Eddy Beliveau [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:53 PM
Subject: Re: listquota user/*


 Eddy Beliveau wrote:

  Hi!
 
  I'm using Cyrus release *cyrus-imapd-2.1.15-2*
 
  I would like to have an ascii file containing quota details (maximum and
  used) for every users on our remote mailstore.
 
  I tried *cyradm --user=cyrus * but it displayed nothing when using
  *listquotaroot user*/* or *listquotaroot* *** or *listquotaroot*
  *user/%*
 
  Same result with  */usr/lib/cyrus-imapd/quota  user/**
 
  Any workaround ?

 /usr/cyrus/bin/quota

 -- 
 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: listquota user/*

2004-01-22 Thread Eddy Beliveau
From: Ken Murchison [EMAIL PROTECTED]
 Check the directory which contains imapd, pop3d, etc.  There be a quota of
cyrquota program.

 Hi! Ken,

Thanks again for your fast reply,

Here is what I'm doing:

$ locate quota | grep cyrus
/usr/lib/cyrus-imapd/quota
/usr/share/doc/cyrus-imapd-2.1.15/man/quota.8.html
/usr/share/cyrus-imapd/contrib/cyrus_ldap_quota

You are right !   :-)

The directory (/usr/lib/cyrus-imapd) which contains imapd, pop3d, etc.  also
contains the quota utility

and when executing  ./quota  without any parameters, it gives me the quotas
of all my local users...

Thanks,

Here is a second question if you permit:

Is there a way to find the quota of all users on a remote mailstore ?
like   ./quota  -s mailstore.acme.com -u cyradm -p password

I did also tried the following command without any results:
$ cyradm  --user=cyrus  mailstore.acme.com
 listquotaroot
 listquotaroot *
 listquotaroot  user/*

Thanks and have a nice day
Eddy