Cyrus 2.1 questions about realm logins !

2003-02-12 Thread Franz Skale
Hi !
Im worked for 3 Years with the cyrus 2.0 imapd and sasl 1.5.
Now i planned to upgrade to cyrus imapd 2.1 and sasl2.
I set up the server and made some users in the sasldb.
The users have different domains (realm) which they belong to.
Like: [EMAIL PROTECTED]
  [EMAIL PROTECTED]
I defined the loginrealms in the imapd.conf.

1. Problem: Login with the realm works only with imap but not with pop3,
sinve it can not handle a dot in the realm name: E.g. test@domain works
with pop3 but [EMAIL PROTECTED] doesn't work.
Also it is not defined how the mailboxes have to be named.
I tried to define a mailbox called [EMAIL PROTECTED]
It worked.
How does the domain influence the lmtp on delivery ?
Deliveries to the mailboxes fail badly with the error message , that the
mailbox is unavailable. If you create a mailbox user.test, then it
works, but what should be the function of defining realms then ?
Pop3 doesn' t work with realmed mailboxes and can't lock it.
Imap works and can lock the mailbox.
Lmtp is not able to deliver realmed mailboxes.
Always displays the same error. (Mailbox unavailable).

So my question is: How can i use realms associated with the defined
mailboxes to seperate multiple domains on a single host ?
Or are they only  login-realms and not to deliver ?
If yes, how does lmtp decide what mailbox to use ?
It is possible to define a user in multiple realms with saslpasswd using
the -u switch.

Any help will be appreciated.

Kind regards

Franz





-- 

Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]




[no subject]

2003-02-12 Thread srikarreddy kasarla
Hi,

i have Cyrus 2.1.12 and postfix 1.1.11 and horde
2.2 and imp 3.1 .

 Problem is when i am trying to create folders
from IMP it is failing with permission denied.

  can anyone help me?

srikar

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



problem with folder creation

2003-02-12 Thread srikarreddy kasarla
Hi,

i have Cyrus 2.1.12 and postfix 1.1.11 and horde
2.2 and imp 3.1 .

 Problem is when i am trying to create folders
from IMP it is failing with permission denied.

  can anyone help me?

srikar


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



How to mov/copy deliverd mail from one user to another one

2003-02-12 Thread Radek Hnilica
Hello,

Sometimes when for instance some user goes to holiday, or becomes ill
the others don't inform me in time but some time later.  So in the box
of such a user user are mails which I need do copy/move to the box of
another user.  Just simply copy mail files doesn't work.

How this ocassional work can be done?

-- 
Radek Hnilica Radek at Hnilica dot CZ
===
No matter how far down the wrong road you've gone, turn back.
Turkish proverb






Backup of Cryus IMAP

2003-02-12 Thread Michael Frank
Hello everyone,

I have heard that if I backup the database and/or user files as they are being 
accessed I might corrupt the files. Is this true? If so how can I implement an 
automated backup without taking the service down? I need to have the service up 24/7 
and am unable to take it down at any point. Can anyone point me in the correct 
direction?

Thank you,

Michael




Re: Backup of Cryus IMAP

2003-02-12 Thread John Alton Tamplin
Michael Frank wrote:


	I have heard that if I backup the database and/or user files as they are being accessed I might corrupt the files. Is this true? If so how can I implement an automated backup without taking the service down? I need to have the service up 24/7 and am unable to take it down at any point. Can anyone point me in the correct direction?
 

Simply backing up the files as they are actively being used will not 
corrupt them.  However, it is possible that the file you backup is not 
usable since there is no synchronization between the updates to the 
database and the backup program.  The best practice discussed here for 
restoring inidividual folders is to create an empty folder, restore the 
message files themselves, and then reconstruct that folder, so there is 
no problem there.  For a full restore, to guard against corrupting 
important database files I do ctl_mboxlist -d to a text file just before 
the backup, and then backup that file.  If a full restore is required, 
the database can be rebuilt from the text file if necessary.

--
John A. Tamplin   Unix System Administrator
Emory University, School of Public Health +1 404/727-9931





Re: Backup of Cryus IMAP (restore?)

2003-02-12 Thread Thomas Hannan

So to backup Cyrus, I should do the following?:
ctl_mboxlist -d /var/backup/mydbbackupfile
cp -dPr /var/imap /var/backup/imap
cp -dPr /var/spool/imap /var/backup/spool/imap

Would it be better to tar them first, or just copy and then tar later?
And to do a full restore? How would I do so? (I assume I'd have to stop the
service to restore)...

Thank you
Thomas Hannan

 Michael Frank wrote:

  I have heard that if I backup the database and/or user files as they
  are being accessed I might corrupt the files. Is this true? If so
how
  can I implement an automated backup without taking the service
down? I
  need to have the service up 24/7 and am unable to take it down at
any
  point. Can anyone point me in the correct direction?


 Simply backing up the files as they are actively being used will not
 corrupt them.  However, it is possible that the file you backup is not
 usable since there is no synchronization between the updates to the
 database and the backup program.  The best practice discussed here for
 restoring inidividual folders is to create an empty folder, restore the
  message files themselves, and then reconstruct that folder, so there
 is  no problem there.  For a full restore, to guard against corrupting
 important database files I do ctl_mboxlist -d to a text file just
 before  the backup, and then backup that file.  If a full restore is
 required,  the database can be rebuilt from the text file if necessary.

 --
 John A. Tamplin   Unix System Administrator
 Emory University, School of Public Health +1 404/727-9931






sieveshell cannot connect on phoebe

2003-02-12 Thread Harris Landgarten
I upgraded to phoebe and cyrus is working perfectly except for
sieveshell. Existing sieve scripts are functioning but sieveshell
localhost exits with 

connecting to localhost
connect: Connection refused
unable to connect to server at /usr/bin/sieveshell line 174.

Does anyone have any idea where to look?
 
-- 
Harris Landgarten [EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part


DB_ENV Errors

2003-02-12 Thread Andrew Brink
All - 

We're getting the following messages very often in our log, can anyone
explain what this is refering to and/or how to fix it?

Feb 12 08:37:23 pop3d[12788]: DBERROR db4: DB_ENV-log_flush: LSN past
current end-of-log 
Feb 12 08:37:23 ctl_deliver[7221]: DBERROR db4: DB_ENV-log_flush: LSN
past current end-of-log Feb 12 08:37:24 last message repeated 20 times

Thanks,

Andrew Brink, CCNA, WCSP 
NetStandard, Inc. 
913-262-3888 




Database Corruption because of Power Failure?

2003-02-12 Thread Judd
Sorry to bother you all,
I am looking to implement a cyrus-imap server that at any point in
time can have a good number of 15,000+ users reading and writing. If
it experiences a power failure and reboots, could the database become
corrupted and require restoration from backups?
If no, what, if any data will be lost?
In the event of a failure, and I am required to restore my data from a
backup, how long does it take to reconstruct a cyrus database for a
system of messages on the order of 500 Gigabytes in total. I
understand that this data is particular to the box that Cyrus IMAP is
running on but if anyone has the time it took them to reconstruct the
database that would be awesome.

Thank you so much for any help you can give,

Judd




Re: Backup of Cryus IMAP (restore?)

2003-02-12 Thread John Alton Tamplin
Thomas Hannan wrote:


So to backup Cyrus, I should do the following?:
ctl_mboxlist -d /var/backup/mydbbackupfile
cp -dPr /var/imap /var/backup/imap
cp -dPr /var/spool/imap /var/backup/spool/imap

Would it be better to tar them first, or just copy and then tar later?
And to do a full restore? How would I do so? (I assume I'd have to stop the
service to restore)...
 

I have a cron job that does ctl_mboxlist -d /var/imap/mailboxes.txt and 
then I just let our normal backup software (Veritas Netbackup 
DataCenter) backup that file as it would any other.  That way I have if 
the recovered mailboxes.db file was corrupt.

If you have the disk space to do your backup on disk, you are probably 
better doing snapshots (mirror the volume, then break the mirror) than cp.

--
John A. Tamplin   Unix System Administrator
Emory University, School of Public Health +1 404/727-9931