generic failure

2003-10-08 Thread damian
Hi,

I tried to change the password of sasldb but was prompted with generic
failure.

Any advice?

Thanks and rgds,
Damian
-- 
damian <[EMAIL PROTECTED]>



Re: Message management question

2003-10-08 Thread Rob Siemborski
On Wed, 8 Oct 2003, Denis V. Suhanov wrote:

> I wonder, is there any way to put my mail archive into a new Cyrus
> account? I have quite a few messages I've received on my old pop
> account. They are stored on my client locally but I can export them
> pretty much to any known message format. In fact, I can even use
> drag-and-drop features of the client program to move the messages into
> an IMAP account.
>
> I am just not sure whether it is going to be OK and what would be the
> safest way to have it done. Will I have to perform some additional steps
> to update the account databases? What is the "right" way to insert
> existing messages into user's account and transfer messages among accounts?

Using the IMAP protocol is definately the recommended way.  If your client
will let you use drag-and-drop, go ahead and do that.

-Rob

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



Message management question

2003-10-08 Thread Denis V. Suhanov
Hello,

I wonder, is there any way to put my mail archive into a new Cyrus 
account? I have quite a few messages I've received on my old pop 
account. They are stored on my client locally but I can export them 
pretty much to any known message format. In fact, I can even use 
drag-and-drop features of the client program to move the messages into 
an IMAP account.

I am just not sure whether it is going to be OK and what would be the 
safest way to have it done. Will I have to perform some additional steps 
to update the account databases? What is the "right" way to insert 
existing messages into user's account and transfer messages among accounts?

Thank you very much.

Sincerely yours,
Denis


Re: ipurge, or automatic expiration feature.

2003-10-08 Thread mark london
Ah.  I couldn't find much information under ipurge for how to specify 
the mailbox, so I assumed when I did an ipurge -h and saw:

-f force also to delete mail below user.* and INBOX.*

that it meant that user was to be replied by the person's username. 
Ones.  Thanks a lot!

However,  even though under the cyrus account it doesn't give me 
any error messages, it still doesn't seem to work. I issue the 
command:

ipurge -f -d 1 mrl.INBOX.Spam

But messages still stay in my Spam folder.  Any suggestions?  Thanks.
ipurge -f -d 1 user.mrl.Spam

--
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: ipurge, or automatic expiration feature.

2003-10-08 Thread Ken Murchison
mark london wrote:

I want to be able to have messages in a folder automatically purged 
after the messages are a certain amount of days old.  The ipurge 
application seems to be what I want, but I haven't gotten it working. 
First, I can't get it to work at all unless I run it under the cyrus 
account.  Otherwise, it gives me the error:

ipurge: can't initialize mboxlist environment
Only the cyrus user has direct access to the mailboxes and environment.

However,  even though under the cyrus account it doesn't give me any 
error messages, it still doesn't seem to work. I issue the command:

ipurge -f -d 1 mrl.INBOX.Spam

But messages still stay in my Spam folder.  Any suggestions?  Thanks.
ipurge -f -d 1 user.mrl.Spam

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


ipurge, or automatic expiration feature.

2003-10-08 Thread mark london
I want to be able to have messages in a folder automatically purged 
after the messages are a certain amount of days old.  The ipurge 
application seems to be what I want, but I haven't gotten it working. 
First, I can't get it to work at all unless I run it under the cyrus 
account.  Otherwise, it gives me the error:

ipurge: can't initialize mboxlist environment

However,  even though under the cyrus account it doesn't give me any 
error messages, it still doesn't seem to work. I issue the command:

ipurge -f -d 1 mrl.INBOX.Spam

But messages still stay in my Spam folder.  Any suggestions?  Thanks.

Mark



Re: Highly available and scalable Cyrus configurations

2003-10-08 Thread Amos Gouaux
> On Tue, 7 Oct 2003 18:43:21 -0400 (EDT),
> Rob Siemborski <[EMAIL PROTECTED]> (rs) writes:

rs> The key about the usability of the filesystem is that file locks need to
rs> be obeyed throughout the entire cluster, and mmap() needs to be efficient
rs> (and able to deal with read()  and write() being called on that file at
rs> the same time).

My efforts in this regard keep getting pushed back due to too many
other things flying around, but I've been told that Sun Cluster
*should* respect full local filesystem semantics.  How close to
reality that is, I have not been able to confirm.  I'm hoping we
might be able to do some experimenting later this term, but then
I've been saying that for a while.  Sigh.


-- 
Amos



Re: file permissions

2003-10-08 Thread Andrew Morgan


On Wed, 8 Oct 2003, Dan Bishop wrote:

> I am trying to delete files from a user directory, but can't. Here are
> the file attributes, my attempted commands, and the results:
> ls -al
> total 124356467
> drwx-  2 cyruscyrus 4096 Oct   6  15:47
> drwx-  3 cyruscyrus 4096 Oct   6  15:47
> ?r--r-S--T 189318914294967295 Dec   6  1973 127.
> ?4--r-S--T 1901   19034294967295 Dec   6   1973 128.
>
> The files I want to delete are 127. and 128. When I type rm -r 127. I get:
> rm: cannot unlink  '127.': Operation not pemitted
>
> I have tried to rename the files:
> mv: 127.: unknown file type
>
> I have tried chmod 777 127.
> chmod:  127.: Operation not permitted
>
> Any help out there? These are (were) email messages, so I hope I am not
> posting to the wrong list.

Sounds like file system corruption to me...  Have you ran an fsck on this
file system since you noticed this?

Andy



file permissions

2003-10-08 Thread Dan Bishop
I am trying to delete files from a user directory, but can't. Here are 
the file attributes, my attempted commands, and the results:
ls -al
total 124356467
drwx-  2 cyruscyrus 4096 Oct   6  15:47
drwx-  3 cyruscyrus 4096 Oct   6  15:47
?r--r-S--T 189318914294967295 Dec   6  1973 127.
?4--r-S--T 1901   19034294967295 Dec   6   1973 128.

The files I want to delete are 127. and 128. When I type rm -r 127. I get:
rm: cannot unlink  '127.': Operation not pemitted
I have tried to rename the files:
mv: 127.: unknown file type
I have tried chmod 777 127.
chmod:  127.: Operation not permitted
Any help out there? These are (were) email messages, so I hope I am not 
posting to the wrong list.

--
Thanks,
Dan Bishop
Network Administrator
Baptist Bible College
628 E. Kearney St.
Springfield, MO 65803
[EMAIL PROTECTED]
(417)268-6113
www.bbcnet.edu



Re: too many pop3d processes

2003-10-08 Thread Etienne Goyer
On Wed, Oct 08, 2003 at 09:38:47AM +0400, Agri wrote:
> What's happaning?

In /etc/cyrus.conf, you probably have pop3d's prefork set to
20-something.  It is expected behavior.

-- 
Etienne GoyerLinux Québec Technologies Inc.
http://www.LinuxQuebec.com   [EMAIL PROTECTED]


Re: Can some users to use only POP3 and other to use IMAP and POP3?

2003-10-08 Thread Konstantin Kunshchikov
Hi!

If you use PAM for authorization, you can permit different groups of
users for only one protocol. In general, you can modify SASL
authorization for support of groups.

Regards,
Konstantin.

В Срд, 08.10.2003, в 16:03, Ana Ribas/Upcnet пишет:
> Hi all,
> 
> I have installed Cyrus IMAP 2.1.13
> How can I allow some users to use only POP3 and other to use IMAP and POP3?
> 
> Any suggestions?
> Thanks.
> 
> - ANNA -
> 
> 



Re: STARTTLS Question

2003-10-08 Thread Scott Adkins
--On Tuesday, October 07, 2003 6:25 PM -0400 Daniel Whelan 
<[EMAIL PROTECTED]> wrote:

I'll go ahead and answer my own question, as I evidently haven't been
paying as much attention to the mailing list as I should have lately and
found my solution buried back a couple months. On 30 July 2003 Matt
Bernstein started a thread entitled "requiring encryption but not from
localhost?", where Scott Adkins proposed a solution. I implemented
something more or less like he proposed, and it worked. Specifically, I
created a second imapd.conf (imapd-local.conf) and configured it with
allowplaintext: yes. Then, I edited my cyrus.conf to look like the
following:
imaplocal   cmd="imapd -U 30 -C /etc/imapd-local.conf"
listen="localhost:ima plocal" prefork=0 maxchild=100
imapcmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
imaps   cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
I couldn't get imaplocal to listen localhost on the imap port, so I
defined an "imaplocal" port in /etc/services as port 144, and pointed
webmail at that. All is well now...webmail from localhost gets plaintext,
and everyone else gets IMAPS or IMAP/STARTTLS.
If I had to guess, the reason you couldn't get imaplocal to listen to
localhost:imap is probably because the imap and imaps services were
already listening on the imap/imaps ports, specifically *:imap and *:imaps.
I don't know what order Cyrus internally starts to configure the ports
for listening on, but that is likely the issue here (port binding).
The solution that should work is the following (trimmed for clarity):

 imaplocal cmd="imapd -C /etc/imapd-local.conf" listen="localhost:imap"
 imap  cmd="imapd"  listen="hostname:imap"
 imaps cmd="imapd -s"   listen="hostname:imaps"
Whatever the hostname of your machine is should replace "hostname" in the
above configuration.  If you want to be able to telnet to the imaps port
on localhost for who knows what reason, then take "hostname" out of the
"imaps" line and just leave it as "imaps".
Hope that helps...
Scott
--
+---+
 Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
  UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
   ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+---+
PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/

pgp0.pgp
Description: PGP signature


Can some users to use only POP3 and other to use IMAP and POP3?

2003-10-08 Thread Ana Ribas/Upcnet
Hi all,

I have installed Cyrus IMAP 2.1.13
How can I allow some users to use only POP3 and other to use IMAP and POP3?

Any suggestions?
Thanks.

- ANNA -




Header lines inserted when using deliver

2003-10-08 Thread Vladimir Artemov
Hello.

Due to a non-standard configuration the mail is delivered to an imap
mailbox through the procmail. In each user home directory there is a
procmailrc file containing
":0
| tail +2 | /usr/cyrus/bin/deliver -a `whoami` `whoami`"

So when the message is delivered to an imap mailbox there are
additional header lines "Return-Path:" and "Received:" pointing to the local account.

Here what happens:

Return-Path: <[EMAIL PROTECTED]>
Received: from mail.mydomain.com ([unix socket])
by mail.mydomain.com (Cyrus v2.1.14) with LMTP; Wed, 08 Oct 2003 12:03:12 +0400
Return-Path: <[EMAIL PROTECTED]>
Received: from mail.anotherdomain.com ([EMAIL PROTECTED] [xxx.xxx.xxx.xxx])
by mail.mydomain.com (8.12.9/8.12.9) with ESMTP id h98836ji003128
for <[EMAIL PROTECTED]>; Wed, 8 Oct 2003 12:03:11 +0400
...


Can i somehow disable the insertion of two upper header lines in the
message when using cyrus deliver?

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