I'm actually using websieve to create the scripts... they get to the server
just fine, they just never seem to be getting executed...

I dont believe I did... I'm about 95% sure I tried that course of action
(recompiling, making sure that sieve was installed) and didnt have any
change in results...


I dont have a mail.debug, but all mail logging goes to /var/log/maillog

and that info is posted in my previous message, but in short, nothing funky
seems to be contained within.





----- Original Message -----
From: "Kiarna Boyd" <[EMAIL PROTECTED]>
To: "'Mike Grommet'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 7:07 AM
Subject: RE: Sieve woes, but closer maybe? + SHAMELESS BRIBE


> Hi Mike,
>
> I can relate to your despair, no pizza need apply if this helps.
>
> 1. have you tried WebSieve? Has a lot more out of the box preconfigured
treats in it.
> 2.  Did you compile cyrus with sieve support disabled accidentally?
> 3. do you have a straight up mail.log not just imap.log? a mail.debug line
in syslog.conf helps enormously for this.
>
> -----Original Message-----
> From: Mike Grommet [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 2:26 AM
> To: [EMAIL PROTECTED]
> Subject: Sieve woes, but closer maybe? + SHAMELESS BRIBE
>
> I'm really at the end of my rope here, so, I'm
> offering free pizza to the person who can figure out my pain and make it
all
> better...
>
> I'll order a large pizza with the toppings of your choice, from the
delivery
> place of your choosing, and have it delivered to you at home / offfice /
> wherever :)
> I'm completely serious here :)  Who says theres no such thing as a free
> lunch (Ok, I believe it was Heinlien)?
>
> Ok, I'm really stumped when it comes to sieve configuration with
sendmail...
>
> I can telnet to the sieve port just fine.  Cyrus seems to perform just
> dandy.  Sieve scritps are happily
> being placed into /usr/sieve/whatever
>
>
>
>
> Is there other information I can supply?  I'm seeing really weird behavior
> from 2 different sieve scripts, a reject script and a vacation script
>
>
> I found this reject examle script in the ether...  Its getting on the
> server, and is activated.
>
> require "fileinto";
> require "reject";
> if header :contains "Subject" "Shockwave"
>      {reject "Possible virus? Check your system!";}
>
> my imap log looks like this:
> ------------------------------------------
> Feb 21 01:29:26 sammonsmail master[13201]: about to exec
> /usr/cyrus/bin/lmtpd
> Feb 21 01:29:26 sammonsmail service-lmtpunix[13201]: executed
> Feb 21 01:29:26 sammonsmail lmtpd[13201]: accepted connection
> Feb 21 01:29:26 sammonsmail lmtpd[13201]: lmtp connection preauth'd as
> postman
> Feb 21 01:29:27 sammonsmail master[13206]: about to exec
> /usr/cyrus/bin/lmtpd
> Feb 21 01:29:27 sammonsmail service-lmtpunix[13206]: executed
> Feb 21 01:29:27 sammonsmail lmtpd[13201]: accepted connection
> Feb 21 01:29:27 sammonsmail lmtpd[13201]: lmtp connection preauth'd as
> postman
> Feb 21 01:29:27 sammonsmail lmtpd[13206]: accepted connection
> Feb 21 01:29:27 sammonsmail lmtpd[13206]: lmtp connection preauth'd as
> postman
> Feb 21 01:29:28 sammonsmail lmtpd[13201]: accepted connection
> Feb 21 01:29:28 sammonsmail lmtpd[13201]: lmtp connection preauth'd as
> postman
>
>
>
>
>
>
>
> My mail log looks like this when one of these messges goes in::
> -----------------------------------------------------------------
> Feb 21 01:40:35 sammonsmail sendmail[13277]: g1L6eYUG013277:
from=<REMOVED>,
> size=632, class=0, nrcpts=1,
> msgid=<013f01c1baa5$021b5380$[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA,
> relay=sm11.texas.rr.com [24.93.35.42]
> Feb 21 01:40:35 sammonsmail sendmail[13280]: g1L6eYUG013277: to=<REMOVED>,
> delay=00:00:01, xdelay=00:00:00, mailer=cyrus, pri=30625, dsn=2.0.0,
> stat=Sent
>
> And thats it... no vacation message is ever sent, and nothing odd is
showing
> up in my imap log.
>
> The reject script doesnt reject... the mail is sent right on through...
>
>
> 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
> #  idled                cmd="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
>   imaps         cmd="imapd -s" listen="imaps" prefork=0
>   pop3          cmd="pop3d" listen="pop3" prefork=0
>   pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
>   sieve         cmd="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
>   checkpoint    cmd="ctl_mboxlist -c" period=30
>
>   # this is only necessary if using duplicate delivery suppression
>   delprune      cmd="ctl_deliver -E 3" period=1440
> }
>
>
> Relevant sendmail.mc contents
> ---------------------------------
> <SNIP A WHOLE BUNCH OF STUFF>
> define(`confLOCAL_MAILER',`cyrus')
> define(`CYRUS_MAILER_FLAGS', `A5@/:|SmXz')dnl
> define(`CYRUS_MAILER_ARGS', `deliver -l -e')
> define(`CYRUS_MAILER_PATH',`/usr/cyrus/bin/deliver')dnl
> define(`CYRUS_MAILER_MAX',`eval(10*1024*1024)')dnl
> define(`CYRUS_MAILER_USER',`cyrus:mail')dnl
> define(`CYRUS_BB_MAILER_FLAGS',`S')dnl
> define(`CYRUS_BB_MAILER_ARGS',`deliver -l -e -m $u')dnl
>
> FEATURE(`accept_unresolvable_domains')dnl
> MAILER(smtp)dnl
> MAILER(procmail)dnl
> MAILER(local)
> MAILER(cyrus)
>
> LOCAL_RULE_0
> R$=N                    $: $#local $: $1
> R$=N < @ $=w . >        $: $#local $: $1
> Rbb + $+ < @ $=w . >    $#cyrusbb $: $1
>
>
> Which gets translated to these .cf contents:
> -------------------------------------------
> Mcyrus,         P=/usr/cyrus/bin/deliver, F=lsDFMnPqA5@/:|SmXz,
S=EnvFromL,
> R=EnvToL/HdrToL,
>                 M=10485760, U=cyrus:mail, T=DNS/RFC822/X-Unix,
>                 A=deliver -l -e
>
> Mcyrusbb,       P=/usr/cyrus/bin/deliver, F=lsDFMnPS, S=EnvFromL,
> R=EnvToL/HdrToL,
>                 M=10485760, U=cyrus:mail, T=DNS/RFC822/X-Unix,
>                 A=deliver -l -e -m $u
>
>
>
>
>
>
>
>
>

Reply via email to