Re: Cyrus on Solaris at universities?

2007-12-13 Thread Didi Rieder
--On Wednesday, December 12, 2007 03:58:36 PM -0800 Vincent Fox 
[EMAIL PROTECTED] wrote:

 Just wondering what other universities are runing Cyrus on Solaris?

 We know of:
 CMU
 UCSB

Graz University of Technology - Austria
v480, v280, Solaris 9, 3TB SAN
will be replaced by 2x x4600 Solaris 10 soon

Didi

-- 
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

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: 'batch move' of a few thousand mailboxes to different partitions

2007-04-18 Thread Didi Rieder



--On Wednesday, April 18, 2007 04:03:47 PM +0200 Eric Luyten 
[EMAIL PROTECTED] wrote:



Cyrus 2.2.13 on a Solaris 9 server
4 Cyrus spool partitions, 350 GB each, nearing 80% occupation
(Hashing performed on first letter basis of account name)

I have two extra 350 GB partitions ready and 'partition' lines
already added to /etc/imapd.conf


To spread out the mail data over six partitions I would need
to move about 350 GB of mail.

Two scenarios :

  a) use rename_mailbox in cyradm

   pro  : mail server can keep on running
   cons : filesystem metadata changes
  no 'batching' method available  (suggestions, anyone ?)
  slow

  b) use 'cp -p -r', update a text dump of mailboxes.db and regenerate

   pros : filesystem metadata does not change
  easily batchable
  significantly faster than method a)
   con  : mail server must be halted for (at least) several hours


Am I overlooking important issues here ?


Some time ago we wrote a perl script for evenly redistriubting our users to 
new spool partitions. I posted the following message, which has the script 
attached:


http://cyrusimap.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrussearchterm=riedermsg=39998

Maybe it helps.

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgplkYQeQmFB3.pgp
Description: PGP signature

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

script for distributing mailboxes

2006-06-14 Thread Didi Rieder

Hi cyrus users,

I just wanted to share a script which we successfully used to  
distribute several thousand mailboxes across our imap partitions. It  
distributes existing mailboxes in a way that the free disc space of  
different imap partitions on the cyrus server gets balanced.


Maybe this is also useful for someone else.

~Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-



distribute_mailboxes.pl
Description: Perl program

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 moving

2006-06-07 Thread Didi Rieder

Quoting Didi Rieder [EMAIL PROTECTED]:


Hi,

can one move a mailbox from one partition to another online? I mean is
it a problem if users are accessing the server during the rename/move
process?


Is there nobody out there who tried that or has an answer?
Could someone of the developers give me a comment on that?

Thank you, and sorry for being impatient

 Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-




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 moving

2006-06-07 Thread Didi Rieder

Quoting Didi Rieder [EMAIL PROTECTED]:


Quoting Didi Rieder [EMAIL PROTECTED]:


Hi,

can one move a mailbox from one partition to another online? I mean is
it a problem if users are accessing the server during the rename/move
process?


Is there nobody out there who tried that or has an answer?
Could someone of the developers give me a comment on that?

Thank you, and sorry for being impatient


Never mind, I found the following
http://article.gmane.org/gmane.mail.imap.cyrus/577
I hope it is still true for cyrus 2.2.13

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-



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 moving

2006-06-06 Thread Didi Rieder

Hi,

can one move a mailbox from one partition to another online? I mean is  
it a problem if users are accessing the server during the rename/move  
process?


Thanks
   Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-



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


problems with Solaris UFS limits

2006-06-01 Thread Didi Rieder

Hi,

we are running cyrus 2.2.13 on a Solaris 9 machine using ufs as file  
system. The server is configured with just one partiton  
(partition-default). The size of the partition-default filesystem is  
~500G. We are about reaching its limits, there for we would like to  
move to a larger storage (1.5T) on a SAN.
Unfortunately the Solaris ufs supports just about 1 million inodes /  
TB when the filesystem is = 1TB, which of course is not enough for a  
mail spool.
This means we can not just use a single partition but have to use  
several partitions with filesystems  1TB.


We are currently using a simple hashed mailspool (a..z). New users are  
created automatically via the autocreate-patch.


Questions:
Is it possible to automatically distribute the mailboxes evenly on 3  
different partitions?

How can this be achieved?
Is there a way that newly created users are also automatically  
distributed on the different partitions?



Thanks for any hint

  Didi

p.s: We know that we could use the veritas fs or wait for ZFS in order  
to escape the ufs limits, but thats not an option right now.


--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-



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: problems with Solaris UFS limits

2006-06-01 Thread Didi Rieder

Quoting Rudy Gevaert [EMAIL PROTECTED]:


Didi Rieder wrote:

Unfortunately the Solaris ufs supports just about 1 million inodes   
/  TB when the filesystem is = 1TB, which of course is not enough   
for a  mail spool.


I thought you could give an option when making your file system to
allow more inodes.


You can, but the nbpi can not be set lower than 1 Mbyte on a  
multiterabyte UFS filesystem (= 1TB) which means, that you can get a  
maximum of ~1 million inodes / Terabyte.


see:
newfs (1M)
http://docs.sun.com/app/docs/doc/817-5093/6mkisoq4u?a=view#fsoverview-18

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-



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: problems with Solaris UFS limits

2006-06-01 Thread Didi Rieder

Quoting Rudy Gevaert [EMAIL PROTECTED]:


Didi Rieder wrote:


Unfortunately the Solaris ufs supports just about 1 million inodes
/  TB when the filesystem is = 1TB, which of course is not enough
for a  mail spool.


I thought you could give an option when making your file system to
allow more inodes.


You can, but the nbpi can not be set lower than 1 Mbyte on a  multiterabyte 
UFS filesystem (= 1TB) which means, that you can get a  maximum of ~1 
million inodes / Terabyte.


see:
newfs (1M)

http://docs.sun.com/app/docs/doc/817-5093/6mkisoq4u?a=view#fsoverview-18

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

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: Tutorial on how to backup/restore cyrus

2005-09-19 Thread Didi Rieder
--On Monday, September 19, 2005 02:00:14 PM +0300 [EMAIL PROTECTED] 
wrote:



Is it really no one on the list can suggest me some backup/restore howto
for Cyrus mailboxes?
I believe that there are some guys on the list who can help.

So please be so nice to answer me.


As a start you could look at:
http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/Backup

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpjCZ3c4MKiU.pgp
Description: PGP signature

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 : unknown host locahost

2005-06-20 Thread Didi Rieder
--On Monday, June 20, 2005 10:46:17 AM +0200 philippe 
[EMAIL PROTECTED] wrote:



Hi,

I have a problem with cyradm : cyrus 2.2.12 on solaris 10.

I can't connect to the server with cyradm :

/bash-3.00# cyradm localhost
imclient_connect: unknown host localhost at
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Cyrus/IMAP/Admin.pm
line 71./


I modified the imclient.c source with one line more :

   hints.ai_socktype = SOCK_STREAM;
   hints.ai_flags = AI_CANONNAME;
+ hints.ai_protocol = 0*;

*but  same problem.

someone could help me


just comment the following out in lib/imclient.c and recompile:

hints.ai.flags = AI_CANONNAME;

It should be arround line 238.

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgp3RAMrALbxF.pgp
Description: PGP signature


Re: renaming mailboxes

2005-05-19 Thread Didi Rieder
--On Thursday, May 19, 2005 10:46:47 AM -0400 seph [EMAIL PROTECTED] 
wrote:

I'd like to rename user.foo to xuser.foo, and I can't seem to do this
with cyrus 2.2.12, I do have allowusermoves set to yes. From cyradm:
   imap cm user.foo
   imap rename user.foo user.bar
   imap rename user.bar xuser.bar
   renamemailbox: Operation is not supported on mailbox
Is there a cleaner way than using the filesystem and reconstruct?
set the following in /etc/imapd.conf
allowusermoves = yes
and try again
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-
---
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: DBERROR - not enough space

2005-05-11 Thread Didi Rieder
Quoting Igor Brezac [EMAIL PROTECTED]:
I really don't understand what not enough space means...
You are running out of space in one of the Berkeley DB memory regions 
(cache logging, locking or transactions). Check 
http://www.sleepycat.com/docs/ref/debug/runtime.html to see how to 
get more debug info out of the berkeley system.
I'll try this
What do db_stat -c -h /mail/imap/db and db_stat -m -h /mail/imap/db 
say when you run 'out of space'?
[EMAIL PROTECTED] imap]$ /usr/local/BerkeleyDB.4.2/bin/db_stat -m -h 
/mail/imap/db
19MB 546KB 912B Total cache size.
2   Number of caches.
9MB 792KB   Pool individual cache size.
0   Requested pages mapped into the process' address space.
174336  Requested pages found in the cache (100%).
4   Requested pages not found in the cache.
356 Pages created in the cache.
4   Pages read into the cache.
7195Pages written from the cache to the backing file.
0   Clean pages forced from the cache.
0   Dirty pages forced from the cache.
0   Dirty pages written by trickle-sync thread.
360 Current total page count.
240 Current clean page count.
120 Current dirty page count.
2062Number of hash buckets used for page location.
174697  Total number of times hash chains searched for a page.
4   The longest hash chain searched for a page.
243433  Total number of hash buckets examined for page location.
444148  The number of hash bucket locks granted without waiting.
29  The number of hash bucket locks granted after waiting.
5   The maximum number of times any hash bucket lock was waited for.
55855   The number of region locks granted without waiting.
15  The number of region locks granted after waiting.
370 The number of page allocations.
0   The number of hash buckets examined during allocations
0   The max number of hash buckets examined for an allocation
0   The number of pages examined during allocations
0   The max number of pages examined for an allocation
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Pool File: /mail/imap/deliver.db
8192Page size.
0   Requested pages mapped into the process' address space.
29748   Requested pages found in the cache (100%).
2   Requested pages not found in the cache.
112 Pages created in the cache.
2   Pages read into the cache.
1217Pages written from the cache to the backing file.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Pool File: /mail/imap/tls_sessions.db
8192Page size.
0   Requested pages mapped into the process' address space.
144588  Requested pages found in the cache (100%).
2   Requested pages not found in the cache.
244 Pages created in the cache.
2   Pages read into the cache.
5978Pages written from the cache to the backing file.
[EMAIL PROTECTED] imap]$ /usr/local/BerkeleyDB.4.2/bin/db_stat -c -h 
/mail/imap/db
6105Last allocated locker ID.
2147M   Current maximum unused locker ID.
9   Number of lock modes.
5   Maximum number of locks possible.
5   Maximum number of lockers possible.
5   Maximum number of lock objects possible.
707 Number of current locks.
732 Maximum number of locks at any one time.
1414Number of current lockers.
1454Maximum number of lockers at any one time.
2   Number of current lock objects.
7   Maximum number of lock objects at any one time.
195387  Total number of locks requested.
194680  Total number of locks released.
0   Total number of lock requests failing because DB_LOCK_NOWAIT was set.
41  Total number of locks not immediately available due to conflicts.
0   Number of deadlocks.
0   Lock timeout value.
0   Number of locks that have timed out.
0   Transaction timeout value.
0   Number of transactions that have timed out.
19MB 624KB  The size of the lock region..
753 The number of region locks granted after waiting.
415540  The number of region locks granted without waiting.
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpHYAOtUKweH.pgp
Description: PGP Digital Signature


Re: DBERROR - not enough space

2005-05-11 Thread Didi Rieder
Quoting Didi Rieder [EMAIL PROTECTED]:
May 10 13:07:35 sbox imap[3540]: [ID 866726 local6.warning] DBERROR 
db4: Logging region out of memory; you may need to increase its size
May 10 13:07:35 sbox imap[3540]: [ID 729713 local6.error] DBERROR: 
opening /mail/imap/tls_sessions.db: Not enough space
May 10 13:07:35 sbox imap[3540]: [ID 729713 local6.error] DBERROR: 
opening /mail/imap/tls_sessions.db: cyrusdb error
Hi again,
I think I found a solution which seems to work for us. I created a 
DB_CONFIG file in /mail/imap/db with the following content:

set_cachesize 0 16384000 2
set_lg_regionmax 122880
Then I stopped the imapserver and deleted the tls_sessions.db, 
deliver.db and the contents in /mail/imap/db. After restarting we don't 
see the above errors anymore (at least for now).

Thanks to the pleople who tried to help to solve the problem
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpvexBMrgTrG.pgp
Description: PGP Digital Signature


Re: DBERROR - not enough space

2005-05-11 Thread Didi Rieder
Quoting Igor Brezac [EMAIL PROTECTED]:
It is hard to tell.  Your cache size appears to be large enough, 
there are plenty of lockers available (but this is still a suspect), 
although you seem to have a rather large number of cyrus processes 
running (700+) or your processes are dying without releasing db 
handles.  How many cyrus processes are normally running on your 
system? Did you get anything from the Berkeley DB debugging.  You can 
see locks/lockers with db_stat -Cl
[EMAIL PROTECTED] root]# ps -aef | grep imap | wc -l
   1036
[EMAIL PROTECTED] imap]$ /usr/local/BerkeleyDB.4.2/bin/db_stat -Cl -h 
/mail/imap/db | grep HELD | wc -l
   1026

This is at 7PM during the day there are more imap processes running (1500)
I didn't do the debugging yet so I can't tell you anything about it :-(
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgp1mDcN77yLM.pgp
Description: PGP Digital Signature


DBERROR - not enough space

2005-05-10 Thread Didi Rieder
Hi all,
I hope somone can explain the following error messages and tell me how 
to fix the problem. We get lots of them in the cyrus logs:

May 10 13:07:35 sbox imap[3540]: [ID 866726 local6.warning] DBERROR 
db4: Logging region out of memory; you may need to increase its size
May 10 13:07:35 sbox imap[3540]: [ID 729713 local6.error] DBERROR: 
opening /mail/imap/tls_sessions.db: Not enough space
May 10 13:07:35 sbox imap[3540]: [ID 729713 local6.error] DBERROR: 
opening /mail/imap/tls_sessions.db: cyrusdb error

We are running:
- OS: Sparc Solaris 9
- cyrus-2.2.12 - Berkeley-DB version: db-4.2.52 (with 4 patches applied)
The machine has 8GB of RAM and there is plenty of free memory available.
I already tried to generate a DB_CONFIG file in /mail/imap/db, and 
added the following entries:

set_mp_mmapsize 65536000
set_cachesize 0 16384000 2
set_lg_bsize 65536
This didn't change anything.
I also searched the web but didn't find an solution for the problem.
Hope someone on this list can give me a hint.
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpC0vvE2nGqz.pgp
Description: PGP Digital Signature


Re: DBERROR - not enough space

2005-05-10 Thread Didi Rieder
Quoting Igor Brezac [EMAIL PROTECTED]:
Do you get errors when cyrus performs checkpointing?
No not at all. It starts an terminates without errors.
I forgot to mention that I do get the same errors with the deliver.db
Didi
-Igor
On Tue, 10 May 2005, Didi Rieder wrote:
Hi all,
I hope somone can explain the following error messages and tell me 
how to fix the problem. We get lots of them in the cyrus logs:

May 10 13:07:35 sbox imap[3540]: [ID 866726 local6.warning] DBERROR 
db4: Logging region out of memory; you may need to increase its size
May 10 13:07:35 sbox imap[3540]: [ID 729713 local6.error] DBERROR: 
opening /mail/imap/tls_sessions.db: Not enough space
May 10 13:07:35 sbox imap[3540]: [ID 729713 local6.error] DBERROR: 
opening /mail/imap/tls_sessions.db: cyrusdb error

We are running:
- OS: Sparc Solaris 9
- cyrus-2.2.12 - Berkeley-DB version: db-4.2.52 (with 4 patches applied)
The machine has 8GB of RAM and there is plenty of free memory available.
I already tried to generate a DB_CONFIG file in /mail/imap/db, and 
added the following entries:

set_mp_mmapsize 65536000
set_cachesize 0 16384000 2
set_lg_bsize 65536
This didn't change anything.
I also searched the web but didn't find an solution for the problem.
Hope someone on this list can give me a hint.
Didi

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

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpYEc54d1Lu9.pgp
Description: PGP Digital Signature


Re: DBERROR - not enough space

2005-05-10 Thread Didi Rieder
Quoting Igor Brezac [EMAIL PROTECTED]:
On Tue, 10 May 2005, Didi Rieder wrote:
Quoting Igor Brezac [EMAIL PROTECTED]:
Do you get errors when cyrus performs checkpointing?
No not at all. It starts an terminates without errors.
I forgot to mention that I do get the same errors with the deliver.db
I start cyrus from 'configdirectory' (/mail/imap), otherwise recover 
and/or checkpoint does not work properly.  Try to run checkpoing more 
often.
I do the following in the cyrus startup script:
[...]
   cd /mail/imap
   /usr/cyrus/bin/master -d
[...]
and checkpointing is already running every 10 minutes
Did you reset (db_recover) your db env after you added DB_CONFIG?
You can also remove deliver.db and tls_sessions.db and start fresh.
I also did that, with no success :-(
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpX2jS4mIGWt.pgp
Description: PGP Digital Signature


Re: DBERROR - not enough space

2005-05-10 Thread Didi Rieder
Quoting Wil Cooley [EMAIL PROTECTED]:
On Tue, 2005-05-10 at 13:25 +0200, Didi Rieder wrote:
I already tried to generate a DB_CONFIG file in /mail/imap/db, and
added the following entries:
set_mp_mmapsize 65536000
set_cachesize 0 16384000 2
set_lg_bsize 65536
This didn't change anything.
I also searched the web but didn't find an solution for the problem.
Hope someone on this list can give me a hint.
I believe you need to run 'db_recover' before these settings are
effective.

I removed the two databases after I made those settings and then 
started cyrus again, so they should be fresh and the settings should be 
in action, right?

Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpo1vHXovjg1.pgp
Description: PGP Digital Signature


Re: DBERROR - not enough space

2005-05-10 Thread Didi Rieder
Quoting Igor Brezac [EMAIL PROTECTED]:
I removed the two databases after I made those settings and then 
started cyrus again, so they should be fresh and the settings should 
be in action, right?
This will not work, you need to run db_recover or remove the contents 
of /mail/imap/db in addition to removing the two databases.
Aha...
so is it save to remove every file from /mail/imap/db?
If yes I'll try this. Thanks!
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpP4GxobZyq6.pgp
Description: PGP Digital Signature


Re: DBERROR - not enough space

2005-05-10 Thread Didi Rieder
Quoting Igor Brezac [EMAIL PROTECTED]:
This will not work, you need to run db_recover or remove the 
contents of /mail/imap/db in addition to removing the two databases.
Aha...
so is it save to remove every file from /mail/imap/db?
yes, remove all files in /mail/imap/db.  Do this while the server 
(cyrus) is not running.
h it didn't help :-(
I really don't understand what not enough space means...
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgp6CYnWaqHyH.pgp
Description: PGP Digital Signature


autocreate INBOX patch....

2004-11-24 Thread Didi Rieder
will there be an autocreate INBOX patch for cyrus 2.2.10, or does the 2.2.7 
patch work for the new release?

Thanks
  Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgplXjVRQYk4J.pgp
Description: PGP signature


Re: autocreate INBOX patch....

2004-11-24 Thread Didi Rieder
--On Wednesday, November 24, 2004 10:00:31 AM +0100 Simon Matter 
[EMAIL PROTECTED] wrote:

will there be an autocreate INBOX patch for cyrus 2.2.10, or does the
2.2.7
patch work for the new release?
Works well.
Thanks
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpxGwZi4uW8L.pgp
Description: PGP signature


Re: autocreate INBOX patch....

2004-11-24 Thread Didi Rieder
--On Wednesday, November 24, 2004 11:11:36 AM +0200 Christos Soulios 
[EMAIL PROTECTED] wrote:

I do not think major changes are needed for the patch to work. However,
it is our policy to release a new and tested patch for every cyrus
release.
We will try to have it ready pretty soon.
ok, perfect. And thanks again for this very helpful patch :-))
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp51DlvjQjFt.pgp
Description: PGP signature


timsieved auth problem

2004-08-13 Thread Didi Rieder
Hi again,
we are running cyrus-2.2.8 with sasl-2.1.19.
Our sasl authentication settings in imapd.conf are:
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
saslauthd is using PAM to authenticate. It works well for imap/imaps, 
however
we can't get it to run with timsieved. It seems that the sieve deamon is 
not advertising
any auth method:

[EMAIL PROTECTED] etc]# telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
IMPLEMENTATION Cyrus timsieved v2.2.8
SIEVE fileinto reject envelope vacation imapflags notify subaddress 
relational regex
STARTTLS
OK

Shouln't be a SASL PLAIN LOGIN there?
What could be wrong? (Remember imap works fine)...
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp10AzcHDnMB.pgp
Description: PGP signature


Re: timsieved auth problem

2004-08-13 Thread Didi Rieder
Quoting Ken Murchison [EMAIL PROTECTED]:
The SASL library can't find any plugins.  They should be installed in,
or have a link to, /usr/lib/sasl2.  The reason imapd works is because it
has the plaintext LOGIN command, where timsieved doesn't.
THANKS a lot, I was missing that. Now it works
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-


pgpdqD7qg3khU.pgp
Description: PGP Digital Signature


Re: ctl_cyrusdb DBERROR (urgent)

2004-08-10 Thread Didi Rieder
Hi again,
I'm still stuck with my problem, is there nobody who can give me a hint? 
I'd appreciate it very much.

Didi
--On Monday, August 09, 2004 10:44:16 AM +0200 Didi Rieder 
[EMAIL PROTECTED] wrote:

Hi all,
we just migrated our old cyrus-2.0.17 imap server to a new cyrus-2.2.8
installation. Everything is fine so far, but I just noticed the following
log entries:
Aug  9 08:50:01 sbox ctl_cyrusdb[4488]: [ID 702911 local6.notice]
checkpointing cyrus databases
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 854764 local6.error] DBERROR:
error listing log files: Permission denied
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 686478 local6.error] DBERROR:
archive /mail/imap/db: cyrusdb error
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 854764 local6.error] DBERROR:
error listing log files: Permission denied
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 686478 local6.error] DBERROR:
archive /mail/imap/db: cyrusdb error
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 127214 local6.notice] done
checkpointing cyrus databases
I don't know how to interpret or solve the problem.
The access rights for /mail/imap/db are the following:
[EMAIL PROTECTED] root]# ls -la /mail/imap/db
total 61030
drwxr-xr-x   2 cyrusmail 512 Aug  9 00:59 .
drwxr-x---  15 cyrusmail 512 Aug  9 10:30 ..
-rw---   1 cyrusmail8192 Aug  9 10:39 __db.001
-rw---   1 cyrusmail  663552 Aug  8 20:28 __db.002
-rw---   1 cyrusmail   98304 Aug  8 21:14 __db.003
-rw---   1 cyrusmail 20561920 Aug  8 20:19 __db.004
-rw---   1 cyrusmail   32768 Aug  8 20:19 __db.005
-rw---   1 cyrusmail 10485747 Aug  9 00:59 log.01
-rw---   1 cyrusmail 5254746 Aug  9 10:39 log.02
-rw---   1 cyrusmail   4 Aug  8 20:19 skipstamp
The db types are set to:
annotation_db: skiplist
duplicate_db: berkeley-nosync
mboxlist_db: skiplist
seenstate_db: skiplist
subscription_db: flat
tlscache_db: berkeley-nosync
cyrus.conf looks like this:
START {
  # do not delete this entry!
  recover   cmd=ctl_cyrusdb -r
  # this is only necessary if using idled for IMAP IDLE
  idled cmd=idled
}
# UNIX sockets start with a slash and are put into /mail/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=imap prefork=5
  imaps cmd=imapd -s listen=imaps prefork=5
  sieve cmd=timsieved listen=sieve prefork=0
  # at least one LMTP is required for delivery
  lmtpunix  cmd=lmtpd listen=/mail/imap/socket/lmtp prefork=2
  # sendmail socket map deamon
  smmapunix cmd=smmapd listen=/mail/imap/socket/smmapd prefork=2
}
EVENTS {
  # this is required
  checkpointcmd=ctl_cyrusdb -c period=10
  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune  cmd=cyr_expire -E 3 at=0400
  # this is only necessary if caching TLS sessions
  tlsprune  cmd=tls_prune at=0400
}
Thanks for any help.
	Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpJgs9Sn3yG5.pgp
Description: PGP signature


Re: ctl_cyrusdb DBERROR (urgent)

2004-08-10 Thread Didi Rieder
--On Tuesday, August 10, 2004 05:33:11 PM +0800 Craig Ringer 
[EMAIL PROTECTED] wrote:

On Tue, 2004-08-10 at 17:09, Didi Rieder wrote:
Hi again,
I'm still stuck with my problem, is there nobody who can give me a hint?
I'd appreciate it very much.
Well, you might want to make sure you're using the right db format for
your actual on-disk database (ie skiplist or bdb). It's also a good idea
to run db_verify if it's a Berkley DB in case there's some BDB
corruption.
Thanks for your answer. I checked the db types and they should be fine. We 
didn't use any of the db files of the olf server because we transfered the 
mailboxes via mailutil, so the imapd should have created the right types 
according to the imapd.conf file.

It is also interesting, that if I run ctl_cyrusdb as user cyrus manually no 
errors show up, not in the logs and not on stderr/stdout

This is what I see in the logs, when I run it manually:
Aug 10 12:49:33 sbox ctl_cyrusdb[19828]: [ID 702911 local6.notice] 
checkpointing cyrus databases
Aug 10 12:49:33 sbox ctl_cyrusdb[19828]: [ID 127214 local6.notice] done 
checkpointing cyrus databases

BTW: The OS is Sun/Solaris 9 if it matters at all...
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpr2iZvx35Ek.pgp
Description: PGP signature


Re: ctl_cyrusdb DBERROR (urgent)

2004-08-10 Thread Didi Rieder
--On Tuesday, August 10, 2004 08:21:34 AM -0400 Igor Brezac 
[EMAIL PROTECTED] wrote:

On Tue, 10 Aug 2004, Didi Rieder wrote:
--On Tuesday, August 10, 2004 05:33:11 PM +0800 Craig Ringer
[EMAIL PROTECTED] wrote:
On Tue, 2004-08-10 at 17:09, Didi Rieder wrote:
Hi again,
I'm still stuck with my problem, is there nobody who can give me a
hint? I'd appreciate it very much.
Well, you might want to make sure you're using the right db format for
your actual on-disk database (ie skiplist or bdb). It's also a good idea
to run db_verify if it's a Berkley DB in case there's some BDB
corruption.
Thanks for your answer. I checked the db types and they should be fine.
We  didn't use any of the db files of the olf server because we
transfered the  mailboxes via mailutil, so the imapd should have created
the right types  according to the imapd.conf file.
It is also interesting, that if I run ctl_cyrusdb as user cyrus manually
no  errors show up, not in the logs and not on stderr/stdout
This is what I see in the logs, when I run it manually:
Aug 10 12:49:33 sbox ctl_cyrusdb[19828]: [ID 702911 local6.notice]
checkpointing cyrus databases
Aug 10 12:49:33 sbox ctl_cyrusdb[19828]: [ID 127214 local6.notice] done
checkpointing cyrus databases
BTW: The OS is Sun/Solaris 9 if it matters at all...
What version of Sleepycat db do you use?
db-4.2.52 with patch 1 and patch 2 from Sleepycat
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpMnPaINaher.pgp
Description: PGP signature


Re: ctl_cyrusdb DBERROR (urgent)

2004-08-10 Thread Didi Rieder
--On Tuesday, August 10, 2004 09:49:39 AM -0400 Igor Brezac 
[EMAIL PROTECTED] wrote:
Try to start master from /mail/imap
cd /mail/imap
master -d
THANK you very much, it helped!!!
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpKKkRF9GVCJ.pgp
Description: PGP signature


ctl_cyrusdb DBERROR (urgent)

2004-08-09 Thread Didi Rieder
Hi all,
we just migrated our old cyrus-2.0.17 imap server to a new cyrus-2.2.8 
installation. Everything is fine so far, but I just noticed the following 
log entries:

Aug  9 08:50:01 sbox ctl_cyrusdb[4488]: [ID 702911 local6.notice] 
checkpointing cyrus databases
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 854764 local6.error] DBERROR: 
error listing log files: Permission denied
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 686478 local6.error] DBERROR: 
archive /mail/imap/db: cyrusdb error
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 854764 local6.error] DBERROR: 
error listing log files: Permission denied
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 686478 local6.error] DBERROR: 
archive /mail/imap/db: cyrusdb error
Aug  9 08:50:02 sbox ctl_cyrusdb[4488]: [ID 127214 local6.notice] done 
checkpointing cyrus databases

I don't know how to interpret or solve the problem.
The access rights for /mail/imap/db are the following:
[EMAIL PROTECTED] root]# ls -la /mail/imap/db
total 61030
drwxr-xr-x   2 cyrusmail 512 Aug  9 00:59 .
drwxr-x---  15 cyrusmail 512 Aug  9 10:30 ..
-rw---   1 cyrusmail8192 Aug  9 10:39 __db.001
-rw---   1 cyrusmail  663552 Aug  8 20:28 __db.002
-rw---   1 cyrusmail   98304 Aug  8 21:14 __db.003
-rw---   1 cyrusmail 20561920 Aug  8 20:19 __db.004
-rw---   1 cyrusmail   32768 Aug  8 20:19 __db.005
-rw---   1 cyrusmail 10485747 Aug  9 00:59 log.01
-rw---   1 cyrusmail 5254746 Aug  9 10:39 log.02
-rw---   1 cyrusmail   4 Aug  8 20:19 skipstamp
The db types are set to:
annotation_db: skiplist
duplicate_db: berkeley-nosync
mboxlist_db: skiplist
seenstate_db: skiplist
subscription_db: flat
tlscache_db: berkeley-nosync
cyrus.conf looks like this:
START {
 # do not delete this entry!
 recover   cmd=ctl_cyrusdb -r
 # this is only necessary if using idled for IMAP IDLE
 idled cmd=idled
}
# UNIX sockets start with a slash and are put into /mail/imap/sockets
SERVICES {
 # add or remove based on preferences
 imap  cmd=imapd listen=imap prefork=5
 imaps cmd=imapd -s listen=imaps prefork=5
 sieve cmd=timsieved listen=sieve prefork=0
 # at least one LMTP is required for delivery
 lmtpunix  cmd=lmtpd listen=/mail/imap/socket/lmtp prefork=2
 # sendmail socket map deamon
 smmapunix cmd=smmapd listen=/mail/imap/socket/smmapd prefork=2
}
EVENTS {
 # this is required
 checkpointcmd=ctl_cyrusdb -c period=10
 # this is only necessary if using duplicate delivery suppression,
 # Sieve or NNTP
 delprune  cmd=cyr_expire -E 3 at=0400
 # this is only necessary if caching TLS sessions
 tlsprune  cmd=tls_prune at=0400
}
Thanks for any help.
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpBZLC1rTH7Y.pgp
Description: PGP signature


Re: sendmail hooks for pre-checking of over-quota imap users?

2004-05-20 Thread Didi Rieder
--On Thursday, May 20, 2004 11:40:05 AM +0200 Andrzej Filip 
[EMAIL PROTECTED] wrote:

Could you post the following info:
a) Cyru map specification from sendmail.cf
grep Kcyrus /etc/mail/sendmail.cf
[EMAIL PROTECTED] root]# grep Kcyrus /etc/mail/sendmail.cf
Kcyrus socket -aOK -TTMPF local:/var/imap/socket/smmapd
b) versions of mrs* features used in your sendmail.cf
grep : mrs /etc/mail/sendmail.cf
The latest versions should produce:
#  $Id: mrs.m4,v 8.3 2004/03/18 21:39:22 anfi Exp $  #
#  $Id: mrs_cyrus.m4,v 8.7 2004/04/01 14:29:50 anfi Exp $  #

[EMAIL PROTECTED] root]# grep : mrs /etc/mail/sendmail.cf
#  $Id: mrs.m4,v 8.3 2004/03/18 21:39:22 anfi Exp $  #
#  $Id: mrs_cyrus.m4,v 8.7 2004/04/01 14:29:50 anfi Exp $  #
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpKYoJfhnJEx.pgp
Description: PGP signature


Re: sendmail hooks for pre-checking of over-quota imap users?

2004-05-19 Thread Didi Rieder
--On Wednesday, May 19, 2004 09:45:23 AM +0200 Andrzej Filip 
[EMAIL PROTECTED] wrote:

You should get some 4?? error (temporary problem) in sendmail's reply to
the RCPT TO: [EMAIL PROTECTED]
unfortunately I don't
If you face the problem yourself:
1) Make sure that you use latest version of my cyrus  sendmail
integration hints [some *old* releases do not handle temp problems]
I downloaded the stuff again today and reinstalled it according to your 
instructions on the website. I'm using sendmail 8.12.11 with the smmap 
patch.

2) Post results produced by the commands below of over quota user(s):
echo '/map cyrus [EMAIL PROTECTED]' | sendmail -bt
Over quota user:
[EMAIL PROTECTED] cf]# echo '/map cyrus koarl' | /usr/lib/sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter ruleset address
map_lookup: cyrus (koarl) no match (69)
[EMAIL PROTECTED] tmp]# ./socketmapClient.pl unix:/var/imap/socket/smmapd 
cyrus koarl
koarl = PERM Over quota

Normal user:
[EMAIL PROTECTED] cf]# echo '/map cyrus muecketb' | /usr/lib/sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter ruleset address
map_lookup: cyrus (muecketb) returns muecketbOK (0)
[EMAIL PROTECTED] tmp]# ./socketmapClient.pl unix:/var/imap/socket/smmapd 
cyrus muecketb
muecketb = OK muecketb


sendmail -d60.1 -bv [EMAIL PROTECTED]'
Over quota user:
[EMAIL PROTECTED] cf]# /usr/lib/sendmail -d60.1 -bv [EMAIL PROTECTED]
map_lookup(dequote, root) = NOT FOUND (0)
map_lookup(dequote, koarl) = NOT FOUND (0)
map_lookup(user, koarl) = NOT FOUND (67)
map_lookup(cyrus, koarl) = NOT FOUND (69)
[EMAIL PROTECTED] User unknown
Normal user:
[EMAIL PROTECTED] cf]# /usr/lib/sendmail -d60.1 -bv [EMAIL PROTECTED]
map_lookup(dequote, root) = NOT FOUND (0)
map_lookup(dequote, muecketb) = NOT FOUND (0)
map_lookup(user, muecketb) = NOT FOUND (67)
map_lookup(cyrus, muecketb) = muecketbOK (0)
[EMAIL PROTECTED] deliverable: mailer cyrusv2, host dummy, user 
muecketb

# the last one produce *a lot* of output
sendmail -d21.12 -d60.1 -bv [EMAIL PROTECTED]'
I attached the output, because it's so long.
I attached also my sendmail.mc maybe it helps too.
Thanks
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-[EMAIL PROTECTED] tmp]# /usr/lib/sendmail  -d21.12 -d60.1 -bv [EMAIL PROTECTED]
rewrite: ruleset canonify   input: root
-trying rule: $@
- rule fails
-trying rule: $*
-rule matches: $: $1  @ 
rewritten as: root  @ 
-trying rule: $*  $*  $*  @ 
- rule fails
-trying rule: @ $*  @ 
- rule fails
-trying rule: $* [ IPv6 : $+ ]  @ 
- rule fails
-trying rule: $* : : $*  @ 
- rule fails
-trying rule: : include : $*  @ 
- rule fails
-trying rule: $* : $* [ $* ]
- rule fails
-trying rule: $* : $*  @ 
- rule fails
-trying rule: $*  @ 
-rule matches: $: $1
rewritten as: root
-trying rule: $* ;
- rule fails
-trying rule: $*  $+ : ;  $*
- rule fails
-trying rule: $*  $* ; 
- rule fails
-trying rule: $@
- rule fails
-trying rule: $*
-rule matches: $:  $1 
rewritten as:  root 
-trying rule: $+  $* 
- rule fails
-trying rule:  $*  $+
- rule fails
-trying rule:  
- rule fails
-trying rule:  $+ 
-rule matches: $: $1
rewritten as: root
-trying rule: @ $+ , $+
- rule fails
-trying rule: @ [ $* ] : $+
- rule fails
-trying rule: @ $+ : $+
- rule fails
-trying rule: $+ : $* ; @ $+
- rule fails
-trying rule: $+ : $* ;
- rule fails
-trying rule: $+ @ $+
- rule fails
-trying rule: $+  $+ @ $+ 
- rule fails
-trying rule: $+  @ $+ 
- rule fails
-trying rule: $* % $*
- rule fails
-trying rule: $* @ $* @ $*
- rule fails
-trying rule: $* @ $*
- rule fails
-trying rule: $*
-rule matches: $@ $ Canonify2 $1
rewrite: ruleset Canonify2  input: root
-trying rule: $*  @ localhost  $*
- rule fails
-trying rule: $*  @ localhost . tu-graz . ac . at  $*
- rule fails
-trying rule: $*  @ [ $+ ]  $*
- rule fails
-trying rule: $*  @ @ $=w  $*
- rule fails
-trying rule: $*  @ @ $+  $*
- rule fails
-trying rule: $*  @ $* $=P  $*
- rule fails
-trying rule: $*  @ $* $~P  $*
- rule fails
-trying rule: $* $| $*  @ $* $={Canonify}  $*
- rule fails
-trying rule: $* c $* $| $*  @ $*  $*
- rule fails
-trying rule: $* $| $*  @ $+ .  $*
- rule fails
-trying rule: $* $| $*  @ $+ . $+  $*
- rule fails
-trying rule: $* $| $*
- rule fails
-trying rule: $*  @ $=w  $*
- rule fails
-trying rule: $*  @ $=M  $*
- rule fails
-trying rule: $*  @ $* . .  $*
- rule fails
rewrite: ruleset Canonify2returns: root
rewritten as: root
rewrite: ruleset canonify returns: root
rewrite: ruleset parse  input: root
-trying rule: $*
-rule

Re: sendmail hooks for pre-checking of over-quota imap users?

2004-05-19 Thread Didi Rieder
--On Wednesday, May 19, 2004 03:14:38 PM -0400 Ken Murchison 
[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] tmp]# ./socketmapClient.pl unix:/var/imap/socket/smmapd
cyrus koarl
koarl = PERM Over quota
Check your imapd.conf.  My guess is that you have
lmtp_over_quota_perm_failure enabled.  If not, then you have an
old/broken version of smmapd.

You are right, if I disable it then I get:
[EMAIL PROTECTED] init.d]# /tmp/socketmapClient.pl 
unix:/var/imap/socket/smmapd cyrus koarl
koarl = TEMP Over quota

BTW, this is cyurs-2.2.4
Now sendmail says:
[EMAIL PROTECTED] init.d]# /usr/lib/sendmail -d60.1 -bv [EMAIL PROTECTED]
map_lookup(dequote, root) = NOT FOUND (0)
map_lookup(dequote, koarl) = NOT FOUND (0)
map_lookup(user, koarl) = NOT FOUND (67)
map_lookup(cyrus, koarl) = NOT FOUND (75)
map_lookup(cyrus, koarl) tempfail: errno=0
[EMAIL PROTECTED] deliverable: mailer local, user koarl
[EMAIL PROTECTED] init.d]# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 zidd-198.tu-graz.ac.at ESMTP server ready at Wed, 19 May 2004 21:27:32 
+0200 (CEST)
helo localhost
250 zidd-198.tu-graz.ac.at Hello localhost [127.0.0.1], pleased to meet you
mail from: 
250 2.1.0 ... Sender ok
rcpt to: [EMAIL PROTECTED]
250 2.1.5 [EMAIL PROTECTED]... Recipient ok (will queue)

But there is no local user koarl. I'd like that sendmail does not queue 
for users that are over quota. Sendmail also queues if cyrus (smmapd) is 
not running, I'd like it to TEMPFAIL and reject messages.

Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpLl23HQNhJY.pgp
Description: PGP signature


Re: sendmail hooks for pre-checking of over-quota imap users?

2004-05-18 Thread Didi Rieder
--On Monday, May 17, 2004 11:17:25 PM +0200 Andrzej Filip 
[EMAIL PROTECTED] wrote:

I have read the sources (sendmail-8.13.0.Beta2/sendmail/map.c) and it
seems that current implementation of socket map in *sendmail* does not
pass explanation strings to sendmail.cf [no fault at cyrus side]
All current version of my cyrus  sendmail integration should be
capable to handle TEMP replies from smmapd of cyrus.
AFAIR some early version did not do it.
...does that mean, that I should get an over quota reply? I could manage 
to configure sendmail in order to do that. I just get User unknown when a 
user is over quota.

Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgpOaBZvOI6ox.pgp
Description: PGP signature


virtual domains question

2004-04-27 Thread Didi Rieder
Hi,
I'd like to set up cyrus with some virtual domains using sendmail as MTA.
How do I configure sendmail such that messages to addresses like
[EMAIL PROTECTED]
will be delivered to the mailbox username in the virtual domain?
right now I use the cyrusv2.m4 from 
http://anfi.homeunix.net/sendmail/cyrusv2.html

in the mailertable I have entries like this:
virt.domain.com cyrusv2d:/var/imap/socket/lmtp
but it seems that messages will not be delivered to the users mailbox.
[mail]# sendmail -C sendmail.cf -bv [EMAIL PROTECTED]
[EMAIL PROTECTED] deliverable: mailer cyrusv2d, host 
/var/imap/socket/lmtp, user [EMAIL PROTECTED]

How can I resolve first.last to username? (aliases don't work: I have 
identical first.last in multiple domains)

Thanks
Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgph1TPcHJTxe.pgp
Description: PGP signature


Re: master segfaults on Solaris 9

2004-03-15 Thread Didi Rieder
--On Monday, March 15, 2004 09:06:37 AM -0500 Rob Siemborski 
[EMAIL PROTECTED] wrote:

On Sun, 14 Mar 2004, Didi Rieder wrote:

I found that if the path for the lmtp socket is shorter than 18
characters
e.g.: /var/imap/so/lmtp or /var/run/lmtp

then the master will not segfault even if patch 112874-22 is present. And
it seems that everything is working as it should.
Any thoughts on this?
Its interesting, but the issue has been fixed in CVS anyway.
Great, it's good to know...
Is there any plan to make a new release soon?
If not, how stable is the CVS version, I would need it for a production 
environment with ~11k of users

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp0.pgp
Description: PGP signature


Re: master segfaults on Solaris 9

2004-03-14 Thread Didi Rieder
Hi,

http://makeashorterlink.com/?Q241128B7

the article above says that the master segfault problem under Solaris 9 
could be solved by backing out patch 112874-22.

I found that if the path for the lmtp socket is shorter than 18 characters

e.g.: /var/imap/so/lmtp or /var/run/lmtp

then the master will not segfault even if patch 112874-22 is present. And 
it seems that everything is working as it should.

Any thoughts on this?

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp0.pgp
Description: PGP signature


Re: cyradm problem

2004-03-11 Thread Didi Rieder
--On Wednesday, March 10, 2004 01:51:40 PM -0500 Didi Rieder 
[EMAIL PROTECTED] wrote:

Hi,

I just installed the cyrus-imapd-2.2.3 and noticed the following problem
with cyradm:
[EMAIL PROTECTED] etc]# cyradm -user imap localhost
imclient_connect: unknown host localhost at
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Cyrus/IMAP/Admin.pm
line 71.
The problem seems to come from the following function call:

	getaddrinfo(host, port, hints, res0)

in lib/imclient.c on line 239

This might be Solrais 9 specific.I had to remove patch 112874-22 to get 
cyrus 2.2.3 to run at all. See also:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg17098.html

In order to remove this patch it was also necessary to remove the the 
patches 112970-06 and 113319-17 because of dependencies.

Can somone confirm this? Has someome a solution?

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp0.pgp
Description: PGP signature


Re: cyradm problem

2004-03-11 Thread Didi Rieder
--On Thursday, March 11, 2004 07:32:51 PM +0100 Mike O'Rourke 
[EMAIL PROTECTED] wrote:

Didi Rieder [EMAIL PROTECTED] 03/11/04 03:46pm 
--On Wednesday, March 10, 2004 01:51:40 PM -0500 Didi Rieder
[EMAIL PROTECTED] wrote:
Hi,

I just installed the cyrus-imapd-2.2.3 and noticed the following
problem
with cyradm:

[EMAIL PROTECTED] etc]# cyradm -user imap localhost
imclient_connect: unknown host localhost at
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Cyrus/IMAP/Admin.pm
line 71.
The problem seems to come from the following function call:

	getaddrinfo(host, port, hints, res0)

in lib/imclient.c on line 239

This might be Solrais 9 specific.I had to remove patch 112874-22 to
get
cyrus 2.2.3 to run at all. See also:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg17098.ht
ml
In order to remove this patch it was also necessary to remove the the

patches 112970-06 and 113319-17 because of dependencies.

Can somone confirm this? Has someome a solution?

Didi
Hi Didi,

I have not tried to compile cyrus-imapd on my Solaris 9 box, but I had
a similar problem with OpenLDAP 2.1.24 in that the slapd daemon would
refuse to connect, and would most of the times crash.
To fix the problem, I had to explicitely set the 'ai_protocol' member
of the 'hints' variable to '0' (as it is in Cyrus-IMAPD, it was
unspecified in OpenLDAP).
In theory, this should not be necessary, or so I understand as the C
compiler should interprit the null value as '0'. I am using gcc 3.3.2 on
my Solaris 9 box.
So, you might try this patch and see if it helps:

*** imclient.c.orig Thu Mar 11 19:28:34 2004
--- imclient.c  Thu Mar 11 19:28:50 2004
***
*** 236,241 
--- 236,242 
  hints.ai_family = PF_UNSPEC;
  hints.ai_socktype = SOCK_STREAM;
  hints.ai_flags = AI_CANONNAME;
+ hints.ai_protocol = 0;
  if (getaddrinfo(host, port, hints, res0))
return -1;
  for (res = res0; res; res = res-ai_next) {
Mike,

thanks for your answer, but unfortunately this didn't work out I still get:

imclient_connect: unknown host localhost at 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Cyrus/IMAP/Admin.pm line 
71.

Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp0.pgp
Description: PGP signature


cyradm problem

2004-03-10 Thread Didi Rieder
Hi,

I just installed the cyrus-imapd-2.2.3 and noticed the following problem 
with cyradm:

[EMAIL PROTECTED] etc]# cyradm -user imap localhost
imclient_connect: unknown host localhost at 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Cyrus/IMAP/Admin.pm line 
71.

I searched the web for solution, but didn't find anything.
Could someone please tell me a way to solve this issue?
Thanks
  Didi
--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp0.pgp
Description: PGP signature


Re: cyradm problem

2004-03-10 Thread Didi Rieder
--On Wednesday, March 10, 2004 08:34:02 PM +0100 Roland Huber 
[EMAIL PROTECTED] wrote:

Try cyradm in the following way:

cyradm -user imap -auth login localhost
or
cyradm -user root -auth login localhost
Thanks for your answer, but it doesn't seem to solve the problem.
I' also checked the dns settings and /etc/hosts everething is fine. Other 
applications work as they should and cyrus is running:

[EMAIL PROTECTED] etc]# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK zidd-198.tu-graz.ac.at Cyrus IMAP4 v2.2.3 server ready
. login imap **
. OK User logged in
Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp0.pgp
Description: PGP signature


Re: cyradm problem

2004-03-10 Thread Didi Rieder
--On Wednesday, March 10, 2004 02:10:52 PM -0600 Michael King 
[EMAIL PROTECTED] wrote:

cyradm --user imap --auth login --server zidd-198.tu-graz.ac.at
Hmm
still no luck, see:
[EMAIL PROTECTED] etc]# cyradm --user imap --auth login --server 
zidd-198.tu-graz.ac.at
imclient_connect: unknown host zidd-198.tu-graz.ac.at at 
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/Cyrus/IMAP/Admin.pm line 
71.

[EMAIL PROTECTED] etc]# nslookup zidd-198.tu-graz.ac.at
Server:  ns1.tu-graz.ac.at
Address:  129.27.2.3
Name:zidd-198.tu-graz.ac.at
Address:  129.27.24.198
Didi

--
-
Didi Rieder
[EMAIL PROTECTED]
PGPKey ID: 3431D0B0
-

pgp0.pgp
Description: PGP signature