impossible! there is someone on the net - having the same problem, but not 
completely... normally i would not post to any forum on the world, but 
sieve is definitly the hardest nut to crack for me... or should i say that 
it is the problem within the sendmail/sieve/cyrus/lmtp-construction...

i checked with Mikes configuration files (i even copied and tried them 
out...) but no chance for me... even the "forward"-rule _did_not_ work 
without a hitch. sorry mike for stealing your words...

maybe, maybe, maybe... if the two of you have solved this problem once, 
maybe you can solve it TWICE!

...cyrus/sendmail now works perfectly for the last 4 months - but - without 
SIEVE... sniff..

the logs:
maillog:
========
Feb 22 19:17:28 terror sendmail[17348]: g1MIHSC17348: 
from=<[EMAIL PROTECTED]>, size=987, class=0, nrcpts=1, 
msgid=<4403859.1014404876@[192.168.100.111]>, proto=ESMTP, daemon=MTA, 
relay=G4.dus.singer-tc.de [192.168.100.111]
Feb 22 19:17:28 terror sendmail[17350]: g1MIHSC17348: 
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, 
mailer=cyrus, pri=30987, relay=cyrus, dsn=2.0.0, stat=Sent

imapd.log:
==========
Feb 22 19:17:28 terror master[17352]: about to exec /usr/cyrus/bin/lmtpd
Feb 22 19:17:28 terror service-/usr/cyrus/bin/lmtpd[17352]: executed
Feb 22 19:17:28 terror lmtpd[17352]: accepted connection
Feb 22 19:17:28 terror lmtpd[17352]: lmtp connection preauth'd as postman
Feb 22 19:17:29 terror master[16970]: process 17352 exited, status 0

my configs:

the simple sieve-script, written in two version, JUST TO BE SURE...tried 
also both separated... added and activated with sieveshell:

require "fileinto";
require "reject";
if header :contains "Subject:" "test1" {
        fileinto "INBOX.marc.sub.test";
}

if header :contains "Subject:" "test2" {
        fileinto "INBOX.sub.test";
}


sendmail.cf - the cyrus parts: (copied from mike grommet)
==============================
# handle local: syntax -- use old user, either with or without host
R< > $* < @ $* > $*             $#cyrus $@ $1@$2 $: $1
R< > $+                         $#cyrus $@ $1    $: $1

# handle local:user@host syntax -- ignore host part
R< $+ @ $+ > $* < @ $* >        $: < $1 > $3 < @ $4 >

# handle local:user syntax
R< $+ > $* <@ $* > $*           $#cyrus $@ $2@$3 $: $1
R< $+ > $*                      $#cyrus $@ $2    $: $1

<---snip--->

Rbb + $+ < @ $=w . >    $#cyrus $: + $1

<---snip--->

Mcyrus,          P=/usr/cyrus/bin/deliver, F=lsDFMnqA5@/:|SmXz, E=\r\n,
                 S=EnvFromL, R=EnvToL/HdrToL, U=cyrus:mail, 
T=DNS/RFC822/X-Unix,
                 A=deliver -l -e


The alternative configuration i figured out on the net, also did not work 
with sieve, but cyrus/sendmail worked normally...

sendmail.cf - second version for Mcyrus:
========================================
Mcyrus,         P=[IPC], F=lsDFMnqA5@/:|SmXz, E=\r\n,
                S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
                A=FILE /var/imap/socket/lmtp


ANY CLUES?!? maybe you, ken?


Reply via email to