Opened 11 years ago

Closed 7 years ago

#124 closed Bug (fixed)

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


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";

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
Connected to
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.2.13"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational comparator-i;ascii-numeric regex"
authenticate "PLAIN" "***********"
getscript "shuf6 filter"
# 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


Change History (2)

comment:1 Changed 11 years ago by Cyrus Daboo

  • Milestone changed from unassigned to Next
  • Status changed from new to assigned

comment:2 Changed 7 years ago by Cyrus Daboo

  • Resolution set to fixed
  • Status changed from assigned to closed

Set to convert script to CRLF prior to PUTSCRIPT.

Note: See TracTickets for help on using tickets.