getting user quota..

2003-01-30 Thread Andrzej Kwiatkowski

I've got one question..
how to set unit size in getquota command??

when i telnet my imap server, login, and type:

admin getquota user.username

i got:

* QUOTA user.username (STORAGE 1344 1200)


but when i execute from the shell:

cat /isp/cyrus/var/imap/quota/u/user.username

i got

1376789
1200


I would like to got 1376789 inteed of 1344
when i telnet to my imap server..


Have got any idea ??

Thanks in advance..

Andrzej Kwiatkowski



RE: getting user quota..

2003-01-30 Thread Andrzej Kwiatkowski
On Thu, 30 Jan 2003, Hafiz Malik wrote:

> quota usage in bytes..
> quota limit in kilobytes..
>
I know... but how can i setup to see all values in bytes ??

Andrzej Kwiatkowski



strange quota problem...

2003-03-31 Thread Andrzej Kwiatkowski

I have installed postfix 2.0.7 with Cyrus Imapd 2.1.12.
My problem is a bit strange.. I can send only one message for
test account:

for example after creating imap account:

bash-2.05b# cat /isp/cyrus/var/imap/quota/t/user.test123
0
20971520

and when i send mail to this account :

Mar 31 14:31:15 junak postfix/qmgr[50240]: 1BA027B0CE3:
from=<[EMAIL PROTECTED]>, size=488, nrcpt=1 (queue active)
Mar 31 14:31:15 junak postfix/pipe[50697]: 1BA027B0CE3:
to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=sent
(junak.mydomain.com)

and then:
bash-2.05b# cat /isp/cyrus/var/imap/quota/t/user.test123
673
20971520


and why i try to send second message:

ar 31 14:32:14 junak postfix/qmgr[50240]: 182F27B0CE3:
from=<[EMAIL PROTECTED]>, size=488, nrcpt=1 (queue active)
Mar 31 14:32:14 junak postfix/pipe[50697]: 182F27B0CE3:
to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced (data
format error. Command output: test123: Over quota


Where i should look for error ??

Thanks in advance
Andrzej Kwiatkowski


PostgreSQL support for SASL

2007-12-09 Thread Andrzej Kwiatkowski
Hello.

On my page http://www.kwiatek.eu.org/soft/patches/
is now available version of Cyrus Sasl library patch
for  version 2.1.22.

After applying this patch you can use PostgreSQL as
auth mechanism, and use this backend without PAM.

Next step is to create the same patch for MySQL.
-
AK

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: PostgreSQL support for SASL

2007-12-10 Thread Andrzej Kwiatkowski
Ken Murchison pisze:
> Andrzej Kwiatkowski wrote:
>> Hello.
>>
>> On my page http://www.kwiatek.eu.org/soft/patches/
>> is now available version of Cyrus Sasl library patch
>> for  version 2.1.22.
>>
>> After applying this patch you can use PostgreSQL as
>> auth mechanism, and use this backend without PAM.
>>
>> Next step is to create the same patch for MySQL.
> 
> Am I missing something?  We've had MySQL and PgSQL sasldb code for quite 
> a while.  This code can support ALL SASL mechanisms, where saslauthd can 
> ONLY support plaintext mechanisms.
> 

hello,

ok, but in this model i can't use two backends at one time,

f.e. Cyrusadmin i sasldb, users in SQL.

I need this feature, and this is why i'm using saslauthd,.

Second reason is that sasl auxprop sql doesn't support mixed usernames
(in one db users with realm and without realm).

Third reason is that sasl support one digest scheme. With this patch 
saslauthd support this password schemas in such format {SCHEME}value

{CRYPT},{UNIX} and with-openssl {MD5},{SMD5},{SHA},{SSHA},{SHA1},{SSHA1}.

Greetings
AK



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


SETACL and virtdomains

2013-08-06 Thread Andrzej Kwiatkowski
Hi.

I'm using medium scale installation, with a lot clients domains, and 
mailboxex in mutliple domains.

Now we want to add to clients functions of sharing mailboxes with some 
apps from Kolab.

In docs i have found:

   * Domains are mutually exclusive - Users only have access to
 mailboxes within their own domain (intra-domain). The following
 example will not work: setacl user.j...@herdomain.com
 r...@hisdomain.com read.

Is there any workaround ? Patch maybe ?

TO share folder from us...@domain.com to us...@domain2.com in the same 
server ?

Regards
AK

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: SETACL and virtdomains

2013-09-05 Thread Andrzej Kwiatkowski
Hi Ken,

Have you got a minute to think about my problem/question ?

Pozdrawiam
AK


W dniu 08.08.2013 02:10, Ken Murchison pisze:
> I'm on holiday at the moment. Give me another week to ponder this.
>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>
> On Aug 7, 2013, at 7:47 PM, Bron Gondwana  wrote:
>
>> On Wed, Aug 7, 2013, at 07:11 AM, Andrzej Kwiatkowski wrote:
>>> I'm using medium scale installation, with a lot clients domains, and
>>> mailboxex in mutliple domains.
>>>
>>> Now we want to add to clients functions of sharing mailboxes with some
>>> apps from Kolab.
>>>
>>> In docs i have found:
>>>
>>>   * Domains are mutually exclusive - Users only have access to
>>> mailboxes within their own domain (intra-domain). The following
>>> example will not work: setacl user.j...@herdomain.com
>>> r...@hisdomain.com read.
>>>
>>> Is there any workaround ? Patch maybe ?
>>>
>>> TO share folder from us...@domain.com to us...@domain2.com in the same
>>> server ?
>>
>> I'm afraid it's not possible in the general case without major name
>> mangling on the shared mailboxes, which is why we just don't allow it.
>>
>> I have CC'd Ken, who might also have some ideas.  Ken - do you see
>> super-strong reasons to enforce the "no sharing over domains?  The
>> biggest issue I can see is unixhs being off by default - so you can't
>> share it as:
>>
>> user.usern...@domain.com.subfolder
>>
>> because of the dots.
>>
>> user/usern...@domain.com/subfolder would work fine (you can already emulate
>> this by turning OFF virtdomains... as I discovered when people reported bugs
>> in it.
>>
>> But best of all would be unixhs on and altnamespace, so it's:
>>
>> INBOX
>> Sent
>> Other Users/usern...@domain.com/...
>>
>>
>> 
>>
>> The other alternative is to expose our internal structure even more, so 
>> people
>> see:
>>
>> domain.com!user.username.subfolder
>>
>> But that will probably cause massive pain to clients.
>>
>> Bron.
>>
>> --
>>  Bron Gondwana
>>  br...@fastmail.fm
> 
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


cyrus-sasl saslauthd and pgsql/mysql

2005-08-08 Thread Andrzej Kwiatkowski
Hello.

I've found that saslauthd is doing native authentication only in LDAP.
Mysql i Pgsql authentication can't be done by saslauthd.
Is one interested in using such configuration ?

Now i'm thinking if write patch for saslauthd to support Pgsql.

Or someone know how to make in sasl native pgsql authentication
to authenticate 2 kinds of users:

1. if i want to authenticate user: username
2. if i want to authenticate user: [EMAIL PROTECTED]

Or in short: how to completely disable realms ?

for example sql_filter should be: select password from users where uid='%s'

and i don't want to worry if user is entered in database with domain or not.

Thanks for help
AK

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


question about hardware architecture.

2005-09-30 Thread Andrzej Kwiatkowski
Helo.

I was asked to prepere hardware architecture to Cyrus based
e-mail system for large number of accounts.

What i want to propose is.

4 IBM xSeries 346 for mailbox servers.
EMC CX700 as storeage.

But i dont know how te resolve problem of mountig volumes from EMC.

I want to do this for this way:

Every server in normal way is mounting from EMC one volume on wich are
binaries and mailboxes for this instance. When this server crash, i
would like to remount this volume on the one from 3 remaining servers,
and there run this instance.

On SUN hardware i was using Veritas VM for such cluster operation.
Now on x86 i've no idea. Veritas is not good for me, because as i know,
he doesn't work on Debian or FreeBSD systems which i plan to use.

Have you got any idea ? which help me ;-)

Thanks
AK

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: question about hardware architecture.

2005-09-30 Thread Andrzej Kwiatkowski
2005/9/30, Simon Matter <[EMAIL PROTECTED]>:
> > Helo.
> >
> > I was asked to prepere hardware architecture to Cyrus based
> > e-mail system for large number of accounts.
> >
> > What i want to propose is.
> >
> > 4 IBM xSeries 346 for mailbox servers.
> > EMC CX700 as storeage.
> >
> > But i dont know how te resolve problem of mountig volumes from EMC.
> >
> > I want to do this for this way:
> >
> > Every server in normal way is mounting from EMC one volume on wich are
> > binaries and mailboxes for this instance. When this server crash, i
> > would like to remount this volume on the one from 3 remaining servers,
> > and there run this instance.
> >
> > On SUN hardware i was using Veritas VM for such cluster operation.
> > Now on x86 i've no idea. Veritas is not good for me, because as i know,
> > he doesn't work on Debian or FreeBSD systems which i plan to use.
> >
> > Have you got any idea ? which help me ;-)
>
> Just some ideas:
>
> For Linux there are some cluster FS like
> GFS (RedHat, GPL)
> GPFS (IBM)
> OCFS2 (Oracle, GPL)
> Veritas (without support on certain distr.)
> CXFS (SGI)
> I know there are more, however, I haven't used any of them.
>

Thanks. For future : I want to use EMC because of price. My emplyer
has big price reduction.
All servers will be conected through Brocade FC switches.
I don't want to mount one LUN to few servers. But i'm need to
be able to mount this LUN only once but every server need to by able
to mount this. I'll read everything you propose and then i'll write sth.
I hope you understand.

Thank in advance
AK

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: question about hardware architecture.

2005-10-10 Thread Andrzej Kwiatkowski
> > Thanks. For future : I want to use EMC because of price. My emplyer
> > has big price reduction.
> > All servers will be conected through Brocade FC switches.
> > I don't want to mount one LUN to few servers. But i'm need to
> > be able to mount this LUN only once but every server need to by able
> > to mount this. I'll read everything you propose and then i'll write sth.
> > I hope you understand.
>
> If I correctly understand you I don't think you need any of the above
> shared filesystem. Since every FS is only mounted once, there is no need
> for a special fs. Without knowing exactly I expect you can do all you need
> with http://www.linux-ha.org/.

Exactly. I need HA working solution for mounting file systems.
In example:
1 storeage with 1 lun
2 hosts.

lun i mounted (for example ext2/ext3 ) on host1.
When host one is down, i can mount this lun on host2.

I don't know how it is possible, because host1 and host2 sees this lun.

On this site i haven't found anthing on configuration based on EMC and linux.
Have got any experience ?

Thanks
AK

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 authentication

2005-10-22 Thread Andrzej Kwiatkowski
Hello.

I want to do authentication over PGSQL without pam.

So, my imapd.conf looks like:

configdirectory:/opt/mail/cyrus1/var/config
hashimapspool:  0

partition-default:  /opt/mail/cyrus1/var/mailboxes


allowplaintext: 1

sasl_mech_list: plain login

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql

sasl_sql_engine: pgsql
sasl_sql_hostnames: localhost
sasl_sql_database: isp
sasl_sql_user: isp
sasl_sql_select: SELECT password FROM users WHERE uid = '%u'
sasl_sql_verbose: yes

Entry in my PGSQL database looks like:
uid: password
kwiatek | ecb1578defd757314d30f1b571a12be4

As a password format i want to use Digest-MD5.
When i connect to imap/pop3 service, i can't authenticate.
In logs i can see:

Oct 22 20:28:14 kwiatek pop3[26686]: badlogin: localhost [127.0.0.1]
plaintext kwiatek SASL(-13): authentication failure: checkpass failed

What i'm missing ?
How to setup auth over auxprop plugin and digest-md5 passwords ?

Thanks  in advance
AK

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


Re: cyrus-sasl saslauthd and pgsql/mysql

2005-10-23 Thread Andrzej Kwiatkowski
2005/8/8, Andrzej Kwiatkowski <[EMAIL PROTECTED]>:
> Hello.
>
> I've found that saslauthd is doing native authentication only in LDAP.
> Mysql i Pgsql authentication can't be done by saslauthd.
> Is one interested in using such configuration ?
>
> Now i'm thinking if write patch for saslauthd to support Pgsql.
>
> Or someone know how to make in sasl native pgsql authentication
> to authenticate 2 kinds of users:
>
> 1. if i want to authenticate user: username
> 2. if i want to authenticate user: [EMAIL PROTECTED]
>
> Or in short: how to completely disable realms ?
>
> for example sql_filter should be: select password from users where uid='%s'
>
> and i don't want to worry if user is entered in database with domain or not.

So nobody want to help me, so i have to write patch for saslauthd.
Now is available on my homepage: http://kwiatek.tpi.pl/
I someone have any ideas about this patch , please send it to me.

Greets
AK

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 WebMail

2005-11-29 Thread Andrzej Kwiatkowski
Hello

I was wondering if someone tried to write some
webmail application for Cyrus IMAPD.

Using IMAP connection for Webmail are not this,
what i want for today.

Is there some documentation about Cyrus internal databases,
or maybe API about this stuff ?

Any other ideas about dedicated webmail?

Thanks in advance.
AK

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

Re: Cyrus WebMail

2005-11-30 Thread Andrzej Kwiatkowski
2005/11/30, Bill Kearney <[EMAIL PROTECTED]>:
> SquirrelMail!!Or it you want less bloat, try Ilohamail.> > I was wondering if someone tried to write some> > webmail application for Cyrus IMAPD.> >> > Using IMAP connection for Webmail are not this,
> > what i want for today.Why not?> > Is there some documentation about Cyrus internal databases,> > or maybe API about this stuff ?If you use an IMAP webmail client it'll work with nearly all IMAP servers.

Hello.
Thanks for your replies.
For now i'm only testing varios possibilities.

Now i'm using squirellmail in my architecture, but as for me it have some 
limitations.

For now i've got any IMAP server and it's ok, SM works great .
In future i will have four or more backend Cyrus Servers.

One possible is to have one webmail instance dedicated for
one cyrus server, second to use vlogin plugin.

I need third possibility: before login, select in sql database to get IMAP
server corresponding to login.

Vlogin has this feature, but it need special table for preferences.
I've got table with colum mailhost (used by postfix too) and i want to use it.

Have you got any idea how to do this ?
Thanks
AK


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

Re: Cyrus WebMail

2005-11-30 Thread Andrzej Kwiatkowski
2005/11/30, David Lang <[EMAIL PROTECTED]>:
> > server corresponding to login.
> >
> > Vlogin has this feature, but it need special table for preferences.
> > I've got table with colum mailhost (used by postfix too) and i want to
> > use it.
> >
> > Have you got any idea how to do this ?
> > Thanks
> > AK


> Cyrus makes this really easy, when you migrate to multiple IMAP servers
> implment cyrus murder, this makes your cluster of IMAP servers look like a
> single server to the outside world, so everything (including SM) works
> without modification with no need to do extra lookups.
>
> this also means that cyrus continues to be a black box to the outside
> world and you can move users from server to server without having to
> reconfigure anything (it's just a simple command on the murder server(s))
>
> David Lang


Hello. My mistake. I forgot about Cyrus Murder, or Perdition IMAP
Proxy and so on.

Thanks. I will try this way.

What is going on with asg.web.cmu.edu. ?
Since yesterday i've got conenction refused ?

Thanks
AK

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


Re: Cyrus Murder comments?

2006-01-05 Thread Andrzej Kwiatkowski
2006/1/4, Ken Murchison <[EMAIL PROTECTED]>:
> Anthony Chavez wrote:
> > Hi, info-cyrus!
> >
> > I'm interested in deploying Cyrus Murder, but I'm a little concerned
> > about the following quote [1]:
> >
>
> That statement is probably out of date.  The code has been running very
> reliably at CMU for a couple of years.
>

Hello.

Now i'm testing murder in my lab, but in near future i want to use it
in my email system. How many account you have at CMU ?

I will have about 400k email accounts or more.is it secure to me keep
such database on every frontend and murder master, or better way with
such large amount of email account to keep everything in central database
and use postfix maps, perdition instead of cyrus proxy service?

Could you point me in right direction ?

thanks
AK

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


question about realms/sasldb2 and cyrus admin

2006-01-05 Thread Andrzej Kwiatkowski
Hello.

I've cyrus setup based on Pgsql. I want to setup auth in this way:

sasl_pwcheck_method: auxprop saslauthd

because i don't want to store cyrus admin account in global database,
but only in local sasl2.db. And now i've problem

When i'm using saslpasswd2, account to db file are added with realms,
when i enter

admins: [EMAIL PROTECTED]

Then i can add accounts only in domain backend1.domain.com, what is
normal situation.

How can i add account to sasl2.db without realm to set up global cyrus
imapd admin ?

Any idea ?

Thanks in advance
AK

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 murder setup and big? problems

2006-01-06 Thread Andrzej Kwiatkowski
Hello.

I;m trying to setup cyrus murder

Everything is ok on communication backend->murderd->frontend

but when my frontend try to connect to backend i've got:

Jan  6 14:09:34 kwiatek imap[9856]: No worthy mechs found
Jan  6 14:09:34 kwiatek imap[9856]: couldn't authenticate to backend
server: no mechanism available

So i've read somewhere over google  to change cyrus.conf

so i've now:

 imap cmd="imapd -p 2" listen="10.0.1.102:imap" prefork=1

but it still doesn't work.

I want to use Login or Plain authentication, and i think that problem is with
SSF setting, but how to solve this ?

Have got any idea ?

Thanks in advance
AK

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


Fwd: cyrus murder setup and big? problems

2006-01-13 Thread Andrzej Kwiatkowski
Maybe someone could help me ??

Thanks
-- Forwarded message --
From: Andrzej Kwiatkowski <[EMAIL PROTECTED]>
Date: 2006-01-06 14:13
Subject: cyrus murder setup and big? problems
To: [EMAIL PROTECTED]


Hello.

I;m trying to setup cyrus murder

Everything is ok on communication backend->murderd->frontend

but when my frontend try to connect to backend i've got:

Jan  6 14:09:34 kwiatek imap[9856]: No worthy mechs found
Jan  6 14:09:34 kwiatek imap[9856]: couldn't authenticate to backend
server: no mechanism available

So i've read somewhere over google  to change cyrus.conf

so i've now:

 imap cmd="imapd -p 2" listen="10.0.1.102:imap" prefork=1

but it still doesn't work.

I want to use Login or Plain authentication, and i think that problem is with
SSF setting, but how to solve this ?

Have got any idea ?

Thanks in advance
AK

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


murder: problem with retrieving mail...

2006-01-16 Thread Andrzej Kwiatkowski
Helo..

After resolving my previous problems with authentication...
Now i've the following problem.

In theory everything is ok
Murder is working..

With LMTP i can deliver mail to 2 backend servers.

When i connect directly to backend i can auth as user
and retrieve mail via pop3 or imap..

But when i'm connecting to frontend i can only authenticate.
When i type stat or list command in pop3 protocol i can wait
for about 5 minutes and then i got connection closed and
this lines in messages:

Jan 15 19:49:10 kwiatek BACKEND1/imap[4544]: idle for too long,
closing connection
Jan 15 19:49:10 kwiatek FRONTEND1/imap[4554]: Fatal error: Lost
connection to input stream
Jan 15 19:49:41 kwiatek BACKEND1/imap[4557]: idle for too long,
closing connection
Jan 15 19:49:41 kwiatek FRONTEND1/imap[4556]: Fatal error: Lost
connection to input stream


I'm using Imapd 2.3.1...

In IMAP protocol select inbox command is succeded, but command to
retrieve mail is failed.

Have got any helpful idea?


Thanks in advance
AK

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 imap viewing user's mails

2006-01-25 Thread Andrzej Kwiatkowski
Hello..

I've got one client who wants to view his employers
e-mails... Is this possible with Cyrus Imapd ?

I've got any idea how to do this ?

Maybe You can help me :-)

thanks in advance
AK

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


0 to 1 migration ;-)

2006-01-26 Thread Andrzej Kwiatkowski
Hello..

As for now my new email system has 10 account,
and i've noticed that i should have unixhierearchysep=1
setting..

How to change this without problems ?

Only log as cyrus admin, and do rename of mailboxes ?
Or only in client webmail, and in admin panel ?

Thanks
AK

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


autocreate inbox patch..

2006-02-01 Thread Andrzej Kwiatkowski
Hello
I would like to use this patch for Cyrus 2.3.1,
but i dont want it to create folders, but only to create default
INBOX but only to automating creating sieve scripts.
I'm using autosieve folder patch too.

Now i setup my imapd.conf in this way:

autosievefolders: spam
autocreate_sieve_compiledscript:
/opt/cyrus/imapd-2.3.1/etc/default_sieve_script.bc

I can create inbox automaticly, because of quota setting which is different
for each user.

When user is logging to cyrus, there is no sieve script inside.

Have got any idea ?

Thanks
AK

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


Re: cyrus imap viewing user's mails

2006-02-10 Thread Andrzej Kwiatkowski
2006/1/25, Joseph Brennan <[EMAIL PROTECTED]>:
>
>
> --On Wednesday, January 25, 2006 11:56 +0100 Andrzej Kwiatkowski
> <[EMAIL PROTECTED]> wrote:
>
> > Hello..
> >
> > I've got one client who wants to view his employers
> > e-mails... Is this possible with Cyrus Imapd ?
> >
> > I've got any idea how to do this ?
>
>
> Set the ACLs on the mailbox(es) to allow the snooper to read.
>

Hello

After testing and other work, today i've returned to this task.
With ACL everything looks ok, but (always is some "but")
when i try to set acl in this way

? setacl user/[EMAIL PROTECTED] [EMAIL PROTECTED] lr

I got:

No response.

So everythins is ok when i'm using 2 account from the same domain,
Is it possible to do this in my way

Greets
AK

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


shared folders - question

2006-02-13 Thread Andrzej Kwiatkowski
Hello.. I'm trying to use shared folders in cyrus to view user mail by admin.
And for doing this i enter as cyrusadmin
(user1 wants to read user2 mail)

setacl user/[EMAIL PROTECTED] [EMAIL PROTECTED] lr

whene user2 creates some folder user1 can read it.

But problem is when i want to remove access for user2 mailbox.
I try to do in this way:

? deleteacl user/[EMAIL PROTECTED] [EMAIL PROTECTED]

but this remove access only to INBOX folder, any other subfolder are
still available.

How can i find all mailbox which are available for partical user with
cyrusadmin
account ?

select user/[EMAIL PROTECTED]
FIND ALL.MAILBOXES *

List all mailboxes for cyrusadmin bot not for [EMAIL PROTECTED]

Could someone help me ?

Thanks
AK

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


Migrating from mbox - urgent help needed

2006-02-24 Thread Andrzej Kwiatkowski
HelloI've noticed such problem with imapd 2.3.1users mailbox dir:-rw-r--r--  1 cyrus cyrus   7691 2006-02-24 09:25 1.-rw-r--r--  1 cyrus cyrus   2209 2006-02-24 09:25 2.-rw---  1 cyrus cyrus 236180 2006-02-24 09:25 3.
-rw---  1 cyrus cyrus 116289 2006-02-24 09:25 4.-rw---  1 cyrus cyrus   5508 2006-02-24 09:31 cyrus.cache-rw---  1 cyrus cyrus    206 2006-02-24 09:31 cyrus.header-rw---  1 cyrus cyrus    364 2006-02-24 09:31 
cyrus.indexdrwx--  2 cyrus cyrus 61 2006-02-24 00:54 Draftsdrwx--  2 cyrus cyrus   4096 2006-02-24 09:31 Sentdrwx--  2 cyrus cyrus 61 2006-02-24 00:54 Spamdrwx--  2 cyrus cyrus 61 2006-02-24 00:54 Trash
To subfolder created with clienti put some messages:-rw-r--r--  1 cyrus cyrus    5000 2006-02-24 09:26 97.-rw-r--r--  1 cyrus cyrus    2531 2006-02-24 09:26 98.-rw-r--r--  1 cyrus cyrus   47891 2006-02-24 09:26 99.
-rw---  1 cyrus cyrus   4 2006-02-24 09:31 cyrus.cache-rw---  1 cyrus cyrus 206 2006-02-24 00:54 cyrus.header-rw---  1 cyrus cyrus  76 2006-02-24 09:31 cyrus.indexmessages are numbered from 1 to 99.
then recontruct as cyrus user:./reconstruct -f user/[EMAIL PROTECTED]then ls cyrus.*-rw---  1 cyrus cyrus   4 2006-02-24 09:31 cyrus.cache-rw---  1 cyrus cyrus 206 2006-02-24 00:54 
cyrus.header-rw---  1 cyrus cyrus  76 2006-02-24 09:31 cyrus.indexAnd messages are not visible via IMAP...How Can i rebuild this subfolder indexes ??ThanksAK

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: Migrating from mbox - urgent help needed

2006-02-24 Thread Andrzej Kwiatkowski
2006/2/24, Craig White <[EMAIL PROTECTED]>:
> On Fri, 2006-02-24 at 09:35 +0100, Andrzej Kwiatkowski wrote:
> > Hello
> >
> > I've noticed such problem with imapd 2.3.1
> >
> > users mailbox dir:
> >
> > -rw-r--r--  1 cyrus cyrus   7691 2006-02-24 09:25 1.
> > -rw-r--r--  1 cyrus cyrus   2209 2006-02-24 09:25 2.
> > -rw---  1 cyrus cyrus 236180 2006-02-24 09:25 3.
> > -rw---  1 cyrus cyrus 116289 2006-02-24 09:25 4.
> > -rw---  1 cyrus cyrus   5508 2006-02-24 09:31 cyrus.cache
> > -rw---  1 cyrus cyrus206 2006-02-24 09:31 cyrus.header
> > -rw---  1 cyrus cyrus364 2006-02-24 09:31 cyrus.index
> > drwx--  2 cyrus cyrus 61 2006-02-24 00:54 Drafts
> > drwx--  2 cyrus cyrus   4096 2006-02-24 09:31 Sent
> > drwx--  2 cyrus cyrus 61 2006-02-24 00:54 Spam
> > drwx--  2 cyrus cyrus 61 2006-02-24 00:54 Trash
> >
> >
> > To subfolder created with client
> > i put some messages:
> > -rw-r--r--  1 cyrus cyrus5000 2006-02-24 09:26 97.
> > -rw-r--r--  1 cyrus cyrus2531 2006-02-24 09:26 98.
> > -rw-r--r--  1 cyrus cyrus   47891 2006-02-24 09:26 99.
> > -rw---  1 cyrus cyrus   4 2006-02-24 09:31 cyrus.cache
> > -rw---  1 cyrus cyrus 206 2006-02-24 00:54 cyrus.header
> > -rw---  1 cyrus cyrus  76 2006-02-24 09:31 cyrus.index
> >
> > messages are numbered from 1 to 99.
> >
> > then recontruct as cyrus user:
> >
> > ./reconstruct -f user/[EMAIL PROTECTED]
> >
> > then ls cyrus.*
> >
> > -rw---  1 cyrus cyrus   4 2006-02-24 09:31 cyrus.cache
> > -rw---  1 cyrus cyrus 206 2006-02-24 00:54 cyrus.header
> > -rw---  1 cyrus cyrus  76 2006-02-24 09:31 cyrus.index
> >
> > And messages are not visible via IMAP...
> >
> >
> > How Can i rebuild this subfolder indexes ??
> -
> try ./reconstruct -fr user/[EMAIL PROTECTED]
>
> note^  #r for recursive
>

It doesn't work ... I've solved this by
typing

./reconstruct -f user/sk/[EMAIL PROTECTED]

I've try to look with strace what is going on and reconstruct
even didn't try to reconstruct subfolders indexes.. Maybe BUG ;-)

Greets
AK

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


Re: Cyrus IMAPd 2.3.2 Released

2006-02-27 Thread Andrzej Kwiatkowski
2006/2/27, Ken Murchison <[EMAIL PROTECTED]>:
> Larry Rosenbaum wrote:
> > Has something changed in the database format?  I upgraded a test system from
> > v2.3.1 to v2.3.2 and it didn't seem to like the deliver.db file:
>

I don't checked in doc/ files but what with bug in murder enviroment
on frontend installation ??

Have you fixed this ? For me this should be as minor bugfix ;-)

Thanks
AK

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


cleaning up mailbox.

2006-03-28 Thread Andrzej Kwiatkowski
Hello.

I've got next question.

My boss want to add next feature to clients.
He wants to take possibility to push some kind of
button which in action remove all mails from mailbox which are older f.e
7 days.

I've read about popexpiretime, but my boss want to do this via
configuration panel.

So maybe someone could write example IMAP session for this ?
Or any other solutions ?

Thanks in advance
AK

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: cleaning up mailbox.

2006-03-30 Thread Andrzej Kwiatkowski
2006/3/28, Ken Murchison <[EMAIL PROTECTED]>:
> Andrzej Kwiatkowski wrote:
>
> You'll probably want to do something like this in your client:
>
> SEARCH BEFORE 
> STORE  +flags \deleted
> EXPUNGE
>
Thanks.

But this will list mails only from selected mailbox...

Now i have to find all mailbox and now is a trouble:

when doing:

? LIST "%" "user/kwiatek/[EMAIL PROTECTED]"

i get: (also dir for other user !).
* LIST (\HasChildren) "/" "user/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
* LIST (\HasChildren) "/" "user/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"

How to list all submailboxes for particular user when connecting
as cyrusadmin ?
Any other idea?

Thanks for advance
AK

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: cleaning up mailbox.

2006-03-30 Thread Andrzej Kwiatkowski
2006/3/30, Ken Murchison <[EMAIL PROTECTED]>:
> Andrzej Kwiatkowski wrote:
> > 2006/3/28, Ken Murchison <[EMAIL PROTECTED]>:
> >> Andrzej Kwiatkowski wrote:
> >>
> >> You'll probably want to do something like this in your client:
> >>
> >> SEARCH BEFORE 
> >> STORE  +flags \deleted
> >> EXPUNGE
> >>
> > Thanks.
> >
> > But this will list mails only from selected mailbox...
> >
> > Now i have to find all mailbox and now is a trouble:
> >
> > when doing:
> >
> > ? LIST "%" "user/kwiatek/[EMAIL PROTECTED]"
> >
> > i get: (also dir for other user !).
> > * LIST (\HasChildren) "/" "user/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek/[EMAIL PROTECTED]"
> > * LIST (\HasChildren) "/" "user/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"
> > * LIST (\HasNoChildren) "/" "user/kwiatek2/[EMAIL PROTECTED]"
> >
> > How to list all submailboxes for particular user when connecting
> > as cyrusadmin ?
> > Any other idea?
>
> Proxy (using TLS+PLAIN or DIGEST-MD5) as the user.
>
hmmm..

As auth method i'm using saslauthd with my patch for using openssl
to store passwords in PostgreSQL..
Is there any way to use this or rather i have to add plugin for digest-md5,
and add in imapd.conf:

sasl_mech_list: digest-md5 login plain
sasl_pwcheck_method: saslauthd,auxprop
sasl_auxprop_plugin: sasldb

and

proxy_authname: [EMAIL PROTECTED]

This is not good, because for every account cyrus would like to find an account
in sasldb, and then in logs i've lot of entries "no user" or something
like this :(

And how can i with telnet do proxy-auth ? I cannot find this :(

Thanks
AK

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: expected release date for cyrus-imapd-2.3.4?

2006-04-19 Thread Andrzej Kwiatkowski
2006/4/19, Ken Murchison <[EMAIL PROTECTED]>:
> Khalid Mehmood wrote:
> > What is the expected release date of
> > cyrus-imapd-2.3.4?
>
> Hadn't even thought about it?
>
> Is there a particular fix that you are looking for?
>
>

Hi. I'm not sure if this what i need is in 2.3.3.

But what with murder support for sieved ?
I've read recently, that there is no proxy service for this
and client should connect directly to backend.

I want to use squirrelmail with avelsieve, but this
has no right to work with multiple backends...

Am i right ?

Thanks
AK

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


SAN based storage

2006-04-19 Thread Andrzej Kwiatkowski
Hi

I'm going to build email-system based on cyrus with SAN storage.
As an array i will use CX700.

For every instance i'g going to build raid group from 9 146GB disks.

I've noticed that in last version of imapd is possibility to separate
mail files and meta files.

Does it make sense to seperate mailboxes and metafiles, and/or sieve
files, mboxlist partiotion
when using SAN storage with big performance ?

I know that with normal disk this is very important,
bot it this situation i this this make no sense.

Thanks for help
AK

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


prepare large site migration

2006-04-30 Thread Andrzej Kwiatkowski

Hi.

I'm preparing for migrating about 30k account from
Netscape Messaging Server to Cyrus (yeah... cyrus rules, NMS sucks ;-) )

And now i want to find out the best solutions for this.
NMS has very similar structure of mailboxes

1. Imap Copy
2. Tar ; untar mailbox and reconstruct,
3. Get mails from old mailbox and send directly to deliver process or to lmtpd.


What is the best idea and the fastest.
There are about 50Gigs of data.


Thanks
AK

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


separating auth mechs in murder env

2006-05-28 Thread Andrzej Kwiatkowski

Hi.

I would like to separate auth mechanism in my murder env

1. Client auth to frontend via saslauthd
2. backend and frontend auth to murder via digest-md5 in sasldb
3. frontend to backend auth via digest-md5 in sasldb


But i've got seriously problem.

How can i create admin user for backend without "@" ?
When i create [EMAIL PROTECTED] this user can't
create mailboxes outside domain mail1.lab which is not
acceptable by me.

Is there any other solution ? Or i've to auth this user
via ldap ? or any other mechanism without realm ?

Thanks
AK

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: v2.3.6 message delete causes signal 10

2006-05-31 Thread Andrzej Kwiatkowski

2006/5/30, Rosenbaum, Larry M. <[EMAIL PROTECTED]>:

> -Original Message-
> From: Ken Murchison [mailto:[EMAIL PROTECTED]
...
>  Rosenbaum, Larry M. wrote:
> > I have just installed Cyrus IMAP v2.3.6 on a test system.
> > Whenever
> >>> I
> > try to delete a message in my INBOX, the delete fails and I see
> > the


Hi.

I've noticed the same with 2.3.6 on RH EL 4 U3 on x86.
In murder enviroment:

May 31 16:34:34 crater PROXY3/imap[2287]: open: user
[EMAIL PROTECTED] opened INBOX on mail1.lab
May 31 16:34:34 crater PROXY3/master[2285]: process 2287 exited,
signaled to death by 11


thanks for help
AK

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: v2.3.6 message delete causes signal 10

2006-05-31 Thread Andrzej Kwiatkowski

2006/5/31, Rosenbaum, Larry M. <[EMAIL PROTECTED]>:



> > > I have just installed Cyrus IMAP v2.3.6 on a test system.
Whenever I
> > > try to delete a message in my INBOX, the delete fails and I see
the
> > > following message in the log file:
> > >
> > > May 26 11:41:01  master[10821]: [ID 970914 local6.error]
process
> > > 10841 exited, signaled to death by 10
...


I've done some debug

symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/libsasldb.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/libsasldb.so.2
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/libdigestmd5.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/libdigestmd5.so.2
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/liblogin.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/liblogin.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/libplain.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/libplain.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  0x080945f4 in prot_printf (s=0x86df658, fmt=0x80aa539 " %s ") at prot.c:960
960 prot_write(s, p, strlen(p));
(gdb) backtrace
#0  0x080945f4 in prot_printf (s=0x86df658, fmt=0x80aa539 " %s ") at prot.c:960
#1  0x08051233 in cmd_store (tag=0x86de598 "A005", sequence=0x86de678
"2", usinguid=1) at imapd.c:4168
#2  0x0805f507 in cmdloop () at imapd.c:1639
#3  0x08060653 in service_main (argc=3, argv=0x86d5008,
envp=0xbfff5704) at imapd.c:789
#4  0x0804c52d in main (argc=3, argv=0xbfff56f4, envp=0xbfff5704) at
service.c:532

I hope it helps with to relase patch ASAP.

thanks
AK

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: v2.3.6 message delete causes signal 10

2006-06-05 Thread Andrzej Kwiatkowski

2006/6/1, Andrzej Kwiatkowski <[EMAIL PROTECTED]>:

2006/5/31, Rosenbaum, Larry M. <[EMAIL PROTECTED]>:
>
>
> > > > I have just installed Cyrus IMAP v2.3.6 on a test system.
> Whenever I
> > > > try to delete a message in my INBOX, the delete fails and I see
> the
> > > > following message in the log file:
> > > >
> > > > May 26 11:41:01  master[10821]: [ID 970914 local6.error]
> process
> > > > 10841 exited, signaled to death by 10
> ...

I've done some debug

 symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/libsasldb.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/libsasldb.so.2
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/libdigestmd5.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/libdigestmd5.so.2
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/liblogin.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/liblogin.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /opt/proxy/sasl-2.1.22/lib/sasl2/libplain.so.2...done.
Loaded symbols for /opt/proxy/sasl-2.1.22/lib/sasl2/libplain.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  0x080945f4 in prot_printf (s=0x86df658, fmt=0x80aa539 " %s ") at prot.c:960
960 prot_write(s, p, strlen(p));
(gdb) backtrace
#0  0x080945f4 in prot_printf (s=0x86df658, fmt=0x80aa539 " %s ") at prot.c:960
#1  0x08051233 in cmd_store (tag=0x86de598 "A005", sequence=0x86de678
"2", usinguid=1) at imapd.c:4168
#2  0x0805f507 in cmdloop () at imapd.c:1639
#3  0x08060653 in service_main (argc=3, argv=0x86d5008,
envp=0xbfff5704) at imapd.c:789
#4  0x0804c52d in main (argc=3, argv=0xbfff56f4, envp=0xbfff5704) at
service.c:532

I hope it helps with to relase patch ASAP.



Just remembering ;-)

Thanks
AK

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


Best available version for use from 2.3.x branch

2006-06-06 Thread Andrzej Kwiatkowski

Hi.

Which from versions of cyrus are now the best for production ?
2.3.6 have problems with deleting
2.3.3 had problems with mupdate ...

2.3.1 ??

Thanks
AK

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

2006-06-17 Thread Andrzej Kwiatkowski

Hi;

I;ve 2.2.12 on frontend and 2.3.6 on backend, but
i;ve tried this with 2.3.6 on frontend too.

When i connect from SQ avelsieve to sieve on frontend
i only see three actions:
keep
drop
forward.

Whene i connect with SQ directly to backend
i've vacation, move to folder and so on.

What i'm doing wrong ?

Thanks
AK

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


defeated about Murder.....

2006-06-18 Thread Andrzej Kwiatkowski

Hi..

I'was thinking that Murder is a very good concept for cyrus...
Till today.

I've started some performance test:

I've 4 MTA with Postfix+Cyrus frontend 2.2.12
4 backend with Cyrus 2.3.6
and 1 Mupdate with cyrus 2.2.12.

I've started with smtp-stone sending
3000 msg (1000 for each of 3 users on 1 backend).

Backend load was very low.

But in this time mupdate have load about 1,5 (why ?)
The concept was that mupdate is only for changing location of
mailboxes... My frontend have information on mailboxes (checked with
ctl_mboxlist -d) but they still are looking in mupdate which causes high load
and SIGSEGV...
Which causes lmtpproxy to drop connecitons and growing queue in postfix...

Am i doing something wrong ?
Authentication is doing by sasl digest-md5 to avoid SQL database performance,
so i think this is no problem..

So why mupdate causes such problems ?

Thanks
AK

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: defeated about Murder.....

2006-06-18 Thread Andrzej Kwiatkowski

2006/6/18, Wesley Craig <[EMAIL PROTECTED]>:

We have patches to lmtpproxyd to refer to the local mailboxes.db,
which greatly improves performance.

:wes


Hi,

could you send Your patch, please ?
Thanks
AK

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: defeated about Murder.....

2006-06-18 Thread Andrzej Kwiatkowski

2006/6/18, Wesley Craig <[EMAIL PROTECTED]>:

On 18 Jun 2006, at 16:07, Andrzej Kwiatkowski wrote:
> could you send Your patch, please ?

Sure.  Look here:

http://cvs.itd.umich.edu/cgi-bin/cvsweb.cgi/lfs/cyrus-imap23/
lmtpproxyd.diff?rev=1.1

These are actually against Cyrus IMAP 2.2.x, tho I'm in the process
of moving them forward to 2.3.x.


Thanks,
on frontends i want to use 2.2. becuase of deletion bug which is unresolved.
So this patch is a great for me .

It was possible to force postfix to send directly to backend, but this
was next query
to SQL ...

I'll try this patch :-)
Thanks

Could you write for what are the others patches ?

AK

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: defeated about Murder.....

2006-06-19 Thread Andrzej Kwiatkowski

2006/6/19, Ken Murchison <[EMAIL PROTECTED]>:

Andrzej Kwiatkowski wrote:
> 2006/6/18, Wesley Craig <[EMAIL PROTECTED]>:
>
>> On 18 Jun 2006, at 16:07, Andrzej Kwiatkowski wrote:
>> > could you send Your patch, please ?
>>
>> Sure.  Look here:
>>
>> http://cvs.itd.umich.edu/cgi-bin/cvsweb.cgi/lfs/cyrus-imap23/
>> lmtpproxyd.diff?rev=1.1
>>
>> These are actually against Cyrus IMAP 2.2.x, tho I'm in the process
>> of moving them forward to 2.3.x.
>
>
> Thanks,
> on frontends i want to use 2.2. becuase of deletion bug which is
> unresolved.

What bug is this?  Is it in bugzilla?



The thread from 26.05 : v2.3.6 message delete causes signal 10
I don't know if it is in bugzilla :-)

Thanks
AK

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: what is the best way to migrate

2006-06-22 Thread Andrzej Kwiatkowski

2006/6/22, Timo Schoeler <[EMAIL PROTECTED]>:

On Thu, 22 Jun 2006 11:40:46 +0200
Eric Doutreleau <[EMAIL PROTECTED]> wrote:

> Well
>
> we re planning to change our old cyrus imap server to a brand new one
> and we re wondering what would be the best way to do that.
>
> our old server is based on a cyrus 2.2.10 and we will migrate to a 2.3.6
> version.
>
> we have to copy the mailboxes from an old disks to new ones with a
> different partition layout
>
> we move from 26 partiton to 4 partitions.
>
> we would love to keep the state of messages in our users folders and to
> minimize the downtine.
>
> what is the best way to migrate?
>
> Thanks in advance for any help

http://www.linux-france.org/prj/imapsync/

helped me several times. it's an awesome tool imho ;)

HTH,


Hi.

Now i'm using imapsync to migrate over 40k accounts..
I'ts quite good tool ;-)

greets
AK

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


timsieved SIGSEGV

2006-06-28 Thread Andrzej Kwiatkowski

Hi,

I've noticed error with timsieved when invoking with -C param.

in cyrus.conf:

sievecmd="timsieved " listen="127.0.0.1:2000" prefork=0

and logs:

process 17215 exited, signaled to death by 11
service sieve pid 17215 in READY state: terminated abnormally
about to exec /opt/mail1/imapd-2.3.6/service/timsieved
process 17216 exited, signaled to death by 11
service sieve pid 17216 in READY state: terminated abnormally
about to exec /opt/mail1/imapd-2.3.6/service/timsieved
process 17217 exited, signaled to death by 11
service sieve pid 17217 in READY state: terminated abnormally
about to exec /opt/mail1/imapd-2.3.6/service/timsieved
process 17218 exited, signaled to death by 11
service sieve pid 17218 in READY state: terminated abnormally
about to exec /opt/mail1/imapd-2.3.6/service/timsieved

version is 2.3.6 .

I need to seperate auth from imap which is done via digest-md5 and murder
from sieve which should auth with saslauthd and login/plain method.

Thanks for help
AK

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: defeated about Murder.....

2006-07-03 Thread Andrzej Kwiatkowski

>>
>> What bug is this?  Is it in bugzilla?
>>
>
> The thread from 26.05 : v2.3.6 message delete causes signal 10

Ah, right.  This has been fixed in CVS for a while.



Hi next thing.

My master mupdate mailboxes.db has only 13MB
but synchronization last almost 1hour with speed about 30 kb/s.

Is it possible to do it faster ?

And before full synchronization, cyrus accepts new connection ? I this
this shoul be disabled.

Thanks
AK

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


Re: Cyrus 2.4 and debug

2018-12-01 Thread Andrzej Kwiatkowski
W dniu 01.12.2018 o 12:22, chose pisze:
>Good afternoon,
>I've setup debug: 1 in the imapd.conf, created log/ directory 
> with owner cyrus, but I do not see any log. What did I missed ?
>Cyrus imap is slow, reading emails takes a seconds, server is not 
> loaded. After some verifications I thing that cyrus imap (also whole 
> server is restarted) has some problems. Or not, but how to be sure he 
> has no internal problems that could be found with debug.
>Thanks and best regards
>J.Karliak
> 

Check your random number source, maybe you need to run rngd or something
similar.

Regards
AK

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Replication failed 3.0.5 -> 3.0.13

2020-04-22 Thread Andrzej Kwiatkowski
W dniu 20.04.2020 o 16:11, Olaf Frączyk pisze:
> Hi,
> 
> I'm running 3.0.5.
> 
> I want to migrate to a new machine. I set up cyrus-imapd 3.0.13.
> 
> The replication started but it didn't transfer all mails.
> 
> The store isn't big 44GB, transferred was about 24 GB.
> 
> In the logs I see:
> 
Olaf,

Do you install 3.0.13 on vm or bare-metal ?

Regards
AK

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Replication failed 3.0.5 -> 3.0.13

2020-04-29 Thread Andrzej Kwiatkowski
W dniu 22.04.2020 o 10:19, Olaf Frączyk pisze:
> On 2020-04-22 09:16, Andrzej Kwiatkowski wrote:
>> W dniu 20.04.2020 o 16:11, Olaf Frączyk pisze:
>>> Hi,
>>>
>>> I'm running 3.0.5.
>>>
>>> I want to migrate to a new machine. I set up cyrus-imapd 3.0.13.
>>>
>>> The replication started but it didn't transfer all mails.
>>>
>>> The store isn't big 44GB, transferred was about 24 GB.
>>>
>>> In the logs I see:
>>>
>> Olaf,
>>
>> Do you install 3.0.13 on vm or bare-metal ?
>>
>> Regards
>> AK
> 
> I have it installed in VM - CentOS 7, now 8. This setup worked OK for 
> many years. But I have only a few users, just with big mailboxes.
> 
> On SAS drives it works fine. The only longlock I saw was during the 
> replication - I suppose transferring 20.000 big messages at once per 
> mailbox could cause it. But in normal usage I don't see it.
> 
> The cause of my problem was my ignorance regarding how rolling 
> replication works in cyrus. It works OK now :)
> 
> Regards,
> 
> Olaf
> 
Ok.

I was asking because of problem with low entropy on VM-s causing
performance issues with big installations.

I've also noticed that replication documentation is a bit tricky,
and not every procedure/case is well documented.

Regards
AK

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

sieve redirect issue

2016-03-11 Thread Andrzej Kwiatkowski via Info-cyrus
Hi,

I've noticed that in cyrus 2.4.17 with redirection in sieve enabled and
used source email on imap is changed:

On mta:

from=

On imap after redirect:

from=

Have got any idea?

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus