View Issue Details

IDProjectCategoryView StatusLast Update
0000673SOGoWeb Preferencespublic2010-06-30 17:26
ReporterjrabyAssigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.2.2 
Target Version1.3.0Fixed in Version1.3.0 
Summary0000673: sieve filters aren't installed if there's a syntax error in the mail transfert dialog
Description

How to reproduce:

  • Create a mail filter in Preferences -> Mail
  • Check that the sieve script exists on the imap server
  • Activate the mail transfert to an invalid address (ex: "invalid,address@x.com") yes, that's a comma...
  • Check the sieve script on the imap server, it is nowhere to be seen
  • Disabling the mail transfert makes the original filter work again.

Logs:

Jun 30 11:28:32 sogod: SOGo watchdog [9422]: [ERROR] <0x0815D750[SOGoMailAccount]:marmotte_D_jean_A_test_D_com> Could not upload Sieve script: {RawResponse = "{ok = NO; reason = \"script errors:
line 2: address 'invalid,address@x.com': syntax error, unexpected $undefined, e\"; }"; result = NO; }

Some error handling / input validation might be required here.

TagsNo tags attached.

Activities

francis

francis

2010-06-30 17:26

administrator   ~0001136

Fixed in revision dd1c46e2753c2224bf847ca7bf850d63b8f97372

Issue History

Date Modified Username Field Change
2010-06-30 15:36 jraby New Issue
2010-06-30 15:38 francis Status new => assigned
2010-06-30 15:38 francis Assigned To => francis
2010-06-30 17:26 francis Note Added: 0001136
2010-06-30 17:26 francis Status assigned => resolved
2010-06-30 17:26 francis Fixed in Version => 1.3.0
2010-06-30 17:26 francis Resolution open => fixed
2010-06-30 17:26 francis Target Version => 1.3.0