When create a sieve filter (ex. autoresponder) insert null in file
Is possible this is related on bug #2781 (closed) (http://bugtracker.ispconfig.org/index.php?do=details&task_id=2844&string=null&project=3&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=) When I create an autoresponder via web interface or API (roundcube webmail), it insert a NULL string in .sieve file and sieve filter generate an error. For example the wrong file is:
#--------------------------------------------------------------------# require ["fileinto", "regex", "date", "relational", "vacation"];
Move spam to spam folder
if header :contains "X-Spam-Flag" "YES" { fileinto "Junk";
Stop here so that we do not reply on spams
stop; }
NULL
keep;
#################################################################
Autoreply
#################################################################
Move spam to spam folder
if header :contains "X-Spam-Flag" "YES" { fileinto "Junk";
Stop here so that we do not reply on spams
stop; }
if allof(currentdate :value "ge" "iso8601" "2014-08-08T16:05:00", currentdate :value "le" "iso8601" "2014-08-10T00:00:00") {
vacation :days 1 :subject "autorisponder" :addresses ["xxx@yyy.it"] "hello";
}
#--------------------------------------------------------------------#
Sieve log is:
#--------------------------------------------------------------------# main script: line 11: error: unknown command 'NULL' (only reported once at first occurence). main script: error: validation failed. sieve: info: started log at Aug 07 09:39:30. #--------------------------------------------------------------------#