diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index 180f0c0166..444ae02d1e 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -241,7 +241,7 @@ class mail_sieve break; case 'address': - $content['action_address_text'][] = $rules['action_arg']; + $content['action_address_text'] = explode(',', $rules['action_arg']); break; case 'reject': $content['action_reject_text'] = $rules['action_arg']; @@ -288,7 +288,7 @@ class mail_sieve $newRule['action_arg'] = translation::convert(implode($content['action_folder_text']), 'utf7-imap', 'utf-8'); break; case 'address': - $newRule['action_arg'] = implode($content['action_address_text']); + $newRule['action_arg'] = implode(',',$content['action_address_text']); //error_log(__METHOD__. '() newRules_address '. array2string($newRule['action_arg'])); break; case 'reject': diff --git a/mail/templates/default/sieve.edit.xet b/mail/templates/default/sieve.edit.xet index 01e7d7d6ce..695fd80dc6 100644 --- a/mail/templates/default/sieve.edit.xet +++ b/mail/templates/default/sieve.edit.xet @@ -8,19 +8,16 @@ - - - - + - - + + - + @@ -28,15 +25,15 @@ - + - + - + @@ -53,7 +50,7 @@ - + @@ -63,7 +60,7 @@ - + @@ -73,7 +70,7 @@ - + @@ -84,7 +81,7 @@ - + @@ -93,23 +90,26 @@ - + - + - + - + + + +