Sieve vacation rule not working..

Joseph Silverman yossie at laszlosystems.com
Thu Sep 28 15:08:17 EDT 2006


Well, it's been over a month - I received a few responses to this  
email but none that actually helped me resolved the problem.

Reject works fine.  Vacation doesn't.  The message is delivered  
correctly to the recepient, but no auto-response is sent out.  I am  
using SquirrelMail mail to create the sieve script and it seems to be  
working OK, I looked in /var/spool/imap/sieve/u/user and found the  
script there, in compiled and source form, and the correct links.   
but cyrus isn't doing it nor generating any error messages anywhere.

Is there anyone out there who might be able to help?  please?

Thanks - Yossie

P.s. I am using the synonym milter to create a copy of every email  
(in/out) in the user mail-archive.  Here are the lines I got out of / 
var/log/mail/info that might help diagnose the problem (I can't find  
a description of what the duplicate_check and duplicate_mark message  
format is anywhere):

Sep 28 12:04:29 MAILHOST sendmail[22055]: k8SJ4TdQ022055:  
from=<kusemach at SOMEHOST.com>, size=2020, class=0, nrcpts=1,  
msgid=<DC4E9E6D-7C85-4F82-8ECC-6C8F4D12157D at SOMEHOST.com>,  
proto=ESMTP, daemon=SMTP, relay=barracuda.corp.OURHOST.com  
[192.168.42.2]
Sep 28 12:04:29 MAILHOST sendmail[22055]: k8SJ4TdQ022055: Milter add:  
rcpt: mail-archive
Sep 28 12:04:29 MAILHOST sendmail[22055]: k8SJ4TdQ022055: Milter add:  
header: X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym)  
to: mail-archive
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: accepted connection
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: lmtp connection preauth'd  
as postman
Sep 28 12:04:29 MAILHOST cyrus-master[22059]: about to exec /usr/lib/ 
cyrus-imapd/lmtpd
Sep 28 12:04:29 MAILHOST lmtpunix[22059]: executed
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: duplicate_check:  
<DC4E9E6D-7C85-4F82-8ECC-6C8F4D12157D at SOMEHOST.com> user.mail- 
archive    0
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: starting txn  
2147484345
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: committing txn  
2147484345
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: duplicate_mark:  
<DC4E9E6D-7C85-4F82-8ECC-6C8F4D12157D at SOMEHOST.com> user.mail- 
archive    1159470269 512909
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: starting txn  
2147484346
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: committing txn  
2147484346
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: duplicate_mark:  
<DC4E9E6D-7C85-4F82-8ECC-6C8F4D12157D at SOMEHOST.com> .mail-archive 
+ at .sieve. 1159470269 0
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: duplicate_check:  
<DC4E9E6D-7C85-4F82-8ECC-6C8F4D12157D at SOMEHOST.com>  
user.yossie          0
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: starting txn  
2147484347
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: committing txn  
2147484347
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: duplicate_mark:  
<DC4E9E6D-7C85-4F82-8ECC-6C8F4D12157D at SOMEHOST.com>  
user.yossie          1159470269 115525
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: starting txn  
2147484348
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: mystore: committing txn  
2147484348
Sep 28 12:04:29 MAILHOST lmtpunix[22050]: duplicate_mark:  
<DC4E9E6D-7C85-4F82-8ECC-6C8F4D12157D at SOMEHOST.com> .yossie 
+ at .sieve.     1159470269 0
Sep 28 12:04:29 MAILHOST sendmail[22058]: k8SJ4TdQ022055: to=mail- 
archive,<yossie at OURHOST.com>, delay=00:00:00, xdelay=00:00:00,  
mailer=cyrusv2, pri=122020, relay=localhost, dsn=2.0.0, stat=Sent

On Aug 18, 2006, at 3:51 PM, Joseph Silverman wrote:

> All other sieve stuff works fine.
>
> Here is the sendmail.mc that is relevant:
> (Sendmail 8.13.4/8.13.4)
>
> define(`_FFR_MILTER', `true')dnl
> INPUT_MAIL_FILTER(`Synonym', `S=local:/var/run/synonym/ 
> synonym.sock, T=C:10m;S:1s;R:1s;E:5m')dnl
> define(`confLOCAL_MAILER',`cyrusv2')dnl
> define(`CYRUSV2_MAILER_ARGS',`FILE /var/lib/imap/socket/lmtp')dnl
> MAILER(cyrusv2)dnl
>
> And here is the contents (edited) of my /etc/imapd.conf:
> (Cyrus IMAP4 v2.2.12-Mandriva-RPM-2.2.12-15mdk)
>
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> allowanonymouslogin: no
> altnamespace: true
> unixhierarchysep: true
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail.sendmail
> hashimapspool: true
> allowplaintext: 1
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN LOGIN
>
> Can anyone help me fix this setup?  Tell me where to look or at  
> least how to debug it?
>
> THANKS - Yossie
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060928/98562e64/attachment.html


More information about the Info-cyrus mailing list