Re: sieve parsing problem

2001-07-16 Thread Pavel Levshin

Hello,

I have forgot to state which version if imapd I have. It is
cyrus-imapd 2.0.12.

Monday, July 16, 2001, 1:21:07 PM, I wrote:

PL today I've got a letter with following headers from freebsd-stable:


WBR, Pavel  mailto:[EMAIL PROTECTED]icq:52216261




sieve parsing problem

2001-07-16 Thread Pavel Levshin

Hello,

today I've got a letter with following headers from freebsd-stable:

Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57])
by hub.freebsd.org (Postfix) with ESMTP id 93E3C37B403
for [EMAIL PROTECTED]; Sun, 15 Jul 2001 23:50:11 -0700 (PDT)
(envelope-from [EMAIL PROTECTED])
Received: (from uucp@localhost)
by mail.du.gtn.com (8.11.0.Beta3/8.11.0.Beta3) id f6G6o4707108;
Mon, 16 Jul 2001 08:50:04 +0200 (MET DST)
Received: (from andreas@localhost)
by klemm.gtn.com (8.11.4/8.11.3) id f6G6fTE01183;
Mon, 16 Jul 2001 08:41:29 +0200 (CEST)
(envelope-from andreas)
Date: Mon, 16 Jul 2001 08:41:29 +0200
From: Andreas Klemm [EMAIL PROTECTED]
To: parv [EMAIL PROTECTED]
Cc: abram olson [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: mass uninstall all ports?

(rest of headers skipped)

One of the Received: lines is prefixed with , and it was when
this letter has been arrived. This message was not filed into
appropriate folder, e.g. freebsd.stable. Experiments with test
utility shows that problem is in the  character, which prevents
sieve from parsing remainder of headers.

Maybe this message falls into the conflict with some standards, but
I'm sure we must accept anything we can do.


WBR, Pavel  mailto:[EMAIL PROTECTED]icq:52216261




deleting old mailboxes

2001-07-16 Thread Nick Ustinov

Hey!

Is there some script or anything, that would scan the imap/user dir, lookup
.seen file date and create a list or delete mailboxes which are X months
unread?

Nick



problem compiling sasl with pam

2001-07-16 Thread Steve Wright

Hi,
 I'm setting up cyrus authenticate to an ldap database, I know from 
reading the docs to compile sasl to use pam. Unfortunately I can see 
./configure checking for pam_start  pam support then returning no on 
both ...
What files is configure checking for ? (pam is installed)
 where are they usually located ?

I'm running Debain 2.2rc3
Compiling cyrus-sasl-1.5.24

Thanks.

-- 
Steve Wright
Systems Administrator
ICQ: 123189056






Re: deleting old mailboxes

2001-07-16 Thread Prune



Nick Ustinov wrote:

 Hey!
 
 Is there some script or anything, that would scan the imap/user dir, lookup
 .seen file date and create a list or delete mailboxes which are X months
 unread?
 
 Nick

something like 

find ??


Prune

-- 
- le Centre - 
a Mad Cow Tribe product

(Very uncommon, but we should please everybody anyway, even disturbed minds)




deadlines suck! - imtest = zero response

2001-07-16 Thread Brendon M. Maragia

hey list,


# quick details you should know:
cyrus-imapd-2.0.15
cyrus-sasl-1.5.24
redhat 6.2 - kernel 2.4.6


I'm a first time user of cyrus-imap and i'm trying to get it working like
everyone else!  I've scoured the mailing list for an answer to my problems
but have seen no one with a similar situation.  And If I don't have this
issue resolved today, i'm in hot water!

You can view my configuration below.  My main problem as of now is no
response from the imap server.  Both with

% imtest -m login -u cyrus -p imap localhost
C: C01 CAPABILITY

and with

% telnet localhost imap
Trying 127.0.0.1...
Connected to pico.commaflex.com
Escape character is '^]'.


imtest produces this line in /var/log/messages

Jul 16 09:17:20 pico master[692]: process 698 exited, signaled to death by
11

(as of now this is the only error message i've been able to produce in my
logs).


I have succesfully added the user cyrus (along with several others) to the
sasldb (which for some reason I can not locate.  it is not in /etc/sasldb.
the only libraries i seem to have installed are ones in /usr/local/lib/sasl
i.e. /usr/local/lib/libsasl.so.7.1.8 ).  I believe they where successfully
added because I can run this


% sasldblistusers | sort
user: admin03 realm: pico.commaflex.com mech: CRAM-MD5
user: admin03 realm: pico.commaflex.com mech: DIGEST-MD5
user: admin03 realm: pico.commaflex.com mech: PLAIN
user: brendon realm: pico.commaflex.com mech: CRAM-MD5
user: brendon realm: pico.commaflex.com mech: DIGEST-MD5
user: brendon realm: pico.commaflex.com mech: PLAIN
user: cyrus realm: pico.commaflex.com mech: CRAM-MD5
user: cyrus realm: pico.commaflex.com mech: DIGEST-MD5
user: cyrus realm: pico.commaflex.com mech: PLAIN


Also I am starting the server using both

%./master 
and
%./master -D

neither of which produce any results in /var/log/messages besides

Jul 16 09:17:07 pico master: unable to change limit of file descriptors
available
Jul 16 09:17:07 pico master[692]: process started
Jul 16 09:17:08 pico ctl_mboxlist[693]: running mboxlist recovery
Jul 16 09:17:08 pico ctl_mboxlist[693]: done running mboxlist recovery
Jul 16 09:17:08 pico master[692]: ready for work
Jul 16 09:17:08 pico ctl_mboxlist[695]: checkpointing mboxlist
Jul 16 09:17:08 pico ctl_deliver[696]: duplicate_prune: pruning back 3 days
Jul 16 09:17:08 pico ctl_deliver[696]: duplicate_prune:
/var/imap/deliverdb/deliver-a.db: purged 0 out of 0 entries x20


my 2 config files show as follows

/etc/cyrus.conf
# standard standalone server implementation

START {
  # do not delete these entries!
  mboxlist  cmd=ctl_mboxlist -r
  deliver   cmd=ctl_deliver -r

  # this is only necessary if using idled for IMAP IDLE
#  idledcmd=idled
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=imap prefork=0
#  imapscmd=imapd -s listen=imaps prefork=0
  pop3  cmd=pop3d listen=pop3 prefork=0
#  pop3scmd=pop3d -s listen=pop3s prefork=0
#  sievecmd=timsieved listen=sieve prefork=0

  # at least one LMTP is required for delivery
#  lmtp cmd=lmtpd listen=lmtp prefork=0
  lmtpunix  cmd=lmtpd listen=/var/imap/socket/lmtp prefork=0
}

EVENTS {
  # this is required
  checkpointcmd=ctl_mboxlist -c period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd=ctl_deliver -E 3 period=1440
}

/etc/imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus root
allowanonymouslogin: no
sasl_passwd_check: passwd

I believe all my permissions are set correctly cyrus/mail owns all of
/var/imap and /var/spool/imap


Any help would be very much appreciated!


Sincerely,
Brendon M. Maragia

It is not the critic who counts: Not the man who points out how the strong
man stumbles, or where the doer of deeds could have done them better.  The
credit belongs to the man who is actually in the arena, whose face is marred
by dust and sweat and blood: Who strives valiantly: Who errors, and comes
short again and again: Because there is no effort without error and
shortcoming:  But who does actually strive to do the deeds: Who knows the
great enthusiasms, the great devotions: Who spends himself in a worthy
cause, who at the best knos in the end the triumphs of high achievement and
who at the worst, if he fails, at least fails while daring greatly, so that
his place shall never be with those cold and timid souls who know neither
victory nor defeat. -- Theodore Roosevelt




Can't figure our Sieve

2001-07-16 Thread Jon McDanel

(My apologies in advance if this ends up posting twice, I inadvertently sent
this the first time from an email address not subscribed to the list)


I have a CYRUS v2.0.14-NAMESPACE server running on Mac OS X and I'm trying
to get sieve functioning.  I did a 'standard' install of CYRUS (i.e.. No
reference about sieve).

CYRUS is up and running (over a month now) and sieve is up and running.  I
can telnet to the sieve port on the server and get the following response:

IMPLEMENTATION Cyrus timsieved v1.0.0
SIEVE fileinto reject envelope vacation imapflags notify subaddress
regex
OK


However if I try to run sieveshell, I receive the following error:

Use of uninitialized value in concatenation (.) at /usr/local/bin/sieveshell
line 149.
unable to connect to server:  at /usr/local/bin/sieveshell line 149.



Looking thru old posts, I saw reference to someone else having a similar
problem.  They installed websieve and bypassed sieveshell. I gave that a
shot too, but I'm running into problems there upon authentication, I get the
following:

System Error: IMAP::Sieve [ Login incorrect while connecting to localhost ]:
NO (SASL no mechanism available) Authentication error


Any ideas on what my problems might be?  Any suggestions?


Thanks,


Jon Mc.






Re: start master at boot

2001-07-16 Thread Kevin J. Menard, Jr.

Hey Douglas,


Wednesday, July 11, 2001, 10:11:01 PM, you wrote:


DAS Hi,

DAS I'm trying to configure my RH 7.0 box to start /usr/cyrus/bin/master at
DAS boot, but the script I created hangs on

DAS daemon /usr/cyrus/bin/master

DAS is this the proper way to do this? Could someone show me how they've
DAS accomplished this? Is it at all possible to run imapd and friends via
DAS inetd?

I would background the process.  Otherwise, your init script is going to
hang there.


-- 
 Kevin




Re: deadlines suck! - imtest = zero response

2001-07-16 Thread Cillian Sharkey

Brendon M. Maragia [EMAIL PROTECTED] wrote:
 /etc/imapd.conf
 configdirectory: /var/imap
 partition-default: /var/spool/imap
 admins: cyrus root
 allowanonymouslogin: no
 sasl_passwd_check: passwd
 ^^
Should that be sasldb?

-- 
Cillian



DBERROR

2001-07-16 Thread Oleg Baranov

I try to use the following simple script to create mailboxes on
FreeBSD4.2 / 2.0.11 / 1.5.24 box.
//--
#!/usr/bin/perl

use Mail::IMAPClient;
 die Give your user name as an argument unless @ARGV;

 $host = localhost;
 $uid = cyrus;
 $psw = secret;

 my $client = Mail::IMAPClient-new(
Server  = $host,
User= $uid,
Password= $psw,
Debug = 0,
 ) or die couldn't connect to $host port 143: $!\n;

 if(!$client-create(user. . $ARGV[0]))
 {
   $err = $client-LastError();
   $client-logout();
   die $err;
 }

 $client-logout() or
   die $client-LastError();
//--

it works fine, but when I run some copies of it simultaneously, it gives
something like this:

Jul 16 19:07:44 ian pam_userdb[3374]: DBERROR db3: Aborting locker
8020
Jul 16 19:07:45 ian pam_userdb[3375]: aborting txn 2147483680
Jul 16 19:07:45 ian pam_userdb[3375]: DBERROR db3: 9 lockers
Jul 16 19:07:45 ian pam_userdb[3375]: DBERROR db3: Aborting locker
801f
Jul 16 19:07:46 ian pam_userdb[3377]: aborting txn 2147483679
Jul 16 19:07:46 ian pam_userdb[3377]: DBERROR db3: 9 lockers
Jul 16 19:07:46 ian pam_userdb[3377]: DBERROR db3: Aborting locker
801e
Jul 16 19:07:46 ian pam_userdb[3376]: DBERROR db3: 10 lockers
Jul 16 19:07:46 ian pam_userdb[3376]: DBERROR db3: Aborting locker
8023
Jul 16 19:07:46 ian pam_userdb[3376]: aborting txn 2147483683
Jul 16 19:07:46 ian pam_userdb[3376]: DBERROR db3: 9 lockers
Jul 16 19:07:47 ian pam_userdb[3378]: DBERROR db3: 10 lockers
Jul 16 19:07:47 ian pam_userdb[3378]: DBERROR db3: Aborting locker
8024
Jul 16 19:07:47 ian pam_userdb[3378]: aborting txn 2147483684
Jul 16 19:07:47 ian pam_userdb[3378]: DBERROR db3: 9 lockers
Jul 16 19:07:47 ian pam_userdb[3381]: DBERROR db3: 10 lockers
Jul 16 19:07:47 ian pam_userdb[3381]: DBERROR db3: Aborting locker
8026
Jul 16 19:07:47 ian pam_userdb[3381]: aborting txn 2147483686

... and the server hangs (until master restart).
what did I write wrong?





Re: start master at boot

2001-07-16 Thread John C. Amodeo

Douglas,

I have attached a script, for Red Hat, that will allow you to treat Cyrus like
any other service, and control its behavior using run level editing tools.
Simply copy this file into /etc/rc.d/init.d and make sure it has the same perms
as everything else in the directory.

Then you can run setup and select system services and this will show up.
Also, you can type service cyrus start and service cyrus stop from the
command line.

-John

Kevin J. Menard, Jr. wrote:

 Hey Douglas,

 Wednesday, July 11, 2001, 10:11:01 PM, you wrote:

 DAS Hi,

 DAS I'm trying to configure my RH 7.0 box to start /usr/cyrus/bin/master at
 DAS boot, but the script I created hangs on

 DAS daemon /usr/cyrus/bin/master

 DAS is this the proper way to do this? Could someone show me how they've
 DAS accomplished this? Is it at all possible to run imapd and friends via
 DAS inetd?

 I would background the process.  Otherwise, your init script is going to
 hang there.

 --
  Kevin

--
__
John C. Amodeo, Associate Director
Information Technology and Computer Operations
Faculty of Arts  Sciences, Rutgers University
732.932.9455-voice 732.932.0013-fax



#!/bin/sh
#
# chkconfig: - 51 49
# description: The Cyrus IMAPD Master Process
#
# config: /etc/cyrus.conf
 
# source function library
. /etc/rc.d/init.d/functions

RETVAL=0

stop() {
echo -n Stopping Cyrus IMAP Master:
killproc /usr/cyrus/bin/master
RETVAL=$?
echo
[ $RETVAL -eq 0 ]  rm -f /var/lock/subsys/cyrus
}

start() {
[ -f /var/lock/subsys/cyrus ]  stop
echo -n Starting Cyrus IMAP Master:
/usr/cyrus/bin/master 
sleep 1
action  /sbin/pidof /usr/cyrus/bin/master
RETVAL=$?
[ $RETVAL -eq 0 ]  touch /var/lock/subsys/cyrus
}

restart() {
stop
start
}

case $1 in
  start)
start
;;
  stop)
stop
;;
  restart)
restart
;;
  condrestart)
[ -f /var/lock/subsys/cyimap ]  restart || : 
;;
  status)
status /usr/cyrus/bin/master
RETVAL=$?
;;
  *)
echo Usage: cyrus {start|stop|restart|condrestart|status}
RETVAL=1
esac

exit $RETVAL



Re: Installation Configuration problems

2001-07-16 Thread Scot W. Hetzel

From: Ken Cole [EMAIL PROTECTED]
 2. after making the changes to sendmail.mc I ran the following as
 directed:

 m4 sendmail.mc  sendmail.cf

 I got the following error message:

 sendmail.mc:11: m4: Cannot open /usr/lib/sendmail-cf/m4/cf.m4: No such
 file or directory

 /usr/lib/sendmail-cf/m4/cf.m4 does not exist and there is not one
 anywhere on the system.  I am using the standard sendmail as per the
 original installation, 8.9.3

 How do I fix this?

Do the following:

rpm -qa | grep sendmail

It should show:

sendmail-8.9.3-10
sendmail-doc-8.9.3-10
sendmail-cf-8.9.3-10

Your problem is that you don't have the sendmail-cf RPM installed.  Install
that RPM, and then rebuild your sendmail.cf using M4.

Scot




Vacation Sieve

2001-07-16 Thread Shelley Waltz

I havbe read through all the archives and the setup I currently
have should work with sieve vaction mail.

I am running cyrus-imapd-1.6.24 and cmu-sieve-1.3 and sendmail-8.10.1
My sendmail has the following configuration

define(`confLOCAL_MAILER', `cyrus')dnl
define(`CYRUS_MAILER_FLAGS', `A5@/:|SmXz')dnl
define(`CYRUS_MAILER_ARGS', `deliver -e -l')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(`cyrus')dnl 

I have created a sieve script for vacation mail responses ...

require [fileinto,vacation];
 
 
vacation :days 7 :addresses [[EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]] On vacation for the next week; 


however, mail justs operates as if there is no vacation mail script.
There are no messages in the imapd or maillog files reporting an error
or an attempt to use the script.

Did I miss something.  Help is greatly appreciated.

{ Shelley Waltz

  Center for Advanced Biotechnology and Medicine
  UMDNJ/Rutgers University
  679 Hoes Lane
  Piscataway, NJ 08854-5638
  phone: (732) 235-3346 };





Re: deadlines suck! - imtest = zero response

2001-07-16 Thread Kari Hurtta

 imtest produces this line in /var/log/messages
 
 Jul 16 09:17:20 pico master[692]: process 698 exited, signaled to death by
 11
 
 (as of now this is the only error message i've been able to produce in my
 logs).

If 11 is signal number, then it looks bad:

[hurtta@leija ~]$ grep 11 /usr/include/asm/signal.h
#define SIGSEGV 11
[hurtta@leija ~]$

That signal should produce core(-file) if allowed. It may be give some
hints. (I know nothing about cyrus :-))

-- 
  /\   |  Kari 
  \ / ASCII Ribbon Campaign |Hurtta
   X  Against HTML Mail |
  / \   |



Re: deadlines suck! - imtest = zero response

2001-07-16 Thread Kevin J. Menard, Jr.

Hey Brendon,


Monday, July 16, 2001, 9:34:32 AM, you wrote:

/etc/sasldb will be created when you run saslpasswd.

-- 
 Kevin




Re: deadlines suck! - imtest = zero response

2001-07-16 Thread Patrick Boutilier

Brendon,

Did you compile the programs or are you using RPM packages?

Can you provide the ldd output from /usr/cyrus/bin/master, 
/usr/cyrus/bin/imapd, and /usr/local/lib/libsasl.so ?


Brendon M. Maragia wrote:

hey list,


# quick details you should know:
cyrus-imapd-2.0.15
cyrus-sasl-1.5.24
redhat 6.2 - kernel 2.4.6


I'm a first time user of cyrus-imap and i'm trying to get it working like
everyone else!  I've scoured the mailing list for an answer to my problems
but have seen no one with a similar situation.  And If I don't have this
issue resolved today, i'm in hot water!

You can view my configuration below.  My main problem as of now is no
response from the imap server.  Both with

% imtest -m login -u cyrus -p imap localhost
C: C01 CAPABILITY

and with

% telnet localhost imap
Trying 127.0.0.1...
Connected to pico.commaflex.com
Escape character is '^]'.


imtest produces this line in /var/log/messages

Jul 16 09:17:20 pico master[692]: process 698 exited, signaled to death by
11

(as of now this is the only error message i've been able to produce in my
logs).


I have succesfully added the user cyrus (along with several others) to the
sasldb (which for some reason I can not locate.  it is not in /etc/sasldb.
the only libraries i seem to have installed are ones in /usr/local/lib/sasl
i.e. /usr/local/lib/libsasl.so.7.1.8 ).  I believe they where successfully
added because I can run this


% sasldblistusers | sort
user: admin03 realm: pico.commaflex.com mech: CRAM-MD5
user: admin03 realm: pico.commaflex.com mech: DIGEST-MD5
user: admin03 realm: pico.commaflex.com mech: PLAIN
user: brendon realm: pico.commaflex.com mech: CRAM-MD5
user: brendon realm: pico.commaflex.com mech: DIGEST-MD5
user: brendon realm: pico.commaflex.com mech: PLAIN
user: cyrus realm: pico.commaflex.com mech: CRAM-MD5
user: cyrus realm: pico.commaflex.com mech: DIGEST-MD5
user: cyrus realm: pico.commaflex.com mech: PLAIN


Also I am starting the server using both

%./master 
and
%./master -D

neither of which produce any results in /var/log/messages besides

Jul 16 09:17:07 pico master: unable to change limit of file descriptors
available
Jul 16 09:17:07 pico master[692]: process started
Jul 16 09:17:08 pico ctl_mboxlist[693]: running mboxlist recovery
Jul 16 09:17:08 pico ctl_mboxlist[693]: done running mboxlist recovery
Jul 16 09:17:08 pico master[692]: ready for work
Jul 16 09:17:08 pico ctl_mboxlist[695]: checkpointing mboxlist
Jul 16 09:17:08 pico ctl_deliver[696]: duplicate_prune: pruning back 3 days
Jul 16 09:17:08 pico ctl_deliver[696]: duplicate_prune:
/var/imap/deliverdb/deliver-a.db: purged 0 out of 0 entries x20


my 2 config files show as follows

/etc/cyrus.conf
# standard standalone server implementation

START {
  # do not delete these entries!
  mboxlist  cmd=ctl_mboxlist -r
  deliver   cmd=ctl_deliver -r

  # this is only necessary if using idled for IMAP IDLE
#  idledcmd=idled
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=imap prefork=0
#  imapscmd=imapd -s listen=imaps prefork=0
  pop3  cmd=pop3d listen=pop3 prefork=0
#  pop3scmd=pop3d -s listen=pop3s prefork=0
#  sievecmd=timsieved listen=sieve prefork=0

  # at least one LMTP is required for delivery
#  lmtp cmd=lmtpd listen=lmtp prefork=0
  lmtpunix  cmd=lmtpd listen=/var/imap/socket/lmtp prefork=0
}

EVENTS {
  # this is required
  checkpointcmd=ctl_mboxlist -c period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd=ctl_deliver -E 3 period=1440
}

/etc/imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus root
allowanonymouslogin: no
sasl_passwd_check: passwd

I believe all my permissions are set correctly cyrus/mail owns all of
/var/imap and /var/spool/imap


Any help would be very much appreciated!


Sincerely,
Brendon M. Maragia

It is not the critic who counts: Not the man who points out how the strong
man stumbles, or where the doer of deeds could have done them better.  The
credit belongs to the man who is actually in the arena, whose face is marred
by dust and sweat and blood: Who strives valiantly: Who errors, and comes
short again and again: Because there is no effort without error and
shortcoming:  But who does actually strive to do the deeds: Who knows the
great enthusiasms, the great devotions: Who spends himself in a worthy
cause, who at the best knos in the end the triumphs of high achievement and
who at the worst, if he fails, at least fails while daring greatly, so that
his place shall never be with those cold and timid souls who know neither
victory nor defeat. -- Theodore Roosevelt







Re: Partial transfer of administrative rights?

2001-07-16 Thread Nuno Silva


hi,

if you're using a recent cyrus (2.x) and have one ip to spare to the new 
domain you can setup a new cyrus running on ip w.x.y.z with a 
different cyrus.conf file -- everything is the same but the conf file.
in the new cyrus.conf you can specify other admin users.
then point mail.otherdomain.com com w.x.y.z and you're set!

hope it helps,
nuno silva


Devdas Bhagat wrote:

 Is it possible to give an admin full rights over only a certain set of
 mailboxen? Essentially, I'm trying to transfer control for a virtual
 domain to another admin, but I don't want that admin to handle
 users for other domains.
 
 If yes, how? 
 Devdas Bhagat
 --
 I like young girls.  Their stories are shorter.
  -- Tom McGuane
 
 





Imap Administration via IMAP port

2001-07-16 Thread Adi Linden

Hi,

What commands are available to administer cyrus-imap via connection on the
imap port instead of using cyradm?

TTYL,
Adi




Can sieve scripts handle multiple dispositions?

2001-07-16 Thread mills

I've read the sieve documentation, but can't determine if only one
disposition is allowed for an incoming message, or if there can be
more than one.  Does anyone know about this?

I'm in the process of converting several thousand Unix .forward files
into sieve scripts, and I've noticed that some of our users have
specified several addresses in their .forward files.  The `redirect'
action allows only a single address as its argument.  Can there be
several redirect commands in the script?

Some other users specify `vacation' along with two forwarding addresses,
one local and the other remote.  Can there be a `keep' and a `redirect'
in the same script with no control commands?

I haven't even gotten to the $SUBJECT variable in the .vacation.msg
files, but I'm sure that isn't supported by sieve scripts.


-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-



Re: Imap Administration via IMAP port

2001-07-16 Thread Michael T. Bacon

Cyradm is simply a tool for issuing commands to the IMAP port.  As such, all
of the commands in cyradm are just cleaned up IMAP commands, and could be
issued by some other program or a human with a telnet connection to port 143.

Michael

Adi Linden wrote:

 Hi,

 What commands are available to administer cyrus-imap via connection on the
 imap port instead of using cyradm?

 TTYL,
 Adi




ANN: Cyrus IMAPd rpm packages

2001-07-16 Thread Ramiro Morales

People:

I have uploaded a new release of the rpm package set of Cyrus 
IMAPd (sIMAP, [s]POP3) server I maintain. Version is 2.0.14, 
release is 3rm. 

The URL is 

  http://rmrpms.tripod.com/cyrus-imapd/ 

The packages are prepared, built and tested on a Red Hat Linux 
6.2 system, but I'm doing my best to make rebuilding the 
source rpm under Red Hat Linux 7 and 7.1 trouble-free. 

Support for interfacing with the Sendmail MTA and drac 
(Dynamic Relay Authorization Control Daemon) is selectable at 
build time (instructions are on the above URL and on the 
README.RPM file contained in the cyrus-imapd-doc sub-package). 

Source (recommended) and binary (Red Hat Linux 6.2/i386) 
packages are available. 

The packages are GPG signed. You can download my public key from

  http://rmrpms.tripod.com/RM-GPG-KEY
 
or from

  http://www.rmorales.com.ar/RM-GPG-KEY

Please report any problem, send patches, comments rants, ... to 
[EMAIL PROTECTED] 

Changes since last release: 

- GPG sign the packages
- Change initscript strategy used to avoid killing Postfix master on 
   stop: copy fragments from /etc/init.d/functions of RHL 7.1
- Update to 2.0.14
- note about auth method in README.RPM
- Ship perl modules docs
- Add e2fsprogs prereq
- create -utils and perl-Cyrus sub-packages.
- remove rmnews manpage, feedcyrus tool.


Name: cyrus-imapd
Version: 2.0.14
Release: 3rm
Summary: A high-performance mail store with IMAP and POP3 support.
Copyright: BSD
Group: System Environment/Daemons
URL: http://asg.web.cmu.edu/cyrus/imapd/
Conflicts: imap

The Cyrus IMAP server is a scaleable enterprise mail system
designed for use from small to large enterprise environments using
standards-based technologies.

A full Cyrus IMAP implementation allows a seamless mail and bulletin
board environment to be set up across multiple servers. It differs from
other IMAP server implementations in that it is run on sealed
servers, where users are not normally permitted to log in. The mailbox
database is stored in parts of the filesystem that are private to the
Cyrus IMAP system. All user access to mail is through software using
the IMAP, POP3, or KPOP protocols.

This is the main package, install also the cyrus-imapd-doc package (it 
contains the documentation in html and plain text formats) and the 
cyrus-iampd-utils package (it contains server administration tools and
depends on the perl-Cyrus package).
[
This package has been built with the option of including Sendmail 
config files that helps implementing Cyrus IMAPd along with 
that MTA in the same system. You can install this package even 
if you are not using Sendmail because you must implement manually 
the use of these Sendmail-specific files and no system configuration 
file is automatically modified when you install this package.
]
[
This package has been built with support for the drac (dynamic relay 
authorization control) daemon. You can install this package even if 
you don't use drac because it is disabled by default in imapd.conf(5).
]


Name: cyrus-imapd-doc
Version: 2.0.14
Release: 3rm
Group: Documentation
Summary: Documentation files for Cyrus IMAPd administrators.

This package contains the documentation files for the Cyrus IMAPd 
server in html and text formats.

The main package is cyrus-imapd.


Name: perl-Cyrus
Version: 2.0.14
Release: 3rm
Group: Applications/CPAN
Summary: Cyrus IMAPd utility Perl modules.
Requires: cyrus-sasl = 1.5.24-11, db3, openssl, perl

This package contains Perl modules neccessary to use the Cyrus server
administrative utilities.

The main package is cyrus-imapd.


Name: cyrus-imapd-utils
Version: 2.0.14
Release: 3rm
Group: Applications/System
Summary: Cyrus IMAPd server admin utilities.

This package contains Cyrus IMAPd server administraive tools. It 
can be installed on systems other than the one running the server.

This package depends on the perl-Cyrus package. The main package is
cyrus-imapd.


Name: cyrus-imapd-devel
Version: 2.0.14
Release: 3rm
Group: Development/Libraries
Summary: Cyrus IMAPd development files.

This package contains header files and libraries necessary for 
developing applications which use the imclient library.

The main package is cyrus-imapd.

--
Ramiro



Get free email and a permanent address at http://www.amexmail.com/?A=1



How do I enable PAM authentication in Solaris?

2001-07-16 Thread Lumpkin, Buddy

Hello All,

I have configured cyrus-imapd-2.0.14 and cyrus-sasl-1.5.24 on Solaris 8 and they work 
great with sasldb for authentication. I assumed that I could just edit the line:


sasl_pwcheck_method: sasldb

in /etc/imapd.conf and /usr/lib/sasl/cyrus.conf and change it so that it says:

sasl_pwcheck_method: PAM

Part of that assumption is that PAM authentication will automatically try to 
authenticate with the libraries listed in /etc/pam.conf under login or other?

This is not working though :(

Are my assumptions correct?

Thanks in advance,

--Buddy



Re: Imap Administration via IMAP port

2001-07-16 Thread Scott Adkins

In addition to that, it should be stated that the difference between
administrative commands and non-administrative commands is purely one
of access rights.  You must be logged into an adminstrative account
to do anything useful to user accounts.  In any the case, the command
set is the same... just how much you can do with those commands is the
question.

Scott

--On Monday, July 16, 2001 4:59 PM -0400 Michael T. Bacon 
[EMAIL PROTECTED] wrote:

 Cyradm is simply a tool for issuing commands to the IMAP port.  As such,
 all of the commands in cyradm are just cleaned up IMAP commands, and
 could be issued by some other program or a human with a telnet connection
 to port 143.

 Michael

 Adi Linden wrote:

 Hi,

 What commands are available to administer cyrus-imap via connection on
 the imap port instead of using cyradm?

 TTYL,
 Adi



--
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
  Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
   UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
 CNS, HDL Center, Suite 301, Ohio University, Athens, OH 45701-2979



Re: Release of Cyrus SASL 2.0.2-ALPHA

2001-07-16 Thread Rob Siemborski

On Sat, 14 Jul 2001, Jeremy Howard wrote:

 Rob Siemborski [EMAIL PROTECTED] wrote:
  I'd like to announce the release of Cyrus SASL 2.0.2-ALPHA, available on
  ftp.andrew.cmu.edu.
 
 Is there a quick overview someplace of what the major changes in SASL 2.x
 are/will be, and how this will impact end users? In particular, how will it
 effect (if at all) pwcheck daemons--will custom daemons need any changes?

Most of the changes are under the hood, and will only affect application
developers.  However, the format of the sasldb is changing and thus the
old version will be incompatible with the new.  We have several ideas
about a possible conversion utility but nothing is final yet.

It will not affect users of pwcheck or saslauthd (except that saslauthd
will now support a krb5 mech).

 Are any performance enhancements expected? Will any existing mechanisms
 break with the new release? Finally, will Cyrus IMAPd support both SASL 2.x
 and 1.x for some transition period?

Yes, in fact one of the most compelling reasons for the new version is for
performance improvements (especially with respect to memory allocation).
Most of the other improvements serve mainly to clarify the semantics of
the API to both mechanism and application developers.

All existing mechanisms will break with the new code (but they shouldn't
even load if they are written correctly), however all of the mechanisms we
currently provide will be provided with SASLv2 (with the exception of
the depricated SCRAM mechanism).

As far as Cyrus, depending on the version numbering of the nexte few
releases SASLv2 will be required for either the v2.1.x series of the
v2.2.x series.  Once development on the new series begins for the most
part development on the hold series will stop, with the exception of
bugfixes.  No version of Cyrus IMAPd will support both SASLv1 and SASLv2.

I hope this helps,
-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Cyert Hall 235 * 412-CMU-TREK
   | Cyrus SASL Developer, /usr/contributed Gatekeeper





pine thinks my INBOX is empty? Anyone know if this is a common problem with pine and cyrus?

2001-07-16 Thread Lumpkin, Buddy

Subject says it all ...

TIA

--Buddy



Newbie struggling with sendmail config

2001-07-16 Thread Fred Ball

Hi, crew.  I'm going for my first installation of Cyrus imapd, running 
sendmail and freeBSD 4.3.

I'm using the O'Reilly IMAP book as a guide, and everything *seemed*okay 
until I hit the instructions for building the sendmail config file.  It 
instructs me to add the following two lines to cyrusproto.mc:

OSTYPE(freebsd4)
DOMAIN('DOMAIN.COM')

Then I run:

m4 ../m4/cf.m4 cyrusproto.mc  cyrusproto.cf

Every time I do this, I get the message:

m4: . . /domain/'DOMAIN.COM'.m4: No such file or directory

as if it is looking for another script piece.  When I omit the domain line, 
it seems to output fine.  But then I try O'Reilly's test for the sendmail 
config:

cyradmin -user cyrus localhost imap

and it returns:

cyradm: cannot connect to server

Any ideas on where to start with this

Thanks for any help,

Fred

--
Fred Ball
Programming
Web International - 501/372-0393
[EMAIL PROTECTED]
www.webinternational.net