Re: MUPDATE master server

2003-03-07 Thread marc . bigler

Thanks for the answer.  I was reading the IMAP Aggregoatr: A Murder of IMAP
Servers (ag.html) that's why I didn't find my answer in that document.

So if I can only have one single MUPDATE master server the others would be
slaves right ?

What would then happen to mails when the MUPDATE master server goes down ?
Will mail be undelivered and be bounced back ? I would like to avoid the
MUPDATE master server to become the single point of failure.

Regards
Marc




   
 
   
 
Rob Siemborski   To: [EMAIL PROTECTED] 
   
[EMAIL PROTECTED]   cc: [EMAIL PROTECTED] 
   
mu.edu  Subject: Re: MUPDATE master server
 
   
 
03/07/03 05:04 
 
PM 
 
   
 
   
 




On Fri, 7 Mar 2003 [EMAIL PROTECTED] wrote:

 I am a bit confused on where should be ran the MUPDATE master server,
 should it be running on a Front End server, Back End Server or maybe a
 seperate server ? The documentation is not very explicit about this I
 think.

From the documentation (install-murder.html):

 * One machine to become the MUPDATE master server. This can be the
   same as one of your frontend servers.

Presumably you could also run it on a backend with a separate imapd.conf
file.

 Also is it possible to have two MUPDATE master servers for
 redundancy ?

No.

 I am looking to the best way to get a maximum of redundancy and high
 availabilty between two different geographical sites where we would be
 running Cyrus v2.2. Are there maybe any examples around ?

The murder won't increase your redundancy.  It will only reduce the impact
of a failure.

-Rob

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








Re: MUPDATE master server

2003-03-07 Thread marc . bigler


Its possible.  Make sure you understand that you're doing this for the
shared namespace though, otherwise you almost certainly want a more
traditional IMAP proxy like perdition.

The main advantage that we are interested in is that we would have two IMAP
connection points for clients located in two different geographical
locations. The user which would connect wouldn't care at which locations he
connects to the front end server because the frontend server would know on
which back end server his mailbox is.

I think you should be sure Murder is what you want before you jump into
it.  It solves a very special problem that most people don't have.

I think I will wait until Murder gets some kind of replication integrated
as that would really give a big plus to the whole concept. You would then
also have high availability.

Thanks again for your comments

Regards
Marc



Re: virtual domains in Cyrus 2.2

2003-01-25 Thread marc . bigler

If you have the 2.2 code, its doc/install-virtdomains.html (linked from
doc/install.html).  Otherwise, you get get it from CVSweb:
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/~checkout~/src/cyrus/doc/Attic/install-virtdomains.html?rev=1.1.2.5content-type=text/htmlhideattic=0

Well I have checked out branch cyrus-imapd-2_2 from CVS but the
install-virtdomains.html doc was not there, did i check out the wrong
branch maybe ?

The document is still a little sparse.  I haven't touched this doc in
quite a while and need to get back to it soon.
Yes, you need the fully qualified username passed in RCPT TO.  Users in
the defaultdomain (if configured) can be passed unqualified.

The documentation is enough to start with, now I was just wondering if
Sendmail per default passes the fully qualified username, I don't think so.
Do you know how to make it pass the FQ username ? That would be a little
point to add into the documentation I think.

Thanks for the help

Regards




virtual domains in Cyrus 2.2

2003-01-24 Thread marc . bigler
Hello,

Is there any documentation around on how to use the virual domains feature
which is available in Cyrus 2.2 from CVS ? If no, could maybe someone tell
me how do I enable this ?

Another question regarding this feature, from the MTA point of view does
that mean that the MTA needs to pass the account name as the full email
address ([EMAIL PROTECTED]) ? I am asking this because then I will need to
change my virtualuser table and such, right ?

Thanks
Regards




Re: cvs cyrus-imapd-2_2 and quota with virualdomain

2003-01-21 Thread marc . bigler

Hi,

From the previous posts in this mailing list about virutal domains I can
remember reading something about running mkimap before you could setup
virtual domain mailboxes... Try to browse this mailing list with some
keywords like virtual domains... I guess that's your problem.

Regards
Marc




   
   
   
   
Vittorio Manfredini   To: 
[EMAIL PROTECTED]
 
[EMAIL PROTECTED] cc:  
   
Sent by:  Subject: cvs cyrus-imapd-2_2 
and quota with virualdomain
[EMAIL PROTECTED]
   
ew.cmu.edu 
   
   
   
   
   
01/21/03 11:10 AM  
   
   
   
   
   





I just install to test the cvs version and I activate it on a machine using
a
virtual domain.

All seem to work fine, but when I try to set quota on a virtual domain
mailbox I
have an I/O error.

When I read the log file I found this error :
Jan 21 11:08:06 www imap[1614]: IOERROR: creating quota file
/var/imap/domain/S/dotalia.com/quota/P/user.franro.NEW: No such file or
directory

dotalia.com is the virtual domain
[EMAIL PROTECTED] is the user name

what is strange is that the directory /var/imap/domain/S/ is empty, because
the
domain was created under /var/imap/domain/d/

It is a bug or maybe I did same error with the configuration ?

vittorio


-
This mail sent through IMP: http://horde.org/imp/







Re: cyrus as trusted user in sendmail

2003-01-20 Thread marc . bigler

Hi Igor,

Exaclty it's sieve mails which have the sendmail warning header because of
the use of the -f flag, thanks ! I will go and fix my trusted users...

Regards
Marc



   
  
   
  
Igor Brezac  To: [EMAIL PROTECTED]   
  
[EMAIL PROTECTED]   cc: [EMAIL PROTECTED]   
  
t   Subject: Re: cyrus as trusted user in 
sendmail  
   
  
01/20/03 03:09 
  
AM 
  
Please respond 
  
to info-cyrus  
  
   
  
   
  




On Sun, 19 Jan 2003 [EMAIL PROTECTED] wrote:



 Only if sendmail references files owned by the cyrus username.  lmtp
 socket may qualify depending on your setup.

 Are there no cases where cyrus itselfs submits messages using directly
 /usr/lib/sendmail ? I would like to avoid the warning header sendmail
used

Sieve does that.  In this case you need to add the cyrus user to trusted
users list in the MSP config (submit.cf).  Notice trusted users list as
opposed trusted user.  Two different things.

 the -f flag to send the from address. How does then Cyrus send it's
 auto-generataed failure messages like when there are no mailbox at
address
 [EMAIL PROTECTED] ?

lmtp will tell sendmail that such an address is not there and sendmail
will send a bounce message back to the sender (MSP is not in the loop
here).

--
Igor










Pre-forking strange behaviour

2003-01-19 Thread marc . bigler
Hello,

I've just remarked a strange behaviour of the master process presumably. I
am using the same cyrus.conf as the prefork.conf example configuration
file.

So now what I've remarked is that just after starting cyrus's master
process it starts the following processes:

hostname% ps -fu cyrus
 UID   PID  PPID  CSTIME TTY  TIME CMD
   cyrus   855   846  0 23:15:12 pts/10:00 lmtpd
   cyrus   852   846  0 23:15:11 pts/10:00 imapd -s
   cyrus   854   846  0 23:15:12 pts/10:00 pop3d -s
   cyrus   853   846  0 23:15:11 pts/10:00 pop3d
   cyrus   850   846  0   0:00 defunct
   cyrus   851   846  0 23:15:11 pts/10:00 imapd
   cyrus   846 1  0 23:15:10 pts/10:00 /opt/cyrimap/bin/master

As you can see here the is a zombie process defunct and it didn't fork
the processes correctly as in the config file (5 imapd, 3 pop3, and so on).
But after waiting 1 or sometimes 2 minutes then it forks all the required
processes correctly as you can see here:

hostname% ps -fu cyrus
 UID   PID  PPID  CSTIME TTY  TIME CMD
   cyrus   859   846  0 23:17:28 pts/10:00 imapd
   cyrus   861   846  0 23:17:28 pts/10:00 imapd
   cyrus   864   846  0 23:17:29 pts/10:00 pop3d
   cyrus   863   846  0 23:17:29 pts/10:00 pop3d
   cyrus   855   846  0 23:15:12 pts/10:00 lmtpd
   cyrus   862   846  0 23:17:29 pts/10:00 imapd
   cyrus   852   846  0 23:15:11 pts/10:00 imapd -s
   cyrus   860   846  0 23:17:28 pts/10:00 imapd
   cyrus   854   846  0 23:15:12 pts/10:00 pop3d -s
   cyrus   853   846  0 23:15:11 pts/10:00 pop3d
   cyrus   851   846  0 23:15:11 pts/10:00 imapd
   cyrus   846 1  0 23:15:10 pts/10:00 /opt/cyrimap/bin/master

So seeing this behaviour I wanted to ask on this mailing list if this is a
normal behaviour ? I am not so sure but I would say no. At least everything
works fine... but I don't think this is normal. As OS I am using Solaris 9
on a Sun box.

Many thanks

Regards




Re: Websieve and Cyrus 2.1.11 (smartsieve doesn't work neither)

2003-01-18 Thread marc . bigler

Check the user's sieve directory (eg /usr/sieve/k/ken), and make sure
there is a link from 'default' to an actual script file.  You should see
something like:

lrwxrwxrwx1 cyrusmail   10 Nov 10  2001 default -
ken.script
-rw---1 cyrusmail 8877 Jan  8 16:19 ken.script

I've checked and this gets done correctly, now I think I found out my
problem. When I did my tests I used the same account to send mail to myself
and it looks like this doesn't trigger the vacation. This time I tryed to
send me a mail from another test account and then it worked !!

I just saw another behaviour where I would like to know if this is normal
or not. So in my case I've got vacation activated and also a normal filter
which says if subject = something then REJECT mail. The filter works when
the vacation is deactivated but when I activate the vacation this reject
filter doesn't work. Is that the normal behaviour ?

Regards






Re: Latest on Cyrus and GFS?

2003-01-18 Thread marc . bigler

i'm doing one of these 'shared' storage setups these days too. the
solution i
chose is kimberlite, well, RH advanced server actually, where i have only
one
box using the storage at a time. the other box can still be usefull, for
example chewing mails with spamassassin. in case there is some problem
with
either of the boxen, the healty one can take over the service.

Hi, can you tell me a bit more about this setup which you would like to do
? So you are going to share a SCSI bus between two HA cluster nodes and
also use multi-initiator SCSI, right ? I am quite interested in which
hardware you will use exactly to acheive that. And why did you choose
kimberlite instead of heartbeat from linux-ha.org ?

Thanks

Regards




cyrus as trusted user in sendmail

2003-01-18 Thread marc . bigler
Hello,

Do I need to put my cyrus user in the trusted users list of Sendmail ? If
yes would that be in the sendmail daemon config or in the MSP ? I suppose
the MSP...

Regards




cyrus auto-generated failure message from address

2003-01-18 Thread marc . bigler
Hello,

When Cyrus generates a failure message for example because someone sent a
mail to an unexisting IMAP account then that auto-generated mail contains
the following From header:

From:   Mail Delivery Subsystem MAILER-DAEMON@unspecified-domain

As you can see the domain is unspecified-domain and I wanted to know if
it is possible to change that ? if yes where ?

Thanks





Cyrus and NFS

2003-01-17 Thread marc . bigler
Hello,

I've read in the documentation of Cyrus that it was not safe to use NFS.
Now it doesn't tell much more about what really isn't safe with NFS, that's
why I am writting this mail with the following questions:

- Are ALL usage cases of Cyrus with NFS unsafe ? For example a Cyrus IMAP
server mounting it's partition dir from an NFS server and being the ONLY
one writting to this NFS share, is that also unsafe ?

- Which cases of usage of Cyrus with NFS are safe, if any ?

Thanks...

Regards






Re: Latest on Cyrus and GFS?

2003-01-17 Thread marc . bigler


A Murder allows segmentation (for most purposes) of the mailboxes.db,
which is the single-most-contended-for resource in Cyrus (as far as I
can tell).  The problem that *isn't* addresses is availability of each
IMAP back-end.  We're hoping to use IBM's HACMP for this, I think that
there is a Linux-ish, scriptable-takeover-on-hearbeat-failure hooya,
though I don't know what it is called.

Hi there, I think what you are talking about with that
scriptable-takeover-on-heartbeat-failre is actually heartbeat itself
available at linux-ha.org :)

Regards




Re: Websieve and Cyrus 2.1.11 (smartsieve doesn't work neither)

2003-01-17 Thread marc . bigler

You could take a look at SmartSieve, at:

   http://smartsieve.sourceforge.net

Its an active project, written in PHP, and works with Websieve scripts.

Hi, thanks for the link, I just had a try at that project and same result,
everything looks fine, the script gets created and activated but when
sending test mails nothing happens... No idea why, there are also no error
messages in my logs. Any ideas what I should check ?

Regards






Re: UW to Cyrus transition

2003-01-16 Thread marc . bigler

Hi,

Thanks for sharing this, that's really neat from you ! Can you maybe in a
few words explain us the login and how your scripts works ? Also what is
required (external tools if any) to get it to work ?

Regards



|+-
|| |
||  [EMAIL PROTECTED] |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  16.01.2003 13:14   |
|| |
|+-
  
--|
  |
  |
  |  To: [EMAIL PROTECTED] 
  |
  |  cc:   
  |
  |  Subject: UW to Cyrus transition   
  |
  
--|




Hi people,

In the last week of december, I ported 1 ( c.a. ) users from UW to
Cyrus.

As I had a REALLY hard time finding ANY help whatsoever ( scripts etc ), I
wrote some of my own.

I must say, they DO take time. I was running them on a Sun Fire 880 with
4x900MHz CPUs and 8GB RAM, and all files local. It takes around 8-10 hours
per 2500 users with around 20GB of data total.

So for 1 users with around 80GB of data, up to 40 hours of conversion
time is a fairly close estimate.

I am sure that the scripts are not completely bug-free, but they did work
for me.

BEWARE: usernames with dots in them are NOT very well handled.

Share and enjoy.

-tosi

(See attached file: CYR)(See attached file: output_mailfile)(See attached
file: uw2cyr)




CYR
Description: Binary data


output_mailfile
Description: Binary data


uw2cyr
Description: Binary data


Re: disable logging

2003-01-16 Thread marc . bigler

Logging is done via syslog, check your syslog.conf for the following local6
facility and/or mail. You probably have them in debug, change it to
something higher...

Regards




 To:  [EMAIL PROTECTED]
 cc:
 bcc:
 Subject:  disable logging
Woerns Urstmann [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/16/2003 07:27 PM
  font size=-1/font






















how can i disable this excessive logging to my syslog? i really can't find
any debug switch in my setup.


Jan 16 19:25:56 wurstbude saslauthd[2176]: dbuser changed.
Jan 16 19:25:56 wurstbude saslauthd[2176]: dbpasswd changed.
Jan 16 19:25:56 wurstbude saslauthd[2176]: host changed.
Jan 16 19:25:56 wurstbude saslauthd[2176]: database changed.
Jan 16 19:25:56 wurstbude saslauthd[2176]: table changed.
...
...
Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file
Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed
Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file
Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed
Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file
Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed
...
...


thanks
jens








Re: Websieve and Cyrus 2.1.11

2003-01-16 Thread marc . bigler


perl is telling you precisely what the problem is -- it is looking for
the file IMAP/Admin.pm (ie, the perl module IMAP::Admin), and it can't
find it in any of the directories listed.  If you installed it somewhere
else, you will need to get perl to look for it where you installed it.
 If you haven't installed the module, it won't work until you do.

ok right I just saw that my Admin.pm perl module is in
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/Cyrus/IMAP/Admin.pm so in the
file funclib.pl from Websieve I've changed the following line:

use IMAP::Admin;

to

use Cyrus::IMAP:Admin;

and I got further but now it's complaining that it cannot find
IMAP/Sieve.pm and I am 100% sure this file is NOT part of Cyrus IMAPD at
least not 2.1.11. Do you know where I can find it maybe ?

This Websieve thing really looks old :(

Regards










Re: Websieve and Cyrus 2.1.11

2003-01-16 Thread marc . bigler

If you want to use the Cyrus version of those modules, the name for that
one is Cyrus::SIEVE::managesieve.  It looks like you are using
funclib.pl rather than funclib.cyrus -- the readme.txt file explains
that either you need to use funclib.cyrus and use the internal Cyrus
modules, or you need to install IMAP::Admin and IMAP::Sieve.  The readme
also tells you where to find those files if you don't want to use the
Cyrus modules.

Sorry bout that, I messed up my doc, I read it to quickly :) Now it works,
looks like I will need to patch it a bit to support virtual domains but
already brings up an interface, will go and test it now.

As far as really old, there are many programs on my system which haven't
been updated as recently as a September 2001, which is the date on
websieve.

Strange, strange world...

Regards









Websieve - vacation

2003-01-16 Thread marc . bigler
Hi again,

I managed to install websieve and just tested the vacation part, it does
it's work by installing a default script in sieve and activating it, but
unfortunately it doesn't seem to work. Here is the script that websieve
generated me (from the file /var/cyrus/sieve/m/marc/default.script):

# Mail rules for user marc
# Created by Websieve version 0.61h
require [fileinto,vacation];


vacation :days 1 :addresses [[EMAIL PROTECTED]] text:
Autogenerated Message:
This is a test vacation message

werioweuroiweur
weriuowerio
werwer

.
;


##PSEUDO script start
#vacation1[EMAIL PROTECTED]
ewriuweioruwer\nweioruweoiru\n\nwerwer\nxx\non
#modebasic


The script looks allright and it's active, what else can I check or test ?

Regards




Re: [PATCH][saslauthd] cyrus-sasl-2.1.10/saslauthd credential caching

2003-01-15 Thread marc . bigler

Hi Jeremy,

Just wanted to let you know that the default shared memory segment size on
Solaris 9 has been changed to 8 MB. If you want more on any versions of
Solaris you simply need to edit /etc/system.

Regards
Marc





   
   
   
   
Jeremy Rumpf  To: Igor Brezac 
[EMAIL PROTECTED]
[EMAIL PROTECTED]cc: 
[EMAIL PROTECTED], [EMAIL PROTECTED] 
 
Sent by:  Subject: Re: 
[PATCH][saslauthd] cyrus-sasl-2.1.10/saslauthd credential caching  
[EMAIL PROTECTED]
   
ew.cmu.edu 
   
   
   
   
   
01/15/03 04:33 PM  
   
   
   
   
   




On Tuesday 14 January 2003 23:36 pm, Igor Brezac wrote:
 Jeremy,

 This stuff looks great and with a limited user sample (10) the
performance
 improvement was almost 100 fold.  Keep in mind, this is my first crack at
 it.  I am using Solaris 9.  I am getting the following error

 # ./saslcache -s
 could not attach shared memory segment: 1200
 shmat: Invalid argument

 It is likely I need to adjust shared memory params.  I'll let you know
 what I find.

 One more note, can you make the changes against the  cvs version?

 -Igor



Ok, I've set things up on a Solaris 8 machine for testing. After a few
tweaks,
things appear to be working ok. One thing though, it seems that the maximum

shared memory segment size on Solaris is 1M by default. Solaris users will
have to tweak their system settings if a larger cache is desired. Due to
this, I've set the default cache size to under 1M (down from ~4M). This way

saslauthd will always start with the cache enabled under default
circumstances.

Changes at:

ftp://ftp.net.ohio-state.edu/pub/users/jrumpf/cyrus-sasl/cyrus-sasl-2.1.10-cache-2.patch


Or fully patched source at:

ftp://ftp.net.ohio-state.edu/pub/users/jrumpf/cyrus-sasl/cyrus-sasl-2.1.10-cache-2.tar.gz



I'll work on getting a diff against current cvs as well

Thanks,
Jeremy







ctl_cyrusdb problem

2003-01-12 Thread marc . bigler
Hello,

I have a little problem with the checkpoint... As you can see here from the
logs:

Jan 12 19:36:57 mail master[659]: [ID 392559 local6.debug] about to exec
/opt/cyrimap/bin/ctl_cyrusdb
Jan 12 19:36:57 mail ctl_cyrusdb[659]: [ID 702911 local6.notice]
checkpointing cyrus databases
Jan 12 19:36:57 mail ctl_cyrusdb[659]: [ID 854764 local6.error] DBERROR:
error listing log files: Permission denied
Jan 12 19:36:57 mail ctl_cyrusdb[659]: [ID 686478 local6.error] DBERROR:
archive /var/cyrus/db: cyrusdb error
Jan 12 19:36:57 mail ctl_cyrusdb[659]: [ID 854764 local6.error] DBERROR:
error listing log files: Permission denied
Jan 12 19:36:57 mail ctl_cyrusdb[659]: [ID 686478 local6.error] DBERROR:
archive /var/cyrus/db: cyrusdb error
Jan 12 19:36:57 mail ctl_cyrusdb[659]: [ID 127214 local6.notice] done
checkpointing cyrus databases
Jan 12 19:36:57 mail master[411]: [ID 310780 local6.debug] process 659
exited, status 0

I checked the whole content /var/cyrus to find any files or directories
which would not beloing to user cyrus (group mail) but all files and
directories belong to cyrus:mail (except the /var/cyrus/ltmp socket which
belongs root but I think that's normal). Does someone have an idea what
else I should check ?

Thanks

Regards
Marc




Re: backup mail server

2003-01-12 Thread marc . bigler

Hi Lee,

First thanks for your configuration file... I have a few questions now
regarding your current setup:

- Are you using other tools like heartbeat or in the same kind ? If yes
which tool ?

- From your drbd configuration file I can see that you are using /dev/sda6
as physical disk, is that your Cyrus partition (/var/spool/imap) ?


Thanks
Marc


drbd configuration file:

resource drbd0 {
 protocol=C
 fsckcmd=fsck.ext2 -p -y

 inittimeout=60
 skip-wait=yes

 disk {
 do-panic
 disk-size=66621523
 }

 net {
 sync-rate=6M
 tl-size=5000
 timeout=60
 connect-int=10
 ping-int=10
 }


 on box1 {
 device=/dev/nb0
 disk=/dev/sda6
 address=10.0.0.1
 port=7789
 }

 on box2 {
 device=/dev/nb0
 disk=/dev/sda6
 address=10.0.0.2
 port=7789
 }

}

Boxes are connected together via serial and etho links.

L

On Saturday, January 11, 2003, at 05:10 PM, [EMAIL PROTECTED] wrote:






 On Sat, Jan 11, 2003 at 01:38:11PM -0500, Lee wrote:
 We use drbd (http://www.complang.tuwien.ac.at/reisner/drbd/) and
 linux-ha's (http://www.linux-ha.org/) heartbeat to create two-box
 mailstores (one active, one hotspare, continuously in-sync). Works
 beautifully.

 Are you using the drdb from CVS on a 2.4.x kernel? Could you provide
 details of the drdb version and OS off list?

 A copy/paste of your config file would also be great as example, if
 they do
 not contain too much sensitive data of course which shouldn't be the
 case...

 Thanks

 Marc

 C.DTF









Vacation example with sendmail as MTA

2003-01-11 Thread marc . bigler
Hello,

I had a look through Cyrus documentation and FAQ but I didn't find anything
mentioning how to set up vacation messages for the users hosted on our mail
server using Sendmail 8.12.7 and Cyrus IMAP 2.1.11.

Can someone in some few words explain me how I can active a vacation
message for a user ?

From what I understood I will need sieve to acheive that, right ?

Another important point is that it would be nice if the user has an
interface where he can active/deactive/update his vacation message, does
something like that exist ?

Regards
Marc




Re: Vacation example with sendmail as MTA

2003-01-11 Thread marc . bigler

Yes, the user needs to create a sive script that takes the vacation action
for all incoming messages (except mailing list subscriptions, etc). The
user then needs to upload this script to the server somehow.

I use SquirrelMail as a webmail frontend to Cyrus for users when they are
out of the office. SquirrelMail supports a plugin architecture, and there
is a plugin (avelsieve) that deals with GUI creation of sieve scripts, and
submits them to the server. Most of my users have no problem with using
that interface to set up limited mail filters, and vacation messages.

We are using Horde/IMP as webmail client, I will have a look if I also find
something equivalent as avelsieve but for Horde/IMP. Hopefully someone
already coded something.

Regards
Marc










Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-10 Thread marc . bigler

I will have a try at it this week-end... Now hopefully the last question
about this topic, how does actually the SNMP daemon know about Cyrus ?? I
am wondering how that can work by only specifying master agentx, is that
really all ? I will be using Cyrus graphtools from the contrib dir...

Regards
Marc



   
   
   
   
Igor Brezac   To: 
[EMAIL PROTECTED]
 
[EMAIL PROTECTED]  cc:  
   
Sent by:  Subject: Re: Including 
UCD-SNMP support in Cyrus IMAPD  
[EMAIL PROTECTED]
   
ew.cmu.edu 
   
   
   
   
   
01/09/03 07:31 PM  
   
   
   
   
   





On Thu, 9 Jan 2003 [EMAIL PROTECTED] wrote:


 Thanks, it looks like that worked, I now compiled Cyrus IMAP with the
 following:

 LIBS=-Wl,-zignore

 and I've checked with ldd to see if the kstat and kvm library where
display
 and they are not anymore so it looks fine. Now an important question, how
 can I check that UCD-SNMP is really working with my Cyrus IMAP ?

Add 'master agentx' to snmpd.conf.  Make sure to start cyrus after your
start snmpd.  To see counters
'snmpwalk snmp_host comminity_str .1.3.6.1.4.1.3.6.1'

 Regards
 Marc





 Igor Brezac   To:
[EMAIL PROTECTED]
 [EMAIL PROTECTED]  cc:
[EMAIL PROTECTED]
 Sent by:  Subject: Re:
Including UCD-SNMP support in Cyrus IMAPD
 [EMAIL PROTECTED]
 ew.cmu.edu


 01/08/03 10:51 PM
 Please respond to
 info-cyrus







 On Wed, 8 Jan 2003 [EMAIL PROTECTED] wrote:

 
 
 
 
 
  I must have mis-understood you.  You need to use this option to
compile
  cyrus-imapd.  -Wl,-zignore will ignore libraries not referenced by the
  link process.
 
  If you want to fix UCD-SNMP libs, you need to pass -Wl,-zdefs to
LDFLAGS
  and then add neccessary libs to the link process until everything
 compiles
  fine.  Actually, you may need to use -zdefs because libtool on solaris
  uses 'ld' for link-edit.  This is a libtool bug, but this is a subject
 for
  a different forum.
 
  Oh ok this is for Cyrus IMAP, then I misunderstood you... So now from
the
  two solutions you gave what do you think is the best to do:
 

 You do not have to do either.  What you have works.  ;)  You asked me if
 cyrus binaries can be compiled without all these unneccessary libraries?
 Option 1) will do this.

 1) - use -Wl,-zignore to compile Cyrus IMAP or

 I would not go through the effort of fixing UCD libs unless you are
 familiar with the link-edit process.  Do not bother with 2).

 2) - use -Wl,-zdefs to compile UCD SNMP

 Hope this helps.

 -Igor







--
Igor









Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-09 Thread marc . bigler

Thanks, it looks like that worked, I now compiled Cyrus IMAP with the
following:

LIBS=-Wl,-zignore

and I've checked with ldd to see if the kstat and kvm library where display
and they are not anymore so it looks fine. Now an important question, how
can I check that UCD-SNMP is really working with my Cyrus IMAP ?

Regards
Marc



   
   
   
   
Igor Brezac   To: [EMAIL PROTECTED]  
   
[EMAIL PROTECTED]  cc: 
[EMAIL PROTECTED]
 
Sent by:  Subject: Re: Including 
UCD-SNMP support in Cyrus IMAPD  
[EMAIL PROTECTED]
   
ew.cmu.edu 
   
   
   
   
   
01/08/03 10:51 PM  
   
Please respond to  
   
info-cyrus 
   
   
   
   
   





On Wed, 8 Jan 2003 [EMAIL PROTECTED] wrote:






 I must have mis-understood you.  You need to use this option to compile
 cyrus-imapd.  -Wl,-zignore will ignore libraries not referenced by the
 link process.

 If you want to fix UCD-SNMP libs, you need to pass -Wl,-zdefs to LDFLAGS
 and then add neccessary libs to the link process until everything
compiles
 fine.  Actually, you may need to use -zdefs because libtool on solaris
 uses 'ld' for link-edit.  This is a libtool bug, but this is a subject
for
 a different forum.

 Oh ok this is for Cyrus IMAP, then I misunderstood you... So now from the
 two solutions you gave what do you think is the best to do:


You do not have to do either.  What you have works.  ;)  You asked me if
cyrus binaries can be compiled without all these unneccessary libraries?
Option 1) will do this.

1) - use -Wl,-zignore to compile Cyrus IMAP or

I would not go through the effort of fixing UCD libs unless you are
familiar with the link-edit process.  Do not bother with 2).

2) - use -Wl,-zdefs to compile UCD SNMP

Hope this helps.

-Igor








Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-08 Thread marc . bigler

Hi Igor,

I just compiled my UCD-SNMP libraries with the options you've told me. Now
I wanted to make sure that the kvm and kstat library is also included in
it. How can I check that ?

Regards
Marc




   
  
   
  
Igor Brezac  To: [EMAIL PROTECTED]   
  
[EMAIL PROTECTED]   cc:   
  
t   Subject: Re: Including UCD-SNMP support 
in Cyrus IMAPD  
   
  
01/06/03 09:30 
  
PM 
  
Please respond 
  
to info-cyrus  
  
   
  
   
  





On Mon, 6 Jan 2003 [EMAIL PROTECTED] wrote:


 Hi there,

 You are right, an ldd on the Cyrus binaries showed up kstat and kvm
 library... Hopefully this doesn't use too much memory. Btw: I saw that
only
 the master binary from Cyrus IMAPD does use the UCD-SNMP library so
 wouldn't it be a better idea to link only the kvm and kstat library
against
 the master binary ? If yes do you have an idea how I could acheive that ?


Try  ('make distclean' first)

LDFLAGS=-Wl,-zignore LIBS=-lkstat -lkvm ./configure ...

or

LIBS=-Wl,-zignore -lkstat -lkvm ./configure ...




 As you say it would be much better having UCD-SNMP dealing with those
 libraries and not Cyrus IMAP, already tryed writting to the UCD-SNMP team
 about that ?

 On Sun, 5 Jan 2003 [EMAIL PROTECTED] wrote:

 
  Try,
  LIBS=-lkstat -lkvm ./configure ...
 
  I now had a try and it finally compiled perfectly ! Now, is that
somehow

 One small issue is that all your cyrus binaries are linked with -lkstat
 -lkvm.  This is not a problem except for a slightly higher memory usage.

  normal that I need to do that, shouldn't this be automatically done
with
  the configure script ?
 

 I do not thinks so.  The real fix is to build self-contained ucd libs.
 The ucd libraries are kinda messy,  there are all sorts of cross
 dependencies (libucdagent depends on libucdmibs and vice versa).  I had a
 time trying to sort this out.  ;(

 -Igor







--
Igor








Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-08 Thread marc . bigler





I must have mis-understood you.  You need to use this option to compile
cyrus-imapd.  -Wl,-zignore will ignore libraries not referenced by the
link process.

If you want to fix UCD-SNMP libs, you need to pass -Wl,-zdefs to LDFLAGS
and then add neccessary libs to the link process until everything compiles
fine.  Actually, you may need to use -zdefs because libtool on solaris
uses 'ld' for link-edit.  This is a libtool bug, but this is a subject for
a different forum.

Oh ok this is for Cyrus IMAP, then I misunderstood you... So now from the
two solutions you gave what do you think is the best to do:

- use -Wl,-zignore to compile Cyrus IMAP or
- use -Wl,-zdefs to compile UCD SNMP

?

Regards
Marc





On Wed, 8 Jan 2003 [EMAIL PROTECTED] wrote:


 Hi Igor,

 I just compiled my UCD-SNMP libraries with the options you've told me.
Now
 I wanted to make sure that the kvm and kstat library is also included in
 it. How can I check that ?

 Regards
 Marc






 Igor Brezac  To: [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc:
 t   Subject: Re: Including
UCD-SNMP support in Cyrus IMAPD

 01/06/03 09:30
 PM
 Please respond
 to info-cyrus







 On Mon, 6 Jan 2003 [EMAIL PROTECTED] wrote:

 
  Hi there,
 
  You are right, an ldd on the Cyrus binaries showed up kstat and kvm
  library... Hopefully this doesn't use too much memory. Btw: I saw that
 only
  the master binary from Cyrus IMAPD does use the UCD-SNMP library so
  wouldn't it be a better idea to link only the kvm and kstat library
 against
  the master binary ? If yes do you have an idea how I could acheive that
?
 

 Try  ('make distclean' first)

 LDFLAGS=-Wl,-zignore LIBS=-lkstat -lkvm ./configure ...

 or

 LIBS=-Wl,-zignore -lkstat -lkvm ./configure ...




  As you say it would be much better having UCD-SNMP dealing with those
  libraries and not Cyrus IMAP, already tryed writting to the UCD-SNMP
team
  about that ?
 
  On Sun, 5 Jan 2003 [EMAIL PROTECTED] wrote:
 
  
   Try,
   LIBS=-lkstat -lkvm ./configure ...
  
   I now had a try and it finally compiled perfectly ! Now, is that
 somehow
 
  One small issue is that all your cyrus binaries are linked with 
-lkstat
  -lkvm.  This is not a problem except for a slightly higher memory
usage.
 
   normal that I need to do that, shouldn't this be automatically done
 with
   the configure script ?
  
 
  I do not thinks so.  The real fix is to build self-contained ucd libs.
  The ucd libraries are kinda messy,  there are all sorts of cross
  dependencies (libucdagent depends on libucdmibs and vice versa).  I had
a
  time trying to sort this out.  ;(
 
  -Igor
 
 
 
 
 
 

 --
 Igor







--
Igor









Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-05 Thread marc . bigler

Try,
LIBS=-lkstat -lkvm ./configure ...

I now had a try and it finally compiled perfectly ! Now, is that somehow
normal that I need to do that, shouldn't this be automatically done with
the configure script ?

Regards
Marc





Including UCD-SNMP support in Cyrus IMAPD

2003-01-04 Thread marc . bigler
Hello,

I am trying to get Cyrus IMAPD 2.1.11 on Solaris 9 to compile with support
for UCD-SNMP, I use version 4.2.6 of UCD-SNMP. The problem is that it
doesn't detect UCD-SNMP because of the following error in the config.log:

configure:6064: checking for sprint_objid in -lsnmp
configure:6083: gcc -o conftest -Wall -g -O2 -I/opt/sfw/include/db3
-I/usr/local/include -I/opt/openssl/include -I/opt/ucdsnmp/include -L/op
t/sfw/lib -R/opt/sfw/lib -L/opt/sfw/lib -L/usr/local/lib -R/usr/local/lib
-R/opt/sfw/lib:/opt/openssl/lib:/opt/ucdsnmp/lib -L/opt/openssl/l
ib -L/opt/ucdsnmp/lib conftest.c -lsnmp -lresolv -lsocket -lnsl  -ldl
-ldb-3.1  -lssl -lcrypto 15
Undefined   first referenced
 symbol in file
kstat_close /opt/ONucdsnmp/lib/libsnmp.so
kstat_lookup/opt/ONucdsnmp/lib/libsnmp.so
kstat_read  /opt/ONucdsnmp/lib/libsnmp.so
kstat_open  /opt/ONucdsnmp/lib/libsnmp.so
kstat_data_lookup   /opt/ONucdsnmp/lib/libsnmp.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 6072 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char sprint_objid();

int main() {
sprint_objid()
; return 0; }
configure:6141: checking UCD SNMP libraries

As you can see I have UCD-SNMP installed in /opt/ucdsnmp, but that doesn't
seem to be the problem, looks like I am missing something which has to do
with kstat. Does someone have any idea ?

PS: Sorry if you see this mail twice, I am not sure if the first one ever
arrived to the mailing list.

Regards
Marc






Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-04 Thread marc . bigler

do a man -k for one of those functions (kstat_read for example) and if
there's a man page for it, it should tell you what libraries you need to
link against, which should fix it.

I've just did that and discovered that there is actually a library called
libkstat residing in /usr/lib on Solaris 9. Now against what do I need to
link this library, against UCD-SNMP or Cyrus IMAPD ? Also another question,
what's the easiest way to link the libkstat library ?

Many thanks

Regards


 Hello,

 I am trying to get Cyrus IMAPD 2.1.11 on Solaris 9 to compile with
support
 for UCD-SNMP, I use version 4.2.6 of UCD-SNMP. The problem is that it
 doesn't detect UCD-SNMP because of the following error in the config.log:

 configure:6064: checking for sprint_objid in -lsnmp
 configure:6083: gcc -o conftest -Wall -g -O2 -I/opt/sfw/include/db3
 -I/usr/local/include -I/opt/openssl/include -I/opt/ucdsnmp/include -L/op
 t/sfw/lib -R/opt/sfw/lib -L/opt/sfw/lib -L/usr/local/lib -R/usr/local/lib
 -R/opt/sfw/lib:/opt/openssl/lib:/opt/ucdsnmp/lib -L/opt/openssl/l
 ib -L/opt/ucdsnmp/lib conftest.c -lsnmp -lresolv -lsocket -lnsl  -ldl
 -ldb-3.1  -lssl -lcrypto 15
 Undefined   first referenced
  symbol in file
 kstat_close /opt/ONucdsnmp/lib/libsnmp.so
 kstat_lookup/opt/ONucdsnmp/lib/libsnmp.so
 kstat_read  /opt/ONucdsnmp/lib/libsnmp.so
 kstat_open  /opt/ONucdsnmp/lib/libsnmp.so
 kstat_data_lookup   /opt/ONucdsnmp/lib/libsnmp.so
 ld: fatal: Symbol referencing errors. No output written to conftest
 collect2: ld returned 1 exit status
 configure: failed program was:
 #line 6072 configure
 #include confdefs.h
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
 builtin and then its argument prototype would still apply.  */
 char sprint_objid();

 int main() {
 sprint_objid()
 ; return 0; }
 configure:6141: checking UCD SNMP libraries

 As you can see I have UCD-SNMP installed in /opt/ucdsnmp, but that
doesn't
 seem to be the problem, looks like I am missing something which has to do
 with kstat. Does someone have any idea ?

 PS: Sorry if you see this mail twice, I am not sure if the first one ever
 arrived to the mailing list.

 Regards
 Marc













Re: Including UCD-SNMP support in Cyrus IMAPD

2003-01-04 Thread marc . bigler

Try ('make distclean' first)

LIBS=-lkstat ./configure 

The real fix is to build self-contained ucd-snmp libs.

master.c will not compile if ucd-snmpd package is built with libwrap.
If this is the case, I can email you my patch.

Hope this helps.

That helped for the configure but now I get the following error when
issuing gmake all:

gcc -L/opt/sfw/lib -R/opt/sfw/lib -L/opt/sfw/lib -L/usr/local/lib
-R/usr/local/lib -R/opt/sfw/lib:/opt/openssl/lib:/opt/ucdsnmp/lib
-L/opt/openssl/lib -L/opt/ucdsnmp/lib -Wall -g -O2  -o master master.o
masterconf.o cyrusMasterMIB.o -lucdagent -lucdmibs -lsnmp -ldl  -ldb-3.1
-lkstat -lssl -lcrypto -lresolv -lsocket -lnsl  ../et/libcom_err.a
Undefined   first referenced
 symbol in file
kvm_read/opt/ONucdsnmp/lib/libucdagent.so
kvm_getu/opt/ONucdsnmp/lib/libucdmibs.so
kvm_open/opt/ONucdsnmp/lib/libucdagent.so
nlist   /opt/ONucdsnmp/lib/libucdmibs.so
kvm_setproc /opt/ONucdsnmp/lib/libucdmibs.so
kvm_nextproc/opt/ONucdsnmp/lib/libucdmibs.so
ld: fatal: Symbol referencing errors. No output written to master
collect2: ld returned 1 exit status
gmake[1]: *** [master] Error 1
gmake[1]: Leaving directory `/opt/source/cyrus-imapd-2.1.11/master'
gmake: *** [all] Error 1
bash-2.05$ echo $LIBS
-lkstat


I think the problem is really in my UCD-SNMP library, do you maybe know how
I can fix my UCD-SNMP libraries ?

Regards
Marc




Sendmail local mailer still needed ?

2003-01-02 Thread marc . bigler
Hello,

I wanted to know if the local mailer of sendmail - MAILER(`local')
directive in the Sendmail mc file is still needed when using Cyrus ?

I would say no as the LDA is now all done by Cyrus but I had a look in the
mailer/local.m4 file of Sendmail and saw quite a lot of stuff in it so I am
not so sure about removing it from my MC file. That would be only to have
the MAILER(`cyrusv2') directive in my MC file.

Many thanks

Regards




Re: Sendmail local mailer still needed ?

2003-01-02 Thread marc . bigler


The documentation says there must always be a local mailer, but you
don't have to use it.  Ie, in your .mc file you will have
MAILER(`local'), MAILER(`cyrusv2'), and
define(`confLOCAL_MAILER',`cyrusv2') (plus whatever else you need).

Thanks for your answer... Now what I don't really understand is when using
the Cyrusv2 mailer, what is my local mailer used for ? Because using
mailstats from Sendmail I can see that it has some messages from and to
using the local mailer.

Regards





Re: make depend problems

2003-01-01 Thread marc . bigler

Are you using the --disable-sieve configure option? It's broken and will
produce this error, but the attached patch (tested on Solaris 8 with GNU
tools) fixes the problem.

Yes exactly I am using the --disable-sieve option, thanks for the patch !
In the mean time I've also found out that I just need to comment out the
depend:: part of the Makefile in the perl directory.

Regards
Marc




Cyrus/IMAP/IMAP.bs file

2003-01-01 Thread marc . bigler
Hello,

Can someone tell me if the PERL file Cyrus/IMAP/IMAP.bs which resides in
the local site_perl dir is required ? Or what is it used for ?

I am asking this because my IMAP.bs file is 0 kb and I am currently
packaging Cyrus IMAP so I was wondering if I could simply ignore this file.

Regards
Marc




make depend problems

2002-12-31 Thread marc . bigler
Hello,

I am trying to compile the latest version of Cyrus IMAPD and have some
problems already with the make depend, as you can see here in my output:


gmake[1]: Leaving directory `/opt/source/cyrus-imapd-2.1.11/imtest'
### Making depend in /opt/source/cyrus-imapd-2.1.11/perl
gmake[1]: Entering directory `/opt/source/cyrus-imapd-2.1.11/perl'
### Making depend in /opt/source/cyrus-imapd-2.1.11/perl/sieve
gmake[2]: Entering directory `/opt/source/cyrus-imapd-2.1.11/perl/sieve'
gmake[2]: *** No rule to make target `depend'.  Stop.
gmake[2]: Leaving directory `/opt/source/cyrus-imapd-2.1.11/perl/sieve'
gmake[1]: *** [depend] Error 1
gmake[1]: Leaving directory `/opt/source/cyrus-imapd-2.1.11/perl'
gmake: *** [depend] Error 1

Does anyone have an idea what the problem could be ??? I am using standard
GNU tools on Solaris 9.

Regards







Re: ctl_cyrusdb -r takes too long

2002-12-17 Thread marc . bigler

Hello,

I am also quite interested in this topic as I will be using Solaris 9 with
UFS logging enabled on each slices. Can others from this mailing list
confirm that disabling UFS logging on the Cyrus slice (partition) will
speed up the ctl_cyrusdb -r process ? I guess if it's recommended to turn
off UFS logging, it would be good to have this somewhere in the Cyrus
documentation or maybe in the FAQ...

Regards
Marc





   
   
   
   
John Havard   To: 
[EMAIL PROTECTED]  
 
[EMAIL PROTECTED] cc: Jatin Nansi 
[EMAIL PROTECTED]
Sent by:  Subject: Re: ctl_cyrusdb -r 
takes too long  
[EMAIL PROTECTED]
   
ew.cmu.edu 
   
   
   
   
   
12/16/02 06:17 PM  
   
   
   
   
   





You wouldn't happen to have have /var/imap on a logging or journaling
filesystem by any chance?  A while back I noticed this under Solaris.  The
fix was to mount /var without UFS logging. IIRC, the db code does its own
journaling/logging, so the only thing you'll be missing by turning it off
in the FS is the long start times.

Regards,
John Havard
Systems Administrator
Internet Doorway, Inc.

Internet Doorway, Inc. (NETDOOR) - Mississippi's ISP
601.969.1434 | 800.952.1570 | http://www.netdoor.com/



--On Saturday, December 14, 2002 05:50:33 PM +0530 Jatin Nansi
[EMAIL PROTECTED] wrote:

 Hi,

 This is for cyrus gurus and for record:

 ---
 Dec 13 20:10:21 mail3 master[4574]: process started
 Dec 13 20:10:21 mail3 master[4575]: about to exec
 /usr/cyrus/bin/ctl_cyrusdb Dec 13 20:10:21 mail3 ctl_cyrusdb[4575]:
 recovering cyrus databases Dec 14 06:15:11 mail3 ctl_cyrusdb[4575]: done
 recovering cyrus databases Dec 14 06:15:11 mail3 master[4574]: ready for
 work
 Dec 14 06:15:11 mail3 master[4979]: about to exec
 /usr/cyrus/bin/ctl_cyrusdb Dec 14 06:15:11 mail3 master[4982]: about to
 exec /usr/cyrus/bin/imapd Dec 14 06:15:11 mail3 master[4983]: about to
 exec /usr/cyrus/bin/imapd Dec 14 06:15:11 mail3 master[4984]: about to
 exec /usr/cyrus/bin/lmtpd Dec 14 06:15:11 mail3 master[4985]: about to
 exec /usr/cyrus/bin/lmtpd Dec 14 06:15:11 mail3 master[4981]: about to
 exec /usr/cyrus/bin/tls_prune Dec 14 06:15:11 mail3 master[4980]: about
 to exec /usr/cyrus/bin/ctl_deliver Dec 14 06:15:11 mail3
 ctl_cyrusdb[4979]: checkpointing cyrus databases Dec 14 06:15:11 mail3
 lmtpunix[4985]: executed
 Dec 14 06:15:11 mail3 lmtp[4984]: executed
 Dec 14 06:15:11 mail3 tls_prune[4981]: mydelete: starting txn 2147483653
 ---

 Will ctl_cyrusdb -r take 10 hours ? I dread the day when the system will
 need downtime again.

 This is on a decent 2 x P3 1 GHz with 100 GB scsi raid and 1 GB RAM,
 about 2000 users, 50 MB per user.

 I really need reboot times to be between 5 to 10 minutes, as against 10
 hours. I will set the checkpoint period to 5 minutes as per the FAQ, but
 are there any other pointers ?

 Jatin




 Jatin Nansi wrote:

 Hi,

 I have a cyrus IMAP system here which is taking way too long to start
 up, stopping just at ctl_cyrusdb -r. There does not seem to be any
 activity going on, but ctl_cyrusdb just doesnot exit.

 I am running cyrus-imapd-2.1.8 on a redhat 7.3 system. The backend
 database is DB3.

 I need some directions on what could be wrong and where ? Is it normal
 for ctl_cyrusdb -r to take as much as 1 hr (and still running) to
 finish ?

 Jatin












Which version of Cyrus IMAPD

2002-12-06 Thread marc . bigler
Hello,

For a production mail server, which version of Cyrus IMAPD should I use ?
Version 2.0.17 or version 2.1.11 ? And what are the differences really
between those two latest versions ?

Regards
Marc





Re: Which version of Cyrus IMAPD

2002-12-06 Thread marc . bigler

What does exactly that skiplist feature do ?

Regards
Marc



   

   

Rob Siemborski   To: [EMAIL PROTECTED]   

[EMAIL PROTECTED]   cc: [EMAIL PROTECTED] 

mu.edu  Subject: Re: Which version of Cyrus IMAPD 

   

12/06/02 05:05 

PM 

   

   





On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:

 For a production mail server, which version of Cyrus IMAPD should I use ?
 Version 2.0.17 or version 2.1.11 ? And what are the differences really
 between those two latest versions ?

2.0.17 is only intended for sites which are upgrading from previous 2.0
versions and are unable to make the upgrade to 2.1.x for whatever reason.

I strongly recommend you use 2.1.11 if you're starting a new system.  It
has fairly substantial performance benefits over 2.0 (especially if you
are using the skiplist database backend for your mailbox list).

-Rob

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








Re: Which version of Cyrus IMAPD

2002-12-06 Thread marc . bigler

Do I need to activate something during the compilation (configure) or is it
per default enabled in 2.1.11 ?

Regards
Marc



|+-
|| |
||  Rob Siemborski |
||  [EMAIL PROTECTED]  |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  12/06/02 06:10 PM  |
|| |
|+-
  
---|
  |
   |
  |  To: [EMAIL PROTECTED]   
   |
  |  cc: [EMAIL PROTECTED] 
   |
  |  Subject: Re: Which version of Cyrus IMAPD 
   |
  
---|




Its an improved database backend that is optimized for enumeration, which
happens a lot with the mailbox list.

Berkeley DB is not optimized for enumeration, and while flat can give you
fast enumeration, it is tremendously slow to update.

-Rob

On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:


 What does exactly that skiplist feature do ?

 Regards
 Marc





 Rob Siemborski   To: [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc:
[EMAIL PROTECTED]
 mu.edu  Subject: Re: Which version
of Cyrus IMAPD

 12/06/02 05:05
 PM






 On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:

  For a production mail server, which version of Cyrus IMAPD should I use
?
  Version 2.0.17 or version 2.1.11 ? And what are the differences really
  between those two latest versions ?

 2.0.17 is only intended for sites which are upgrading from previous 2.0
 versions and are unable to make the upgrade to 2.1.x for whatever reason.

 I strongly recommend you use 2.1.11 if you're starting a new system.  It
 has fairly substantial performance benefits over 2.0 (especially if you
 are using the skiplist database backend for your mailbox list).

 -Rob

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








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








Re: Default ACL for new user mailbox

2002-11-20 Thread marc . bigler

Hi,

Now everything is clear it's what I was also thinking but I was a bit
confused from the answer of the others. Is there actually another way to
realize what I want to do ? The only way I can see right now is to create a
script to cyradm which will create the user's mailbox using createmailbox
and then set the acl using setaclmailbox to give the admin user full
rights...

Regards
Marc




|+-
|| |
||  Ken Murchison  |
||  [EMAIL PROTECTED]   |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  11/19/02 10:55 PM  |
|| |
|+-
  
---|
  |
   |
  |  To: [EMAIL PROTECTED]   
   |
  |  cc: Marko Damaschke [EMAIL PROTECTED], [EMAIL PROTECTED] 
   |
  |  Subject: Re: Default ACL for new user mailbox 
   |
  
---|






[EMAIL PROTECTED] wrote:

 Well I suppose it is a mailbox without a parent because it's the INBOX of
a
 user that I am creating and before that nothing exists for that user.
Again
 the mailbox I am creating is user.testuser and I tryed setting the
default
 acl like that in imapd.conf:

 defaultacl: cyrus all

 restarted the master daemon process but it still didn't work !

 Any ideas ?

This option is only for toplevel folders.  A user's inbox is actually
under the user. tree, so it isn't a toplevel mailbox.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp







Re: Default ACL for new user mailbox

2002-11-19 Thread marc . bigler

Well I suppose it is a mailbox without a parent because it's the INBOX of a
user that I am creating and before that nothing exists for that user. Again
the mailbox I am creating is user.testuser and I tryed setting the default
acl like that in imapd.conf:

defaultacl: cyrus all

restarted the master daemon process but it still didn't work !

Any ideas ?

Regards





Heyho,

Quoting [EMAIL PROTECTED]:

 Well if I read the imapd.conf man page again it states the following:

 defaultacl: anyone lrs
 The Access Control List (ACL) placed on a newly-created
 (non-user) mailbox that does not have a parent mailbox.

 What I can see here which disturbs me is the ...(non-user) mailbox...
 part and what I am creating are user mailboxes like user.testuser or
 user.testser.myfolder, so this doesn't work for my case...

The mailbox user.testuser, you create, is a mailbox without a parent
mailbox, isn't it?
All new created mailboxes without a parent mailbox gets the acl from
defaultacl. All mailboxes, that are children of another get the ACL from
its parent-box. I think, that is what should be said above in the manual.
So if your new top-level-mailbox get the right acl and the user isn't
allowed to change it, all children-boxes of this mailbox get the right acl.

That is my experience.

   Regards
 Marko D.
--
Student of Applied Computer Science
Home: http://www.mdam.de
1st/2nd March 2003 - 5th Chemnitzer Linux-Tag
http://www.tu-chemnitz.de/linux/tag

-
This mail sent through IMP: http://horde.org/imp/








Default ACL for new user mailbox

2002-11-18 Thread marc . bigler
Hello,

Is it somehow possible to set a default ACL which a new mailbox will
inherit when I create it with cyradm ? What I would like to do is give
automatically full permissions to all new mailboxes to the cyrus
administrator. Or maybe there is another way to do that ?

Regards
Marc






Re: Default ACL for new user mailbox

2002-11-18 Thread marc . bigler

Hi,

Well if I read the imapd.conf man page again it states the following:

defaultacl: anyone lrs
The Access Control List (ACL) placed on a newly-created
(non-user) mailbox that does not have a parent mailbox.

What I can see here which disturbs me is the ...(non-user) mailbox...
part and what I am creating are user mailboxes like user.testuser or
user.testser.myfolder, so this doesn't work for my case...

Any other ideas ?

Regards
Marc






   

   

[EMAIL PROTECTED] To: [EMAIL PROTECTED] 

 cc: [EMAIL PROTECTED]   

11/18/02 12:31   Subject: Re: Default ACL for new user 
mailbox 
PM 

   

   





Heyho,

 Is it somehow possible to set a default ACL which a new mailbox will
 inherit when I create it with cyradm ? What I would like to do is give
 automatically full permissions to all new mailboxes to the cyrus
 administrator. Or maybe there is another way to do that ?

Read ' man 5 imapd.conf ' respectively '/etc/imapd.conf' and look for
defaultacl:.
Its just for your problem.
If you want to give acls to more than one user, you can do it this way:
defaultacl: user1 acl1 user2 acl2 ...

Regards and HTH
 Marko D.

--
Home: http://www.mdam.de
1st / 2nd March 2003 5th Chemnitz LinuxTag
http://www.tu-chemnitz.de/linux/tag

+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!









Migrating from BSD style mailbox to Cyrus v2

2002-11-12 Thread marc . bigler
Hello,

We are currently going to migrate from our current mail server, an OpenBSD
box running UW-IMAP and therfore having BSD style mailboxes to a Cyrus v2
mail server.

We currently tested mbxcvt and mailutil from the UW-IMAP utils to
copy/transfer all the mails to the new Cyrus mail server but the problem
that we've encoutered is that using for example:

mailutil transfer '{oldmailserver/imap}' '{newmailserver/imap}'

is that we need to enter the user's name and password. This gives us
problems because:

1) we don't know the user's password
2) we have a LOT of users to migrate

The best would be to somehow fully automate this withtout requiring
passwords and such, does someone have any experience doing that, I am sure
it is somehow possible to do that but how ? We are surely not the only ones
migrating to the great Cyrus.

It would be possible for us to copy all the users mailboxes to the new
mailserver if that helps. The user's INBOX is in /var/mail and the user's
folders are in /home/username

Regards
Marc




Re: Migrating from BSD style mailbox to Cyrus v2

2002-11-12 Thread marc . bigler

Thanks for the tip that's already half of the work done, now there is still
the password from the source (UW-IMAP) IMAP server...

Also how will Cyrus know which user I am copying the folders to ? Will it
still prompt for a username and then simply skip the password ?

Regards
Marc




|+-
|| |
||  Henrique de Moraes Holschuh|
||  [EMAIL PROTECTED]   |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  11/12/02 05:09 PM  |
|| |
|+-
  
---|
  |
   |
  |  To: [EMAIL PROTECTED]   
   |
  |  cc: [EMAIL PROTECTED]   
   |
  |  Subject: Re: Migrating from BSD style mailbox to Cyrus v2 
   |
  
---|




On Tue, 12 Nov 2002, [EMAIL PROTECTED] wrote:
 The best would be to somehow fully automate this withtout requiring
 passwords and such, does someone have any experience doing that, I am
sure
 it is somehow possible to do that but how ? We are surely not the only
ones
 migrating to the great Cyrus.

1. lock down the network
2. set sasl_pwcheck_method: alwaystrue  in imapd.conf

That will turn off all password verification.

You may try to do a direct conversion, though. Good luck there...

--
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh







Re: Converting from BSD mailbox format to Cyrus v2 format

2002-11-08 Thread marc . bigler

Thanks for the tip, I will have a try at it hopefully this week-end, and
let you know in case it doesn't work well.

Regards
Marc



|+-
|| |
||  Ken Murchison  |
||  [EMAIL PROTECTED]   |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  07.11.2002 16:27   |
|| |
|+-
  
--|
  |
  |
  |  To: [EMAIL PROTECTED]   
  |
  |  cc: [EMAIL PROTECTED]   
  |
  |  Subject: Re: Converting from BSD mailbox format to Cyrus v2 format
  |
  
--|






[EMAIL PROTECTED] wrote:

 Hello,

 I will need to migrate a few users which were on an old OpenBSD mail
server
 using the original BSD mailbox format to the new Cyrus v2.1.9 mailstore
 format. I've already read the book Managing IMAP but unfortunately their
 scripts are for Cyrus v1.5 which was a bit different from Cyrus v2
because
 it's now using Berkley DB.

 So does anyone have any tips or tools on how to convert BSD mailboxes to
 the new Cyrus v2 mailstore ?

Try the 'mboxcvt' tool in the imap-utils package
ftp://ftp.cac.washington.edu/mail/imap-utils.tar.Z

I've used it to take archives of large mailing lists/newsgroups (in mbox
format) and feed them into a mailbox on my Cyrus server.

I also believe that these tools might be deprecated and replaced by the
more general 'mailutil' in the UW IMAP distro.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp







Converting from BSD mailbox format to Cyrus v2 format

2002-11-07 Thread marc . bigler
Hello,

I will need to migrate a few users which were on an old OpenBSD mail server
using the original BSD mailbox format to the new Cyrus v2.1.9 mailstore
format. I've already read the book Managing IMAP but unfortunately their
scripts are for Cyrus v1.5 which was a bit different from Cyrus v2 because
it's now using Berkley DB.

So does anyone have any tips or tools on how to convert BSD mailboxes to
the new Cyrus v2 mailstore ?

Many thanks

Regards
Marc





Re: cyrus imapd+netscape mail client

2002-11-07 Thread marc . bigler

It simply looks like Netscape 7 only sends the IMAP EXPUNGE command after
closing the application. Have a look maybe for an option in Netscape which
sounds like expunge mailbox after deleting mail. I have no clue if this
exists but that's your problem, but for sure not a bug.

Regards
Marc




|+-
|| |
||  Eugene Chow|
||  [EMAIL PROTECTED] |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  11/07/02 02:37 PM  |
|| |
|+-
  
---|
  |
   |
  |  To: Toomas Vann [EMAIL PROTECTED]  
   |
  |  cc: [EMAIL PROTECTED]   
   |
  |  Subject: Re: cyrus imapd+netscape mail client 
   |
  
---|




Hi there,

I'm using both IMP and Mozilla 1.1 which is very similar to yours. I
have that 'problem' as well but if you take a look at IMP's Trash after
deleting your email in Netscape, you'll notice that the email is both in
Trash and striked out in Inbox at the same time. Only after you close
Netscape mail, the email will be actually deleted off (provided that you
set the option in your mail client settings).

I'm not too sure how the IMAP protocol is supposed to work but this may
not be a bug after all.

--
   Eugene  Chow 
== xyrik at ==
 -=ecentrenet dot kom=-

***
Toomas Vann wrote:

Hi!

I am new to Cyrus imapd and i recall reading somewhere that Cyrus
has problems with Netscape Mail Client deleting mail, but dont recall
from where i saw that?

OK, problem is that when deleting mail with Netscape Mail, mail is
moved to Trash folder but if i use a webmail client (IMP) then
i see that it was also left in INBOX and was never deleted from there.

Maybe someone know how to resolve this.

I am using Cyrus Imapd 2.1.9 and Netscape 7.0

Regards,
Toomas