Problem with included global sieve script when mailbox contains a "dot"

Thomas Cataldo tcataldo at gmail.com
Wed Nov 14 04:40:10 EST 2012


Hello,

Consider the following sieve setup :

root at ppday:/var/spool/sieve# cat global/buffy.vmw.sieve.script
require ["body", "copy", "fileinto", "imapflags" ];

# filters
if allof ( address :contains "from" "admin") {
setflag "\\Flagged";
}

# END

root at ppday:/var/spool/sieve# cat
domain/b/buffy.vmw/a/a^b/bm-user5.sieve.script
require ["body", "copy", "fileinto", "imapflags", "vacation", "include" ];

include :global "buffy.vmw.sieve";

# END


root at ppday:/var/spool/sieve# cat
domain/b/buffy.vmw/s/sp/bm-user6.sieve.script
require ["body", "copy", "fileinto", "imapflags", "vacation", "include" ];

include :global "buffy.vmw.sieve";


# END

When admin at buffy.vmw sends an email to a.b at buffy.vmw and sp at buffy.vmw, the
following happens :
 - the mail is correctly flagged for sp
 - no flagging for a.b

Nothing interesting in my logs when the mail is delivered :


Nov 14 10:17:20 ppday cyrus/master[19560]: about to exec
/usr/lib/cyrus/bin/lmtpd
Nov 14 10:17:20 ppday cyrus/lmtp[19560]: executed
Nov 14 10:17:20 ppday cyrus/lmtp[19560]: skiplist: checkpointed
/var/lib/cyrus/statuscache.db (0 records, 144 bytes) in 0 seconds
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: accepted connection
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: connection from ppday.buffy.vmw
[172.16.78.128] preauth'd as postman
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: Delivered:
<1c42d02ef8953cb9521bbbb9dafbaa21 at buffy.vmw> to mailbox: buffy.vmw!user.a^b
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: USAGE a^b user: 0.004000 sys:
0.008000
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: Delivered:
<1c42d02ef8953cb9521bbbb9dafbaa21 at buffy.vmw> to mailbox:
buffy.vmw!user.admin
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: USAGE admin user: 0.000000 sys:
0.004000
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: Delivered:
<1c42d02ef8953cb9521bbbb9dafbaa21 at buffy.vmw> to mailbox: buffy.vmw!user.sp
Nov 14 10:17:21 ppday cyrus/lmtp[19560]: USAGE sp user: 0.000000 sys:
0.000000
Nov 14 10:17:21 ppday postfix/lmtp[19551]: 5DA0A21E37: to=<a.b at buffy.vmw>,
relay=172.16.78.128[172.16.78.128]:2400, delay=0.93,
delays=0.07/0.03/0.03/0.79, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Nov 14 10:17:21 ppday postfix/lmtp[19551]: 5DA0A21E37: to=<admin at buffy.vmw>,
relay=172.16.78.128[172.16.78.128]:2400, delay=0.93,
delays=0.07/0.03/0.03/0.79, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Nov 14 10:17:21 ppday postfix/lmtp[19551]: 5DA0A21E37: to=<sp at buffy.vmw>,
relay=172.16.78.128[172.16.78.128]:2400, delay=0.93,
delays=0.07/0.03/0.03/0.79, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Nov 14 10:17:21 ppday postfix/qmgr[20160]: 5DA0A21E37: removed

Any know bugs with global sieve vs mailboxes with "dot" in them ?
Can I enable more verbose sieve execution logs ?


Regards,
Thomas Cataldo,
Blue Mind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20121114/834f439a/attachment.html 


More information about the Info-cyrus mailing list