Ticket #124 (assigned Bug)
Sieve script editor submits invalid scripts
| Reported by: | ianeiloart | Owned by: | Cyrus Daboo |
|---|---|---|---|
| Priority: | major | Milestone: | Next |
| Component: | Application | Version: | v4.0.6 |
| Severity: | Serious | Keywords: | sieve |
| Cc: | Operating System: | Mac OS X | |
| OS Version: | 10.4.8 |
Description
Checking the "edit script component" checkbox causes bad Sieve filters to be generated.
Mulberry 4.0.6 on MacOSX 10.4.8, uploading to cyrus-imapd-2.2.13 server on Solaris 10.
I have this sieve script:
# Generated from GUI
if header :contains ["List-ID"] ["sussex"] {
fileinto "lists.sussex";
stop;
}
Which works fine, unless I look at the script by checking the "Edit Script Component" box before uploading it.
It looks like a line-ending issue:
thorpe-1 % telnet cyrus-imap 2000
Trying 139.184.14.43...
Connected to cyrus-imap.sussex.ac.uk.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.2.13"
"SASL" "PLAIN"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational comparator-i;ascii-numeric regex"
"STARTTLS"
OK
authenticate "PLAIN" "***********"
getscript "shuf6 filter"
{296}
# SIEVE Script
# Name: shuf6 filter
# Date: Tue, 24 Oct 2006 12:49:45 +0100
# User-Agent : Mulberry 4.0.6
# Rule 1: lists - backstop
# Generated from text
}f headestop;nto "lists.sussex";["sussex"] {
# SIEVE Script ends here
OK
Change History
Note: See
TracTickets for help on using
tickets.