Who wants to test Sieve Filters?
Good news, Everyone!
I finally have finished this functionality. If you have the opportunity to test the filters, I'll be grateful to you.
link: http://www.rainloop.net/downloads/
screenshots:

Hi, sorry for the delay, but I finally got time to test this. I created a test install with your supplied zip and here are the results:
When I create a Sieve rule, I'm stuck on "These changes need to be saved to the server":
I created some logs.
When I enter Settings > Filters, I see this in theRainLoop log:
[08:55:36.006][215dc864] INFO[DATA]: [DATE:30.01.15][RL:1.7.3.235][PHP:5.4.36-0+deb7u3][IP:212.61.144.165][PID:7542][Apache][apache2handler]
[08:55:36.007][215dc864] INFO[DATA]: [Suhosin:off][APC:on][MB:on][PDO:mysql,pgsql,sqlite][Streams:tcp,udp,unix,udg,ssl,sslv3,tls]
[08:55:36.007][215dc864] REQUEST[NOTE]: [POST] https://#MYFQDN#/rainloop-sieve-test/?/Ajax/&s=/_#IMSENCORINGTHISJUSTINCASE#/
[08:55:36.007][215dc864] AJAX[NOTE]: Action: DoFilters
[08:55:36.008][215dc864] POST[DATA]: {"Action":"Filters","XToken":"#IMSENCORINGTHISJUSTINCASE#"}
[08:55:36.013][215dc864] SIEVE[NOTE]: Start connection to "tcp://localhost:4190"
[08:55:36.014][215dc864] SIEVE[NOTE]: Connected (success)
[08:55:36.034][215dc864] SIEVE[DATA]: < "IMPLEMENTATION" "Dovecot Pigeonhole"\r\n
[08:55:36.034][215dc864] SIEVE[DATA]: < "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave"\r\n
[08:55:36.034][215dc864] SIEVE[DATA]: < "NOTIFY" "mailto"\r\n
[08:55:36.035][215dc864] SIEVE[DATA]: < "SASL" "PLAIN"\r\n
[08:55:36.035][215dc864] SIEVE[DATA]: < "STARTTLS"\r\n
[08:55:36.035][215dc864] SIEVE[DATA]: < "VERSION" "1.0"\r\n
[08:55:36.035][215dc864] SIEVE[DATA]: < OK "Dovecot ready."\r\n
[08:55:36.037][215dc864] SIEVE[DATA]: > AUTHENTICATE "PLAIN" {24+}\r\n
[08:55:36.037][215dc864] SIEVE[DATA]: > #IMSENCORINGTHISJUSTINCASE#\r\n
[08:55:36.083][215dc864] SIEVE[DATA]: < OK "Logged in."\r\n
[08:55:36.083][215dc864] SIEVE[DATA]: > LISTSCRIPTS\r\n
[08:55:36.083][215dc864] SIEVE[DATA]: < OK "Listscripts completed."\r\n
[08:55:36.084][215dc864] SIEVE[DATA]: > LOGOUT\r\n
[08:55:36.088][215dc864] SIEVE[DATA]: < OK "Logout completed."\r\n
[08:55:36.088][215dc864] SIEVE[NOTE]: Disconnected from "tcp://localhost:4190" (success)
[08:55:36.088][215dc864] AJAX[DATA]: {"Action":"Filters","Result":{"RawIsAllow":true,"RawIsActive":false,"Raw":"","Filters":[],"Capa":["fileinto","reject","envelope","encoded-character","vacation","subaddress","comparator-i;ascii-numeric","relational","regex","imap4flags","copy","include","variables","body","enotify","environment","mai...
[08:55:36.088][215dc864] INFO[MEMORY]: Memory peak usage: 1.25MB
[08:55:36.089][215dc864] INFO[TIME]: Time delta: 0.086724996566772
And my syslog says:
Jan 30 09:55:36 webandmail dovecot: managesieve-login: Login: user=<#USERNAME#>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=8318, secured, session=<9WSaxNoNHQB/AAAB>
Jan 30 09:55:36 webandmail dovecot: managesieve(#USERNAME#): Disconnected: Logged out bytes=19/70
Then I add a filter, click done and end up with the message "These changes need to be saved to the server".
When I press Save, nothing happens and nothing gets logged...
Ralf.
Edit: This was tested with a user with no existing Sieve filters. I see "sieve" and "sieve/tmp" directories in the user home are being created with the first manage-sieve login.
Thanks!
Can you create some logs then you press Save button?
What do you mean? When I press Save, nothing happens and nothing gets logged...
Any js errors?
You mean in Apache logs? I get also nothing in Apache logs when pressing Save.
Same here. Not able to save new Filterscripts. Using this testinstallation on Nginx. Tested in Firefox and Chrome. Nothing appears in any logs
Hi, sorry for not replying in time.
@ervee No, I mean browser console.
Ok, there is a new version on RainLoop Webmail with a lot of changes and fixes.
link: --removed--
Still the same behaviour with the new version.
Can you give me access credentials for tests?
wrote an mail to [email protected]
@andre-dierker Thank you very much. You really helped.
new version: --removed--
Works fine now :)
Saving scripts works here too. Saved script also looks okay. I'll try to test as much rule types as possible. If I find anything wrong I'll let you know.
Ok, thanks!
I do already have a little feedback:
-
I think it should me more clear to the user that the rules are processed from top to bottom and when there is a match, processing stops there. Al least, you insert a "stop" in every Sieve filter.
-
The filters are movable. So perhaps tell the user or make it visualy noticable like in most Android movable lists there are sort of a visual handle at the beginning of each movable item.
-
Perhaps an (advanced) option to not stop rule processing after the rule you are creating/editing?
Ralf.
@ervee Thanks.
Agree.
- Perhaps an (advanced) option to not stop rule processing after the rule you are creating/editing?
I thought about that. But I can not understand the reason why this is necessary. If only to use it for "Forward to" and "Vacation message" actions.
The only thing I can quickly think of is indeed vacation messages. Perhaps:
- Make "don't stop processing rules" an option when creating a vacation message?
- Also have the user decide the reply interval (fixed set at 1 day now)
The only thing I can quickly think of is indeed vacation messages. Perhaps:
- Make "don't stop processing rules" an option when creating a vacation message?
- Also have the user decide the reply interval (fixed set at 1 day now)
Done.
Managesieve running on port 2000 is very outdated, maybe change it to 4190 in sieve configuration?
Ok