Re: Hooking a custom handler to replace Sieve?

2001-09-10 Thread Jeremy Howard
Amos Gouaux wrote: > My thoughts are less ambitious. What I'd like is for the MTA to do > the spam/whatever filtering, and if the message was considered to be > spam, the MTA would just add a header to the message. If the user > wanted to, have some formula Sieve script that simply saves mail >

Re: Hooking a custom handler to replace Sieve?

2001-09-10 Thread Amos Gouaux
My thoughts are less ambitious. What I'd like is for the MTA to do the spam/whatever filtering, and if the message was considered to be spam, the MTA would just add a header to the message. If the user wanted to, have some formula Sieve script that simply saves mail containing that header into a

Hooking a custom handler to replace Sieve?

2001-09-10 Thread Jeremy Howard
Sieve is pretty cool, but it's just not enough for what I need. I want to write my own Perl handler which would allow me to implement some stuff that Sieve doesn't do: - Site-wide filtering policy called first - Checks against MAPS customisable per-user - Scoring of potential spam based on head

Announcement: cyrus-utils script and docs repository

2001-09-10 Thread Jeremy Howard
I noticed on info-cyrus that a lot of the same questions were being asked and answered, and that a lot of people were creating the same basic maintenance scripts. I figured that we could avoid these two problems by creating a central repositorary for answers to FAQs, and for patches/scripts. So

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Jeremy Howard
Lawrence Greenfield wrote: >From: Christopher Wong <[EMAIL PROTECTED]> >Date: Mon, 10 Sep 2001 12:29:17 -0400 > >On Monday 10 September 2001 11:54, Amos Gouaux wrote: >> >> Seems to me the more permissions that are granted to user cyrus, the >> more you loose any benefit of

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Christopher Wong
On Monday 10 September 2001 14:17, Lawrence Greenfield wrote: > Nothing stops you from running pwcheck/saslauthd as a non-root user > with shadow privileges. That's good to know. I wouldn't have known from the documentation, which only tells me to run it as root. I still don't see what using p

Cyrus + sasldb on Redhat 7.1

2001-09-10 Thread Tarek Rached
My fellow cyrus users, a little help if you please... I am currently in the process of setting up Cyrus 1.6.24 on Redhat 7.1. I installed cyrus-sasl-1.5.24, and then took the following steps to install cyrus-imapd: # ./configure --with-krb=no # make depend # make all CFLAGS=-O2 LDFLAGS=-s && ma

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Lawrence Greenfield
From: Christopher Wong <[EMAIL PROTECTED]> Date: Mon, 10 Sep 2001 12:29:17 -0400 On Monday 10 September 2001 11:54, Amos Gouaux wrote: > > Seems to me the more permissions that are granted to user cyrus, the > more you loose any benefit of the Cyrus software running as non-root.

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Christopher Wong
On Monday 10 September 2001 12:56, Amos Gouaux wrote: > > True, but the cyrus user is potentially more exposed to the outside > environment than pwcheck/saslauthd. These daemons are after all > listening on a UNIX domain socket, not an INET socket. Having internal access is bad enough (IMAP acce

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Amos Gouaux
> On Mon, 10 Sep 2001 12:29:17 -0400, > Christopher Wong <[EMAIL PROTECTED]> (cw) writes: cw> The "shadow" method gives "shadow" privileges to a Cyrus daemon. The cw> pwcheck method requires root privilege for the pwcheck daemon. I would cw> suggest that there is a qualitative differenc

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Christopher Wong
On Monday 10 September 2001 11:54, Amos Gouaux wrote: > > Seems to me the more permissions that are granted to user cyrus, the > more you loose any benefit of the Cyrus software running as non-root. The "shadow" method gives "shadow" privileges to a Cyrus daemon. The pwcheck method requires root

Re: Compiling cyrus-imap 1.6.24

2001-09-10 Thread Patrick Boutilier
Yes I did. Change line 47 of dump_deliver.c and line 51 of deliver.c from #include to #include Frederik Seiffert wrote: >Hello! > >In the cyrus mailing list, you wrote on Jul 28 2001: >--- >Has anybody successfully compiled cyrus-imap 1.6.24 or 1.6.25 under >RedHat 7.1? I keep getting thi

RE: IMSP address book switch state not preserved from Simeon server to 1.6a3

2001-09-10 Thread Steve Heist
> Did you say 1.4.5? *whistles* That is a *really* old client. Try > upgrading to a newer version. Version 2.1 was just released, and prior > to that, 2.0.8 was available. The problem you described was fixed in > one of the earlier 2.0 releases (I think at least by 2.0.5). Thanks for the inf

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Amos Gouaux
> On Mon, 10 Sep 2001 11:41:39 -0400, > Christopher Wong <[EMAIL PROTECTED]> (cw) writes: cw> BTW, the "chgrp shadow" trick still works in 2.0.16 if you do a "chmod cw> g+s /usr/cyrus/bin/imapd" after making sure that executable belongs to cw> group shadow. Seems to me the more permiss

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Christopher Wong
On Monday 10 September 2001 10:51, Amos Gouaux wrote: > > On Mon, 10 Sep 2001 16:31:49 +0200 (CEST), > > Tarjei Huse <[EMAIL PROTECTED]> (th) writes: > > th> - cyrus-imapd-2.0.16 doesn't set process ids correctly; > th> it only sets uid, not gid, neither supplementary gids > th> - detect

Sieve error

2001-09-10 Thread Benjamin Bacon
Hi everyone,   I am trying to get Sieve to work.  I can telnet to the Sieve port without a problem but when I run installsieve I get prompted for a password and then I get this error:   Unable to connect to server at /usr/local/bin/installsieve line 121, line 1.   I have not had a chance to

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread GOMBAS Gabor
On Mon, Sep 10, 2001 at 09:51:01AM -0500, Amos Gouaux wrote: > Gee, so much work. Just use pwcheck, or better yet saslauthd. Running with egid == 0 while the admin thinks it's running with egid != 0 can be a security problem in itself. Gabor -- Gabor Gombas

Re: Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Amos Gouaux
> On Mon, 10 Sep 2001 16:31:49 +0200 (CEST), > Tarjei Huse <[EMAIL PROTECTED]> (th) writes: th> - cyrus-imapd-2.0.16 doesn't set process ids correctly; th> it only sets uid, not gid, neither supplementary gids th> - detected by [EMAIL PROTECTED] (Cheng-Jih Chen), when trying the th> "

Bug&patch: cyrus-imapd-2.0.16 not setting process gids

2001-09-10 Thread Tarjei Huse
I'm sorry if this has already been posted on this list, but I have not seen it. Tarjei This is from the comp.mail.imap newsgroup: _ Summarising the thread this far, as this same message is going to cyrus-bugs. - cyrus-imapd-2.0.1

LMTPD dies with signal 11

2001-09-10 Thread Devdas Bhagat
I have managed to trace this to a possible bug in the db3 library, installed from the RH rpm on 7.1. db3-3.1.17-7. The libraries are correctly linked, but lmtpd dies with a signal 11 at line 313 of lib/cyrusdb_db3.c ( r = db->get(db, tid)). Does anyone have any idea of this problem? Bugfixes a

Can´t delete messages.

2001-09-10 Thread Juan Villasuso
Hi all, I´ve configured Sendmail 8.10.2 + cyrus 2.0.16 + cyrus-sasl 1.5.24 in a Solaris 2.8 and everything works fine, excepts that users can´t delete messages. The users can create or delete subfolders but not messages. The imap.conf is a copy of the normal.conf that comes with the cyrus-imap

Re: Authentication problem on RH 7.1

2001-09-10 Thread Jeremy Howard
Oyku Gencay wrote: > I've build and installed cyrus imapd 2.0.16-1rm from source by Ramiro > Morales available at http://rmrpms.tripod.com/cyrus-imapd/. I've succesfully > compiled and installed cyrus but, Cyrus does not authenticate users. I wat > to use PAM. Is there something obvious that I'm m

Authentication problem on RH 7.1

2001-09-10 Thread Oyku Gencay
Hi, I've build and installed cyrus imapd 2.0.16-1rm from source by Ramiro Morales available at http://rmrpms.tripod.com/cyrus-imapd/. I've succesfully compiled and installed cyrus but, Cyrus does not authenticate users. I wat to use PAM. Is there something obvious that I'm missing? Does anybody u