Re: Sieve error in :matches clause

2001-10-23 Thread Simon Josefsson

Ken Murchison <[EMAIL PROTECTED]> writes:

>> I suspect you're right, William. AFAICT this goes against the RFC however,
>> since you should only get regex when you use the :regex comparator.
>> 
>> Ken--is this a bug... a feature... a misdiagnosis...?
> 
> It appears to be a bug caused by using fnmatch(3) to perform the match. 
> fnmatch(3) performs glob-style matching, which treats '?', '*' AND '['
> as special -- see glob(7).  The workaround is to escape the []:
> 
> header :matches "subject" "*\\[spam score 10.0/10.0 -pobox\\]*"
> 
> Feel free to bugzilla this, but I doubt it'll be at the top of anyone's
> list, since using fnmatch(3) is just too convenient.

Maybe a quick workaround could be to, in the Cyrus Sieve code, replace
[ with \[ in the string that is passed to fnmatch()?  Then you don't
need to rewrite fnmatch.




cyrus failover and reconstruct

2001-10-23 Thread Klaus Jaehne


We are going to set up a failover solution for a cyrus IMAP server with
two machines and a shared disk array (which holds a journaling file
system). Now I assume one machine has failed and the second one is taking
over the file system - is it safe to start cyrus on the second machine
immediately or must I run some command like reconstruct before to check
cyrus' consistency? Or can I run reconstruct after Cyrus has started up? I
suppose there other people on the list with a similar configuration, so
there must be some experience... ?

-- 
geetings,
Klaus Jähne

Thinking Objects Software GmbH,  Lilienthalstr. 2,  70825 Stuttgart,  DE
phone 49 711 88770 400, fax 449, [EMAIL PROTECTED], http://www.to.com/

  Linux without limits: http://linux.s390.org/ 






Re: Sieve error in :matches clause

2001-10-23 Thread Ken Murchison



Simon Josefsson wrote:
> 
> Ken Murchison <[EMAIL PROTECTED]> writes:
> 
> >> I suspect you're right, William. AFAICT this goes against the RFC however,
> >> since you should only get regex when you use the :regex comparator.
> >>
> >> Ken--is this a bug... a feature... a misdiagnosis...?
> >
> > It appears to be a bug caused by using fnmatch(3) to perform the match.
> > fnmatch(3) performs glob-style matching, which treats '?', '*' AND '['
> > as special -- see glob(7).  The workaround is to escape the []:
> >
> > header :matches "subject" "*\\[spam score 10.0/10.0 -pobox\\]*"
> >
> > Feel free to bugzilla this, but I doubt it'll be at the top of anyone's
> > list, since using fnmatch(3) is just too convenient.
> 
> Maybe a quick workaround could be to, in the Cyrus Sieve code, replace
> [ with \[ in the string that is passed to fnmatch()?  Then you don't
> need to rewrite fnmatch.

I was thinking the exact same thing last night  :^)

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



vacation and lmtpd

2001-10-23 Thread Igor Kucherenko

Hello everyone!

1)
I installed cyrus-imapd-2.0.16 from FreeBSD ports collection on FreeBSD
4.4-stable.
There is all work fine EXCEPT vacation feature. Sendmail's log file
indicates nothing
about that vacation answer sent to sender back.

cyrus.conf>  lmtpunix cmd="lmtpd"
listen="/usr/local/etc/imap/socket/lmtp" prefork=0
imapd.conf>  sendmail: /usr/sbin/sendmail

sendmail.cf>

Mcyrus,P=[IPC],
 F=lsDFMnqA@/:|SmXz, E=\r\n,
 S=EnvFromL,
 R=EnvToL/HdrToL,
 T=DNS/RFC822/X-Unix,
 A=FILE /usr/local/etc/imap/socket/lmtp

sieve-script (active)>

require "vacation";
vacation :days 2 :addresses [[EMAIL PROTECTED]] "I am away" ;

What did I lost in configuration? What do I do wrong ?

2) If I want to deliver mail to cyrus box to other server via lmtp protocol
what must I change in sendmail.cf mailer definition? (As I understand I
must change lmtpunix to lmtp in cyrus.conf)

Thank you.

Igor Kucherenko




Re: procmailrc

2001-10-23 Thread Louis LeBlanc

On 10/22/01 09:05 PM, Lance Hoffmeyer sat at the `puter and typed:
> I have a global procmailrc I created which I execute with fetchmali.
> It works somewhat but all mail seems to go to the Debian folder?
> What do I seem wrong in this?
> 
> PATH=path/mail
> SHELL=/bin/sh
> HOME=path/mail
> DELIVER="/usr/sbin/cyrdeliver"
> SPAM=/dev/null
> LOGNAME=$LOGNAME
> 
> 
> 
> :0:lance.lock
> * ^To:|^cc:|Cc:.*debian-user
> | tail +2 | $DELIVER -e -a lance -m Listserv.Debian
> 
> :0:lance.lock
> * ^To:.*strawbale
> | tail +2 | $DELIVER -e -a lance -m Listserv.Strawbale
> 
> :0:lance.lock
> * ^To:.*mutt
> | tail +2 | $DELIVER -e -a lance -m Listserv.muttuser
> 
> :0:lance.lock
> | tail +2 | $DELIVER -e -a lance -m user.lance
 
You might actually get more success solving this one on the procmail
list: http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

OTOH, it looks like you are handling mailing lists and trying to
deliver the different lists into different folders.

Here's what I do to solve it:

I subscribe to the different lists with the [EMAIL PROTECTED]
convention - see my From header.

create that folder (I have a cyrus, freebsd, procmail, . . . something
like 10 folders at any given time)

Sendmail will decipher this and pass the folder into procmail if you
configure it correctly.  I am currently using Cyrus 2.0.16, FreeBSD
4.4 Release, and Procmail 3.22.  The half dozen + lists I subscribe to
are automatically sorted into the appropriate folders for me without
having to run my mail thru extra recipes.

Here is my /etc/procmailrc:

LOGNAME = $1
EXTENSION = $2
PATH=$1/bin:/usr/bin:/bin:/usr/local/bin:.
SHELL=/bin/sh
MAILDIR=/usr/local/cyrus
LOGFILE=/var/log/procmail_log
DEFAULT=$HOME/
VERBOSE=yes

# Place any antispam or other universal filters here.  Don't
# write to files or pipe to programs unless you are ABSOLUTELY
# SURE you know what you are doing!


# this enables automated procmail recipe creation for users;
# roll your own tool to allow creation of procmail recipes on a
# per-user basis and place them there, but don't let users edit
# their own recipes
INCLUDERC=/home/$1/.procmailrc

:0 w
* EXTENSION ?? .
| /usr/local/cyrus/bin/deliver -q -m "$EXTENSION" -- "$LOGNAME"

# Only if there was no extension do we try this
:0 wE
| /usr/local/cyrus/bin/deliver -q -- "$LOGNAME"

# Whichever one we tried, failed
EXITCODE = $?
HOST


 
And for Cyrus 2.0.16, Here is how I modified my sendmail.mc:

define(`confDEF_USER_ID',``cyrus:mail'')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
define(`confTO_QUEUERETURN', `4d')
define(`confTO_QUEUEWARN', `4h')

define(`confMAX_MIME_HEADER_LENGTH', `256/128')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')

define(`CYRUS_MAILER_FLAGS',`SA5@|:/w')
define(`CYRUS_MAILER_PATH',`/usr/local/bin/procmail')
define(`CYRUS_MAILER_USER',`cyrus:mail')

define(`CYRUS_MAILER_ARGS',`procmail -Y -m /etc/procmailrc $u $h')
define(`CYRUS_MAILER_MAX',`eval(5*1024*1024)')

define(`CYRUS_BB_MAILER_FLAGS',`S')
define(`CYRUS_BB_MAILER_ARGS',`procmail -Y -m
/usr/local/procmail/procmailrc $u $h')

define(`confLOCAL_MAILER',`cyrus')

MAILER(`local')
MAILER(`smtp')
MAILER(`cyrus')

LOCAL_RULE_0
R$=N$: $#local $: $1
R$=N < @ $=w . >$: $#local $: $1
Rbb + $+ < @ $=w . >$#cyrusbb $: $1


That LOCAL_RULE_0 section uses tabs.

Notice the bait and switch with the cyrus and procmail definitions.
This looks odd, but it works flawlessly.  I'm not entirely sure why,
but . . .

I keep threatening to put up a help page for this, maybe in the next
week or so.

NOTE:  I had a slightly different solution that worked with Cyrus
1.6.24, but I don't have access to that config just now.  I believe
you will find it in the Cyrus-info archives, though.

If you don't want to go thru this reconfig, the procmail folks are
every bit as helpful as the Cyrus folks.  And the FreeBSD folks, and
the OpenLDAP folks, and . . .


HTH
Cheers.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net ԿԬ

ignorance, n.:
  When you don't know anything, and someone else finds out.




message deletion from server

2001-10-23 Thread Brian Little

I've been doing research on IMAP Server solutions.  The question arose as to
whether the Server can be configured to disallow an e-mail client to
download messages off of the server.  Is this possible?

Thanks,
Brian




copying whole folder trees from one server to another

2001-10-23 Thread darrell berry

hi

i asked a while back about migration tools which could copy whole user
folder trees form one imap server to another, and had no repsonse...has
anyone used such a tool? i've tried imapcopy, which is fone, but only does
inbox, not subfolders thereof...


all help very much appreciated!

thx




Re: creating non-production mail test system

2001-10-23 Thread Tarjei Huse

Hi,
> Now I want to move to sendmail 8.11.6 and cyrus-imapd-2.0.16 without
> breaking anything.  I also want to change my sendmail configuration to
> use SMTP-AUTH, and to install some spam filtering software.  This all
> still has to work with the current VirusWall software.
How about using postfix instead of sendmail. I found that solved all my problems
:)

> /usr/lib/sasl/Cyrus.conf contains:
> 
> pwcheck_method:passwd
Hmm. If you use pam, use pwcheck_method:pam
 

> xx.aerodyne.com[198.4.242.xxx] PLAIN generic failure
Hmm. is your saslpasswd != passwd pwd?
 
> I currently have cyrus-imapd-1.6.19 installed on both the production
> server and my small testbed machine.  I've rebuilt all of the software
> on this machine in the hopes that library inconsistencies will be minimal.
> Is there anything obvious which I've forgotten?  Is it possible that I
> cyrus-imapd and cyrus-sasl are using incompatible databases?  I have
> db-3.1.17 installed on the machine.


Tarjei



Re: copying whole folder trees from one server to another

2001-10-23 Thread Louis LeBlanc

On 10/23/01 03:59 PM, darrell berry sat at the `puter and typed:
> hi
> 
> i asked a while back about migration tools which could copy whole user
> folder trees form one imap server to another, and had no repsonse...has
> anyone used such a tool? i've tried imapcopy, which is fone, but only does
> inbox, not subfolders thereof...

I recently had to do this, but I just used my MUA.  Mutt can tag all
messages in a folder (allowing me to clean up by untagging messages to
be tossed), and copy or move all messages to the specified folder on
the other server.  With IMAP, pretty much any good MUA will work,
since they should be able to connect to multiple servers.

I had no hitches with Mutt, but I only had two accounts with probably
less than 20 folders to move.  You may have enough to make this an
unfeasable MO.

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net ԿԬ

knowledge, n.:
  Things you believe.




Re: copying whole folder trees from one server to another

2001-10-23 Thread darrell berry

thats a help, but i'm hoping someone out there has scripts for this...we
have 200+ users, some of whom have over 100 folders each (sigh)

thx tho!


on 23/10/01 4:10 pm, Louis LeBlanc at [EMAIL PROTECTED]
wrote:
able to connect to multiple servers.
> 
> I had no hitches with Mutt, but I only had two accounts with probably
> less than 20 folders to move.  You may have enough to make this an
> unfeasable MO.
> 
> HTH
> Lou




Strange through put.

2001-10-23 Thread Kiarna Boyd

Good Morning!

I have a Solaris 7 Ultra 5 w/384 Megabytes running cyrus 2.0.16 on top of 
sendmail 8.

My server has a 100 base ether card and on full duplex running on a 100 
base port. ( I checked it with ndd -get)

Okay the strange thing is that we are now using a network performance 
monitor and I am seeing the server crunched at about 11 meg through put!
10m is average 11m  spikes. The only thing on this server is the mail. The 
CPU is currently hanging at around 30 % idle.

Any ideas?

Thank you Thank you!


-Kiarna




RE: copying whole folder trees from one server to another

2001-10-23 Thread Kiarna Boyd

Hi Darrell!
On unix I use tar commands and rsh/ssh.
On the same server you can leave off the rsh bit. I like ssh myself. Make sure you can 
rsh/ssh first!
Also this is a very intense command it will overwrite files.

cd to the directory you wish to copy

pwd
/var/spool/imap

tar cvfp - .| rsh server;(cd /var/spool/imap;tar xvfp -)

or on same server

cd /var/spool/imap/user/kboyd
pwd
/var/spool/imap/user/kboyd

tar cvfp - .|(cd /backup/imap/user/kboyd; tar xvfp -)


I use this to copy gigs of data.

Hope it helps!

-Original Message-
From:   darrell berry [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, October 23, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject:copying whole folder trees from one server to another

hi

i asked a while back about migration tools which could copy whole user
folder trees form one imap server to another, and had no repsonse...has
anyone used such a tool? i've tried imapcopy, which is fone, but only does
inbox, not subfolders thereof...


all help very much appreciated!

thx




Sieve

2001-10-23 Thread Tym Rehm

Can sieve filter exe and vbs files from email? I would want emails with exe
attachments dropped, but I would like to know that it was dropped. Is there
a way to do that with sieve?




Re: cyrus failover and reconstruct

2001-10-23 Thread Greg Hewett

My experience has been that cyrus fails over pretty clean.  Depending on the
number of users, it might not make sense to reconstuct the databases at a time
of fail over.

Greg

On Tue, Oct 23, 2001 at 02:10:47PM +0200, Klaus Jaehne wrote:
> 
> We are going to set up a failover solution for a cyrus IMAP server with
> two machines and a shared disk array (which holds a journaling file
> system). Now I assume one machine has failed and the second one is taking
> over the file system - is it safe to start cyrus on the second machine
> immediately or must I run some command like reconstruct before to check
> cyrus' consistency? Or can I run reconstruct after Cyrus has started up? I
> suppose there other people on the list with a similar configuration, so
> there must be some experience... ?
> 
> -- 
>   geetings,
>   Klaus J?hne
> 
> Thinking Objects Software GmbH,  Lilienthalstr. 2,  70825 Stuttgart,  DE
> phone 49 711 88770 400, fax 449, [EMAIL PROTECTED], http://www.to.com/
> 
>   Linux without limits: http://linux.s390.org/ 
> 
> 
> 



Re: copying whole folder trees from one server to another

2001-10-23 Thread William K. Hardeman

Darrell,

We just recently finished a migration to a new machine, and used the same 
method that Kiarna suggested, except we tarred /var/spool/imap up 
completely, instead of doing it user-by-user. We also did the same for our 
/var/imap and /var/sieve directories. We were migrating from one machine to 
another with identical Cyrus-Berkeley-SASL setups. I don't know how well 
this method would work when mixing-n-matching software versions.

Will

--On Tuesday, 23 October, 2001 16:30 +0100 darrell berry 
<[EMAIL PROTECTED]> wrote:

> thats a help, but i'm hoping someone out there has scripts for this...we
> have 200+ users, some of whom have over 100 folders each (sigh)
>
> thx tho!
>
>
> on 23/10/01 4:10 pm, Louis LeBlanc at [EMAIL PROTECTED]
> wrote:
> able to connect to multiple servers.
>>
>> I had no hitches with Mutt, but I only had two accounts with probably
>> less than 20 folders to move.  You may have enough to make this an
>> unfeasable MO.
>>
>> HTH
>> Lou
>




William K. Hardeman
[EMAIL PROTECTED]
http://www.wkh.org

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein



Re: copying whole folder trees from one server to another

2001-10-23 Thread darrell berry

i should have mentioned we're migrating from Netscape Messenger Server on
NT...

sorry




on 23/10/01 4:57 pm, William K. Hardeman at [EMAIL PROTECTED] wrote:

> Darrell,
> 
> We just recently finished a migration to a new machine, and used the same
> method that Kiarna suggested, except we tarred /var/spool/imap up
> completely, instead of doing it user-by-user. We also did the same for our
> /var/imap and /var/sieve directories. We were migrating from one machine to
> another with identical Cyrus-Berkeley-SASL setups. I don't know how well
> this method would work when mixing-n-matching software versions.
> 




No Subject

2001-10-23 Thread laurent labatut
Title: Message



How create a script 
who delete mail flag for deletion on the server
 
Thank TO 
ALL
Laurent 
labatut


Re: copying whole folder trees from one server to another

2001-10-23 Thread Mika Iisakkila

William K. Hardeman wrote:
> /var/imap and /var/sieve directories. We were migrating from one machine to 
> another with identical Cyrus-Berkeley-SASL setups. I don't know how well 
> this method would work when mixing-n-matching software versions.

I'd be extra careful in any case. Once the main mailbox database gets
corrupted, you're pretty much SNAFU (don't ask me how I found out
that the reconstruct -m option, nicely documented on the man page,
doesn't work at all). Dump it into a flat text file with ctl_mboxlist
for backup before doing anything that touches Cyrus, or the DB libraries.
The mailboxes themselves and their contents can be reconstructed from
the mail storage.

I wish the documentation included some clearer instructions on how
to do this kind of stuff, and what never, ever to do (like trying
to remove --enable-diagnostic from DB library configure options after
the databases have been created...).

--mika



Re: procmailrc

2001-10-23 Thread Liviu Daia

On 22 October 2001, Lance Hoffmeyer <[EMAIL PROTECTED]> wrote:
> I have a global procmailrc I created which I execute with fetchmali.
> It works somewhat but all mail seems to go to the Debian folder?
> What do I seem wrong in this?
> 
> PATH=path/mail
> SHELL=/bin/sh
> HOME=path/mail
> DELIVER="/usr/sbin/cyrdeliver"
> SPAM=/dev/null
> LOGNAME=$LOGNAME
> 
> 
> 
> :0:lance.lock
> * ^To:|^cc:|Cc:.*debian-user
> | tail +2 | $DELIVER -e -a lance -m Listserv.Debian

This doesn't really make sense, does it?  Procmail regexps are
case-insensitive by default, and "|" has a very low precedence.  Try
something like:

:0:
* ^(To|Cc):.*debian-user@
| ...

Better yet, use the predefined macro "^TO_":

:0:
* ^TO_debian-user@
| ...

Better yet, ;-) use the "Sender:" header.

Regards,

Liviu Daia

> :0:lance.lock
> * ^To:.*strawbale
> | tail +2 | $DELIVER -e -a lance -m Listserv.Strawbale
> 
> :0:lance.lock
> * ^To:.*mutt
> | tail +2 | $DELIVER -e -a lance -m Listserv.muttuser
> 
> :0:lance.lock
> | tail +2 | $DELIVER -e -a lance -m user.lance

-- 
Dr. Liviu Daia   e-mail:   [EMAIL PROTECTED]
Institute of Mathematics web page: http://www.imar.ro/~daia
of the Romanian Academy  PGP key:  http://www.imar.ro/~daia/daia.asc



forwarding

2001-10-23 Thread Kiarna Boyd

Hi!
I have 2.0.16 and sendmail 8 on Solaris 7.

I am looking for a graceful solution for .forwards.
Anyone have a better solution than the traditional home dir .forward?

Thanks!

-Kiarna




Re: sieveshell

2001-10-23 Thread Larry Greenfield

Thanks, I've fixed this by using File::Temp.

Larry

--On Saturday, September 29, 2001 12:57 AM -0500 Amos Gouaux 
<[EMAIL PROTECTED]> wrote:

> I haven't had much time to look into this myself but, from a fairly
> recent CVS pull, I notice that one's password is echoed when using
> sieveshell.  Perhaps some of the logic in Cyrus::IMAP::authenticate
> could be used?
>
> I notice the sieveshell script has the following:
>
> my $tmpfile = "/tmp/sieveshell.tmp";
>
> Perhaps this should be a bit more careful to avoid possible
> collisions?  Maybe append the $$ or something?
>
> This sieveshell uses STARTTLS, right?  I think it does since the
> sieve server won't allow connections otherwise, right?
>
> I notice all the perl scripts have something like:
>
># ! /bin/sh
> exec perl -x -S $0 ${1+"$@"} # -*-perl-*-
># !perl -w
>
> I was wondering, if someone uses the --with-perl configure option,
> should that setting replace the perl strings in the script header
> above?  In other words, suppose --with-perl=/usr/local/bin/perl is
> used, perhaps this should be the result?
>
># ! /bin/sh
> exec /usr/local/bin/perl -x -S $0 ${1+"$@"} # -*-perl-*-
># !/usr/local/bin/perl -w
>
> Lastly, I was wondering if perhaps a '-I' could be put in the header
> for some of these scripts, especially the cyradm script.  We see
> lots of questions regarding this with each new release.  Perhaps a
> '-I' could be added such that it contained the path of where these
> Perl modules will eventually reside?
>
> --
> Amos
>
>





cyrus + sendmail no go

2001-10-23 Thread Peter Matulis

Whenever I issue this command as cyrus user:

# imtest -m login -v localhost

I get this output:

C: C01 CAPABILITY
failure: prot layer failure

This produces in /var/log/messages:

imapd: could not getenv(CYRUS_SERVICE); exiting

I am running a new Red Hat 7.1 install and have followed the Cyrus Howto at
http://www.linuxdoc.org/HOWTO/Cyrus-IMAP.html#toc4 closely even though this
doc does not employ Red Hat's xinetd system.  My two pertinent files there
are:

/etc/xinetd.d/pop3 :

service pop3
{
disable = no
socket_type = stream
protocol= tcp
wait= no
user= cyrus
server  = /usr/cyrus/bin/pop3d
server_args = pop3d
}

and /etc/xinetd.d/imap :

service imap
{
disable = no
socket_type = stream
protocol= tcp
wait= no
user= cyrus
server  = /usr/cyrus/bin/imapd
server_args = imapd
}

Can anyone help?

Peter



Re: cyrus + sendmail no go

2001-10-23 Thread Adrian Hunsdon

Having just been through this last week. The answer is to disable the POP
and IMAP entries (also the IMAPS entry). Set the Disable lines to yes and
the default to off. Then make sure that xinetd is restarted. (with redahat
7.1 I rebooted the machine as a simple kill -1 did not seem to do the
trick).

A.

--http://www.uniplex.com--http://www.islandsoft.com--http://www.intext.com--
Adrian C. Hunsdon  |Senior Consultant|715 Sutter Street
[EMAIL PROTECTED]|   Development Manager   |Folsom, CA 95630
   |  Computer Power Software Group  |916 985 4445 x235

- Original Message -
From: "Peter Matulis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 23, 2001 1:18 PM
Subject: cyrus + sendmail no go


> Whenever I issue this command as cyrus user:
>
> # imtest -m login -v localhost
>
> I get this output:
>
> C: C01 CAPABILITY
> failure: prot layer failure
>
> This produces in /var/log/messages:
>
> imapd: could not getenv(CYRUS_SERVICE); exiting
>
> I am running a new Red Hat 7.1 install and have followed the Cyrus Howto
at
> http://www.linuxdoc.org/HOWTO/Cyrus-IMAP.html#toc4 closely even though
this
> doc does not employ Red Hat's xinetd system.  My two pertinent files there
> are:
>
> /etc/xinetd.d/pop3 :
>
> service pop3
> {
> disable = no
> socket_type = stream
> protocol= tcp
> wait= no
> user= cyrus
> server  = /usr/cyrus/bin/pop3d
> server_args = pop3d
> }
>
> and /etc/xinetd.d/imap :
>
> service imap
> {
> disable = no
> socket_type = stream
> protocol= tcp
> wait= no
> user= cyrus
> server  = /usr/cyrus/bin/imapd
> server_args = imapd
> }
>
> Can anyone help?
>
> Peter
>
>




Sieve documentation

2001-10-23 Thread Tym Rehm

Can anyone point me to some documentation on sieve scripts. I can't find
any.




Re: forwarding

2001-10-23 Thread Greg Hewett

LDAP routing. =)

sendmail.net has a couple article on it.

Greg

On Tue, Oct 23, 2001 at 03:18:00PM -0400, Kiarna Boyd wrote:
> Hi!
> I have 2.0.16 and sendmail 8 on Solaris 7.
> 
> I am looking for a graceful solution for .forwards.
> Anyone have a better solution than the traditional home dir .forward?
> 
> Thanks!
> 
> -Kiarna
> 



Re: Sieve

2001-10-23 Thread Jeremy Howard

No. Sieve only scans headers, not bodies. Body checks should be done by your
MTA. Search google for 'sieve filtering' for info on Sieve.

- Original Message -
From: "Tym Rehm" <[EMAIL PROTECTED]>
To: "info-cyrus" <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 1:51 AM
Subject: Sieve


> Can sieve filter exe and vbs files from email? I would want emails with
exe
> attachments dropped, but I would like to know that it was dropped. Is
there
> a way to do that with sieve?
>
>




Re: forwarding

2001-10-23 Thread Jules Agee

Sieve scripts?
http://www.cyrusoft.com/sieve/

Kiarna Boyd wrote:

>Hi!
>I have 2.0.16 and sendmail 8 on Solaris 7.
>
>I am looking for a graceful solution for .forwards.
>Anyone have a better solution than the traditional home dir .forward?
>
>Thanks!
>
>-Kiarna
>
>


-- 
Jules Agee
System Administrator
Pacific Coast Feather Co.
[EMAIL PROTECTED]  x284

Private communication between citizens is necessary to ensure the
continued preservation of freedom. For more information, see:
http://www.computerprivacy.org/archive/03171998-5.shtml

My public encryption key is available here:
http://keyserver.pgp.com/pks/lookup?op=get&exact=on&search=0x21662FE4






Create users script?

2001-10-23 Thread Joe Stump

This is all I need:

A script that does the equiv to these steps from cyradm:

- Login without prompt
- cm user.[username]
- sq [quota]

Any ideas?

--Joe


Joe Stump <[EMAIL PROTECTED]>

"How would this sentence be different if pi equaled 3?" 




Re: Create users script?

2001-10-23 Thread Joe Stump

Nevermind I have it.

--Joe

On Tue, Oct 23, 2001 at 08:18:24PM -0500, Joe Stump wrote:
> This is all I need:
> 
> A script that does the equiv to these steps from cyradm:
> 
> - Login without prompt
> - cm user.[username]
> - sq [quota]
> 
> Any ideas?
> 
> --Joe
> 
> 
> Joe Stump <[EMAIL PROTECTED]>
> 
> "How would this sentence be different if pi equaled 3?" 

Joe Stump <[EMAIL PROTECTED]>

"How would this sentence be different if pi equaled 3?" 




cyrus imapd CVS: configure broken with newish automake/autoconf

2001-10-23 Thread Paul Jakma

hi,

i'm trying to compile cyrus-imapd CVS, however sh SMakefile seems to 
produce a b0rken configure. i'm using automake-1.5-1 and 
autoconf-2.52-3. output from sh SMakefile:

[paulj@dunlop cyrus-imapd]$ sh SMakefile 
aclocal -I cmulocal
autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
autoheader: `config.h.in' is unchanged
autoconf

the configure fails on:

[snip]
checking for db_create in -ldb-3.3... no
checking for db_create in -ldb3.3... no
checking for db_create in -ldb-3.2... yes
./configure: line 4304: syntax error near unexpected token `yes:no'
./configure: line 4304: `  yes:no'

and:

[paulj@dunlop cyrus-imapd]$ grep -n 'yes:no' configure
3039:  yes:no )
4306:  yes:no
4567:  yes:no )
4914:  yes:no )
5021:  yes:no )
6087:  yes:no )
7144:  yes:no )
7859:  yes:no
8113:  yes:no

so i guess CVS cyrus isn't yet compatible with later versions of
automake/autoconf.

regards,

Paul Jakma