Moving 1.6.22 cyrus.index to 2.2.latest

2004-06-10 Thread Ian G Batten
As part of my move from 1.6.22 on Solaris 7 to 2.2.4 on Solaris 10, I
need to bulk move about six hundred mailboxes totalling about 120GBytes.
For the pilot users I've used imapsync, which works correctly (including
moving flags) but is quite slow and resource intensive.

For service use, I'd ideally just rsync the data over and reconstruct
the mailboxes on the receiving side.  On current showing, this would be
a _lot_ faster.  However, it appears to lose flag settings other than
seen, which some users will grumble about.  I think this is because
cyrus.seen is flat, while cyrus.index is a database --- I presume
BerkeleyDB, but I'm not entirely sure.

I compiled 1.6.22 using BerkeleyDB 3.1.  I'm using Berkeley 4.1 and
Skiplist in 2.2.4.  If I compiled a copy of cvt_cyrusdb using the same
set of BerkeleyDB headers and libraries, would it then be capable of
converting cyrus.index?  Or would the differences between 1.6.22 and
2.2.4 be too great?  It worries me that a copy of cvt_cyrusdb which
understands Berkeley 4.1 won't look at the files, because I was under
the impression that there was back-compatibility there.

ian

---
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: Moving 1.6.22 cyrus.index to 2.2.latest

2004-06-10 Thread Ian G Batten
On Thu, 10 Jun 2004, Ian G Batten wrote:

 As part of my move from 1.6.22 on Solaris 7 to 2.2.4 on Solaris 10, I
 need to bulk move about six hundred mailboxes totalling about 120GBytes.
 For the pilot users I've used imapsync, which works correctly (including
 moving flags) but is quite slow and resource intensive.
 
 For service use, I'd ideally just rsync the data over and reconstruct
 the mailboxes on the receiving side.  On current showing, this would be
 a _lot_ faster.  However, it appears to lose flag settings other than
 seen, which some users will grumble about.  I think this is because
 cyrus.seen is flat, while cyrus.index is a database --- I presume
 BerkeleyDB, but I'm not entirely sure.
 
 I compiled 1.6.22 using BerkeleyDB 3.1.  I'm using Berkeley 4.1 and

Correction.  It was 2.7.7.  And...

 Skiplist in 2.2.4.  If I compiled a copy of cvt_cyrusdb using the same
 set of BerkeleyDB headers and libraries, would it then be capable of
 converting cyrus.index?  Or would the differences between 1.6.22 and

It won't compile, as the API has changed.  It looks like imapsync is my
kiddy, unless there's a really flashy suggestion...

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


libsasl2 problem.

2004-06-10 Thread Richmond Dyes
I am getting this error trying to configure cyrus 2.1.5 on my fedora 
core 2 server.  I know I have cyrus-sasl installed with the libraries, 
yet this error is occurring.  I have looked through the archives of this 
list and found no answers.  Anyone have a definitive fix for this problem?

---
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: Saslauthd ldap and virtual domains

2004-06-10 Thread Martin Wheldon
Thank you Igor for the extremely prompt response,

Is it OK just to replace the saslauthd folder in my source tree and
recompile?

Thanks in advance again

Martin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Brezac
Sent: 09 June 2004 16:18
To: Martin Wheldon
Cc: [EMAIL PROTECTED]
Subject: Re: Saslauthd ldap and virtual domains



On Wed, 9 Jun 2004, Martin Wheldon wrote:

 Hi,

   I'm currently running cyrus-sasl 2.1.17, cyrus-imap 2.2.3, openldap 
 2.2.4 which was working fine and still is for a single domain.


You need to get saslauthd from cvs and run saslauthd -r -a ldap

   Now I've added a second domain I have it a authentication problem.
My 
 mailboxes are named as follows:-

 Mwheldon
 [EMAIL PROTECTED]

 The problem shows its self if the passwords for both accounts are 
 different. i.e

 Attempting to login to mailbox mwheldon works fine. Attempting to 
 login to mailbox [EMAIL PROTECTED] fails.

 If passwords for both mailboxes are identical you login OK.

 What seems to be happening is that SASL is stripping the domain from 
 the uid.

 Here are my configs.


 Saslauthd.conf

 ldap_servers: ldap://localhost/
 ldap_version: 3
 ldap_search_base: dc=yhgfl-demo, dc=net
 ldap_verbose: on
 ldap_debug: 3
 ldap_default_domain: yhgfl-demo.net
 ldap_filter: uid=%u
 ldap_auth_method: bind


 Imapd.conf

 configdirectory: /usr/local/etc/cyrus
 partition-default: /var/spool/cyrus
 admins: cyrus [EMAIL PROTECTED] [EMAIL PROTECTED]
 srvtab: /usr/local/certs
 allowanonymouslogin: no
 allowplaintext: yes
 sasl_pwcheck_method: saslauthd
 sasl_ldap_servers: localhost
 unixhierarchysep: yes
 loginrealms: yhgfl-demo.net yhgfl.net
 defaultdomain: yhgfl-demo.net
 virtdomains: userid

 Hope someone can help.
 Thanks in advance


 Martin Wheldon



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


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


Sieve problem

2004-06-10 Thread Kent L. Nasveschuk
Hello,
I'm having a problem with sieve finding the correct mailbox

In a script when I use INBOX.backup the imapd.log says:

Jun 10 08:01:55 mail master[10743]: about to exec /usr/cyrus/bin/lmtpd
Jun 10 08:01:55 mail lmtpunix[10743]: executed
Jun 10 08:01:55 mail lmtpunix[10743]: accepted connection
Jun 10 08:01:55 mail lmtpunix[10743]: lmtp connection preauth'd as
postman
Jun 10 08:01:55 mail lmtpunix[10743]: sieve runtime error for kent id
[EMAIL PROTECTED]: Fileinto: Invalid mailbox
name

When I use kent.backup I imapd.log says:

Jun 10 08:08:57 mail master[10762]: about to exec /usr/cyrus/bin/lmtpd
Jun 10 08:08:57 mail lmtpunix[10762]: executed
Jun 10 08:08:57 mail lmtpunix[10762]: accepted connection
Jun 10 08:08:57 mail lmtpunix[10762]: lmtp connection preauth'd as
postman
Jun 10 08:08:57 mail lmtpunix[10762]: duplicate_check:
[EMAIL PROTECTED] user.kent.kent.backup 0

What do I use in the sieve script to deliver to the correct mailbox?

Sieve script:

require fileinto;
if header :contains [Sender,From] @whs1.tow.net {
fileinto INBOX.backup;}
else {
 fileinto INBOX;
}
 
-- 
Kent L. Nasveschuk [EMAIL PROTECTED]

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


Re: Sieve problem

2004-06-10 Thread Ken Murchison
Kent L. Nasveschuk wrote:
Hello,
I'm having a problem with sieve finding the correct mailbox
In a script when I use INBOX.backup the imapd.log says:
Jun 10 08:01:55 mail master[10743]: about to exec /usr/cyrus/bin/lmtpd
Jun 10 08:01:55 mail lmtpunix[10743]: executed
Jun 10 08:01:55 mail lmtpunix[10743]: accepted connection
Jun 10 08:01:55 mail lmtpunix[10743]: lmtp connection preauth'd as
postman
Jun 10 08:01:55 mail lmtpunix[10743]: sieve runtime error for kent id
[EMAIL PROTECTED]: Fileinto: Invalid mailbox
name
When I use kent.backup I imapd.log says:
Jun 10 08:08:57 mail master[10762]: about to exec /usr/cyrus/bin/lmtpd
Jun 10 08:08:57 mail lmtpunix[10762]: executed
Jun 10 08:08:57 mail lmtpunix[10762]: accepted connection
Jun 10 08:08:57 mail lmtpunix[10762]: lmtp connection preauth'd as
postman
Jun 10 08:08:57 mail lmtpunix[10762]: duplicate_check:
[EMAIL PROTECTED] user.kent.kent.backup 0
What do I use in the sieve script to deliver to the correct mailbox?
What are the unixhierarchysep and altnamespace options in imapd.conf set 
to (if anything)?


Sieve script:
require fileinto;
if header :contains [Sender,From] @whs1.tow.net {
  ^
It probably makes more sense to use:
if address :domain [Sender,From] whs1.tow.net

fileinto INBOX.backup;}
else {
 fileinto INBOX;
   ^
You could just use 'keep' rather than fileinto 'fileinto INBOX'

}
 

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


Eudora 5 edit side effects?

2004-06-10 Thread Brenden Conte
While browsing the faq, I found this question in the documentation:

---
Q: Eudora 5.x can't connect using STARTTLS (SSL Neogotiation Failed).
What should I do?

A: First, complain to QUALCOMM because their STARTTLS implementation
is broken. Eudora doesn't support TLSv1 (per RFC2246) and Cyrus requires
it. If you really need this before it is fixed in Eudora, remove or
comment out the following lines in tls.c:

if (tlsonly) {
off |= SSL_OP_NO_SSLv2;
off |= SSL_OP_NO_SSLv3;
}


What kind of side effects does making this change have?  Undesirables?

Thanks,
-- 
Brenden Conte
System Programmer, CCT
Rensselaer Polytechnic Institute
(518)276-2540

---
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: Saslauthd ldap and virtual domains

2004-06-10 Thread Igor Brezac

On Thu, 10 Jun 2004, Martin Wheldon wrote:

 Thank you Igor for the extremely prompt response,

   Is it OK just to replace the saslauthd folder in my source tree and
 recompile?

It is better if you download the cvs version of cyrus-sasl into a
different directory and compile.  If you do not want to upgrade sasl
library, you can just install saslauthd.


 Thanks in advance again

 Martin

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Igor Brezac
 Sent: 09 June 2004 16:18
 To: Martin Wheldon
 Cc: [EMAIL PROTECTED]
 Subject: Re: Saslauthd ldap and virtual domains



 On Wed, 9 Jun 2004, Martin Wheldon wrote:

  Hi,
 
  I'm currently running cyrus-sasl 2.1.17, cyrus-imap 2.2.3, openldap
  2.2.4 which was working fine and still is for a single domain.
 

 You need to get saslauthd from cvs and run saslauthd -r -a ldap

  Now I've added a second domain I have it a authentication problem.
 My
  mailboxes are named as follows:-
 
  Mwheldon
  [EMAIL PROTECTED]
 
  The problem shows its self if the passwords for both accounts are
  different. i.e
 
  Attempting to login to mailbox mwheldon works fine. Attempting to
  login to mailbox [EMAIL PROTECTED] fails.
 
  If passwords for both mailboxes are identical you login OK.
 
  What seems to be happening is that SASL is stripping the domain from
  the uid.
 
  Here are my configs.
 
 
  Saslauthd.conf
 
  ldap_servers: ldap://localhost/
  ldap_version: 3
  ldap_search_base: dc=yhgfl-demo, dc=net
  ldap_verbose: on
  ldap_debug: 3
  ldap_default_domain: yhgfl-demo.net
  ldap_filter: uid=%u
  ldap_auth_method: bind
 
 
  Imapd.conf
 
  configdirectory: /usr/local/etc/cyrus
  partition-default: /var/spool/cyrus
  admins: cyrus [EMAIL PROTECTED] [EMAIL PROTECTED]
  srvtab: /usr/local/certs
  allowanonymouslogin: no
  allowplaintext: yes
  sasl_pwcheck_method: saslauthd
  sasl_ldap_servers: localhost
  unixhierarchysep: yes
  loginrealms: yhgfl-demo.net yhgfl.net
  defaultdomain: yhgfl-demo.net
  virtdomains: userid
 
  Hope someone can help.
  Thanks in advance
 
 
  Martin Wheldon
 
 
 
  ---
  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
 



-- 
Igor
---
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: global seive script

2004-06-10 Thread Jason Jacobsen
Is there a way I can patch that extension from the cvs into the stable that
I am currently using?

Thanks,

Jason Jacobsen
Desktop Support Analyst
Great Plains Locating Service
Office: (402) 778-3025
Cell: (402) 960-3656
- Original Message - 
From: Ken Murchison [EMAIL PROTECTED]
To: Jason Jacobsen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:08 PM
Subject: Re: global seive script


 Jason Jacobsen wrote:

  I was wondering what the status is on the feature mentioned in this
thread.
 
 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg17588.html

 Nothing had changed since the cited thread.

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


---
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: global seive script

2004-06-10 Thread Ken Murchison
Jason Jacobsen wrote:
Is there a way I can patch that extension from the cvs into the stable that
I am currently using?
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1147
This MUST be applied to 2.2 code.  I haven't looked at this since last 
year, so I have no idea if it still applies cleanly.


- Original Message - 
From: Ken Murchison [EMAIL PROTECTED]
To: Jason Jacobsen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:08 PM
Subject: Re: global seive script


Jason Jacobsen wrote:

I was wondering what the status is on the feature mentioned in this
thread.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg17588.html
Nothing had changed since the cited thread.
--
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

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

--
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
---
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: global seive script

2004-06-10 Thread Kevin Baker
Do you have the global figured out this would be great!


 Is there a way I can patch that extension from the cvs
 into the stable that
 I am currently using?

 Thanks,

 Jason Jacobsen
 Desktop Support Analyst
 Great Plains Locating Service
 Office: (402) 778-3025
 Cell: (402) 960-3656
 - Original Message -
 From: Ken Murchison [EMAIL PROTECTED]
 To: Jason Jacobsen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, June 09, 2004 3:08 PM
 Subject: Re: global seive script


 Jason Jacobsen wrote:

  I was wondering what the status is on the feature
 mentioned in this
 thread.
 
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg17588.html

 Nothing had changed since the cited thread.

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


 ---
 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: global seive script

2004-06-10 Thread Kevin Baker
Do you have the global figured out this would be great!


 Is there a way I can patch that extension from the cvs
 into the stable that
 I am currently using?

 Thanks,

 Jason Jacobsen
 Desktop Support Analyst
 Great Plains Locating Service
 Office: (402) 778-3025
 Cell: (402) 960-3656
 - Original Message -
 From: Ken Murchison [EMAIL PROTECTED]
 To: Jason Jacobsen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, June 09, 2004 3:08 PM
 Subject: Re: global seive script


 Jason Jacobsen wrote:

  I was wondering what the status is on the feature
 mentioned in this
 thread.
 
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg17588.html

 Nothing had changed since the cited thread.

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


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


can't create folders under INBOX.*

2004-06-10 Thread Felix Cuello
Hello,

   I'm doing telnet to imapd [143] and write

   1 login myname mypassword
   2 create foldera
   3 create INBOX.folderb


   foldera could be created and /a/ directory appear into my mailbox
   directory. But i cannot create folders under INBOX.

   that's ok?, what's wrong?

   thanks a lot, 

   Felix

-- 
Felix Cuello
[EMAIL PROTECTED]
- 813 -

rugged, adj.:
Too heavy to lift.

---
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: global seive script

2004-06-10 Thread Ken Murchison
Kevin Baker wrote:
Do you have the global figured out this would be great!
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1147
This patch will look up global scripts, but you have to install them by 
hand.  Neither the MANAGESIEVE protocol nor timsieved have been modified 
to handle global scripts.




Is there a way I can patch that extension from the cvs
into the stable that
I am currently using?
Thanks,
Jason Jacobsen
Desktop Support Analyst
Great Plains Locating Service
Office: (402) 778-3025
Cell: (402) 960-3656
- Original Message -
From: Ken Murchison [EMAIL PROTECTED]
To: Jason Jacobsen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:08 PM
Subject: Re: global seive script

Jason Jacobsen wrote:

I was wondering what the status is on the feature
mentioned in this
thread.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg17588.html
Nothing had changed since the cited thread.
--
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
---
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

--
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
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: can't create folders under INBOX.*

2004-06-10 Thread Ken Murchison
Felix Cuello wrote:
Hello,
   I'm doing telnet to imapd [143] and write
   1 login myname mypassword
   2 create foldera
   3 create INBOX.folderb
   foldera could be created and /a/ directory appear into my mailbox
   directory. But i cannot create folders under INBOX.
   that's ok?, what's wrong?
If altnamespace is enabled, then you can NOT create subfolders of INBOX.
--
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
---
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


ACL problems

2004-06-10 Thread Kent L. Nasveschuk
I'm having some strange issues with ACLs I set in cyradm.
(version 2.2.4 Cyrus IMAPD)


I have the following ACLs set:

localhost lam public.announce
kent lrswipcda
anyone lrs
localhost lam public
kent lrswipcda
anyone lrs

User kent (me), should be able to post to the public.announce folder but
I can't. I can move mail to that folder. When I set the ACL for anyone
to lrsp the message is delivered to the correct folder.

localhost sam public.announce anyone lrsp
localhost lam public.announce
kent lrswipcda
anyone lrsp

When I set the ACL for anyone back to lrs this is my returned message:


The original message was received at Thu, 10 Jun 2004 14:46:41 -0400
from [172.16.0.22]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 550-You do not have permission to post a message to this mailbox.)

   - Transcript of session follows -
... while talking to localhost:
 DATA
 550-You do not have permission to post a message to this mailbox.
 550-Please contact the owner of this mailbox in order to submit
 550-your message, or postmaster if you believe you
 550-received this message in error.
 550 5.7.1 Permission denied
550 5.1.1 [EMAIL PROTECTED]... User unknown
 503 5.5.1 No recipients

Is this a bug?


-- 
Kent L. Nasveschuk [EMAIL PROTECTED]

---
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: global seive script

2004-06-10 Thread Kevin Baker
NP... that would be great. It would be pretty easy to
modify some existing utils to handle the script upload. Or
just do it by hand.

So... is the patch available or should I wait for the CVS
commit?

Thanks,


Kevin



 Kevin Baker wrote:

 Do you have the global figured out this would be
 great!

 https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1147

 This patch will look up global scripts, but you have to
 install them by
 hand.  Neither the MANAGESIEVE protocol nor timsieved have
 been modified
 to handle global scripts.





Is there a way I can patch that extension from the cvs
into the stable that
I am currently using?

Thanks,

Jason Jacobsen
Desktop Support Analyst
Great Plains Locating Service
Office: (402) 778-3025
Cell: (402) 960-3656
- Original Message -
From: Ken Murchison [EMAIL PROTECTED]
To: Jason Jacobsen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:08 PM
Subject: Re: global seive script



Jason Jacobsen wrote:


I was wondering what the status is on the feature

mentioned in this

thread.


http://www.mail-archive.com/[EMAIL PROTECTED]/msg17588.html

Nothing had changed since the cited thread.

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


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



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


---
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: ACL problems

2004-06-10 Thread Ken Murchison
Kent L. Nasveschuk wrote:
I'm having some strange issues with ACLs I set in cyradm.
(version 2.2.4 Cyrus IMAPD)
I have the following ACLs set:
localhost lam public.announce
kent lrswipcda
anyone lrs
localhost lam public
kent lrswipcda
anyone lrs
User kent (me), should be able to post to the public.announce folder but
I can't. I can move mail to that folder. When I set the ACL for anyone
to lrsp the message is delivered to the correct folder.
localhost sam public.announce anyone lrsp
localhost lam public.announce
kent lrswipcda
anyone lrsp
When I set the ACL for anyone back to lrs this is my returned message:
The original message was received at Thu, 10 Jun 2004 14:46:41 -0400
from [172.16.0.22]
   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 550-You do not have permission to post a message to this mailbox.)
   - Transcript of session follows -
... while talking to localhost:
DATA
 550-You do not have permission to post a message to this mailbox.
 550-Please contact the owner of this mailbox in order to submit
 550-your message, or postmaster if you believe you
 550-received this message in error.
 550 5.7.1 Permission denied
550 5.1.1 [EMAIL PROTECTED]... User unknown
 503 5.5.1 No recipients
Is this a bug?
Nope.  The only way that lmtpd knows that Kent has sent the message is 
for the LMTP client to use LMTP AUTH when connecting.  This usually 
happens if Kent uses SMTP AUTH to submit the message, and the MTA passes 
this info along to lmtpd via LMTP AUTH.

If [SL]MTP AUTH isn't used in both places, you're screwed and you'll 
have to stick with allowing anyone/anonymous posting to the mailbox.
--
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
---
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: global seive script

2004-06-10 Thread Ken Murchison
Kevin Baker wrote:
NP... that would be great. It would be pretty easy to
modify some existing utils to handle the script upload. Or
just do it by hand.
So... is the patch available or should I wait for the CVS
commit?

The patch is attched to bug #1147 that I referenced.


Kevin Baker wrote:

Do you have the global figured out this would be
great!
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1147
This patch will look up global scripts, but you have to
install them by
hand.  Neither the MANAGESIEVE protocol nor timsieved have
been modified
to handle global scripts.


Is there a way I can patch that extension from the cvs
into the stable that
I am currently using?
Thanks,
Jason Jacobsen
Desktop Support Analyst
Great Plains Locating Service
Office: (402) 778-3025
Cell: (402) 960-3656
- Original Message -
From: Ken Murchison [EMAIL PROTECTED]
To: Jason Jacobsen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:08 PM
Subject: Re: global seive script


Jason Jacobsen wrote:

I was wondering what the status is on the feature
mentioned in this
thread.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg17588.html

Nothing had changed since the cited thread.
--
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
---
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

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

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

--
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
---
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 and Mailman integration.

2004-06-10 Thread Denis V. Suhanov
Hello everyone,

Sorry  for  offtopic,  but  has  anyone managed to integrate Cyrus and
Mailman  together? I'd like to have both a web-interface for a Mailman
maillist  but  also  offer  a  anonymous  read-only IMAP access to the
mailman  lists? Anyway has dealt with that? What would be the best and
simplest approach?

Thanks a lot.

-- 
Best regards,
 Denis  mailto:[EMAIL PROTECTED]

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


mass permissions change

2004-06-10 Thread Felix Cuello
Hello,

   I need to changes mailbox permissions to all users at the same
   time, there is any way to do that?

   thanks in advance,

   Felix


-- 
Felix Cuello
[EMAIL PROTECTED]
- 818 -

---
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: mass permissions change

2004-06-10 Thread Albert Chin
On Thu, Jun 10, 2004 at 06:56:13PM -0300, Felix Cuello wrote:
I need to changes mailbox permissions to all users at the same
time, there is any way to do that?

Why not use the Perl module and whip up a small script?

-- 
albert chin ([EMAIL PROTECTED])
---
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


script processing messages

2004-06-10 Thread Florin Andrei
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
messages in it, then logout - and do all that from a shell script? (a
cron job)

What i have to accomplish is to periodically grab all messages from a
folder then empty the folder. I know i can simply copy the message files
from the Cyrus spool, because that's exactly what i need (one message
per file, and it must be the whole message, headers included), however i
need a method to cleanly delete the messages afterwards.

-- 
Florin Andrei

http://florin.myip.org/


---
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: mass permissions change

2004-06-10 Thread Andrew J Caird
On Thu, 10 Jun 2004, Felix Cuello wrote:

 On Thu, Jun 10, 2004 at 06:06:14PM -0500, Albert Chin wrote:
  Why not use the Perl module and whip up a small script?

 I'm just asking if there is an application to do that, just before
 write the PERL script :).
 What do you think is the best way to do the script?, using
 IMAP::Admin?

 thanks,

 Felix

Felix,
  Cyrus::IMAP::Admin has lots of admin type things, but for a simple
client, which is sort of what you want, you might look at Mail::IMAPClient
on CPAN.  It's pretty much strictly a client, and it's pretty
straightforward in my limited experience.
--
Andrew Caird
---
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: 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
 messages in it, then logout - and do all that from a shell script? (a
 cron job)

 What i have to accomplish is to periodically grab all messages from a
 folder then empty the folder. I know i can simply copy the message files
 from the Cyrus spool, because that's exactly what i need (one message
 per file, and it must be the whole message, headers included), however i
 need a method to cleanly delete the messages afterwards.

 --
 Florin Andrei

---
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: mass permissions change

2004-06-10 Thread Albert Chin
On Thu, Jun 10, 2004 at 06:06:14PM -0500, Albert Chin wrote:
 On Thu, Jun 10, 2004 at 06:56:13PM -0300, Felix Cuello wrote:
 I need to changes mailbox permissions to all users at the same
 time, there is any way to do that?
 
 Why not use the Perl module and whip up a small script?

BTW, I think setacl takes wildcards. maybe you can do:
   setacl user.% [id] [rights]

-- 
albert chin ([EMAIL PROTECTED])
---
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: mass permissions change

2004-06-10 Thread Felix Cuello
On Thu, Jun 10, 2004 at 09:31:10PM -0500, Albert Chin wrote:
 On Thu, Jun 10, 2004 at 06:06:14PM -0500, Albert Chin wrote:
 BTW, I think setacl takes wildcards. maybe you can do:
setacl user.% [id] [rights]


Hmmm... really interesting... Did you know if there are any way to
remove permissions? something like unsetacl user.% :-)

thanks again,

Felix


-- 
Felix Cuello
[EMAIL PROTECTED]
- 825 -

Comer, besar y rascar, es solamente empezar. 

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