rainloop-webmail icon indicating copy to clipboard operation
rainloop-webmail copied to clipboard

Who wants to test Sieve Filters?

Open RainLoop opened this issue 11 years ago • 75 comments

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:

01 02 03 05 06 07

RainLoop avatar Jan 24 '15 20:01 RainLoop

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": capture

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.

ervee avatar Jan 30 '15 09:01 ervee

Thanks!

Can you create some logs then you press Save button?

RainLoop avatar Jan 30 '15 09:01 RainLoop

What do you mean? When I press Save, nothing happens and nothing gets logged...

ervee avatar Jan 30 '15 09:01 ervee

Any js errors?

RainLoop avatar Jan 30 '15 09:01 RainLoop

You mean in Apache logs? I get also nothing in Apache logs when pressing Save.

ervee avatar Jan 30 '15 10:01 ervee

Same here. Not able to save new Filterscripts. Using this testinstallation on Nginx. Tested in Firefox and Chrome. Nothing appears in any logs

andre-dierker avatar Jan 31 '15 15:01 andre-dierker

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

RainLoop avatar Jan 31 '15 16:01 RainLoop

Still the same behaviour with the new version.

andre-dierker avatar Jan 31 '15 18:01 andre-dierker

Can you give me access credentials for tests?

RainLoop avatar Jan 31 '15 18:01 RainLoop

wrote an mail to [email protected]

andre-dierker avatar Jan 31 '15 18:01 andre-dierker

@andre-dierker Thank you very much. You really helped.

new version: --removed--

RainLoop avatar Jan 31 '15 18:01 RainLoop

Works fine now :)

andre-dierker avatar Jan 31 '15 19:01 andre-dierker

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.

ervee avatar Feb 01 '15 09:02 ervee

Ok, thanks!

RainLoop avatar Feb 01 '15 09:02 RainLoop

I do already have a little feedback:

  1. 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.

  2. 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.

  3. Perhaps an (advanced) option to not stop rule processing after the rule you are creating/editing?

Ralf.

ervee avatar Feb 01 '15 09:02 ervee

@ervee Thanks.

Agree.

  1. 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.

RainLoop avatar Feb 01 '15 09:02 RainLoop

The only thing I can quickly think of is indeed vacation messages. Perhaps:

  1. Make "don't stop processing rules" an option when creating a vacation message?
  2. Also have the user decide the reply interval (fixed set at 1 day now)

ervee avatar Feb 01 '15 09:02 ervee

The only thing I can quickly think of is indeed vacation messages. Perhaps:

  1. Make "don't stop processing rules" an option when creating a vacation message?
  2. Also have the user decide the reply interval (fixed set at 1 day now)

Done.

RainLoop avatar Feb 01 '15 10:02 RainLoop

Managesieve running on port 2000 is very outdated, maybe change it to 4190 in sieve configuration?

andre-dierker avatar Feb 01 '15 15:02 andre-dierker

Ok

RainLoop avatar Feb 01 '15 15:02 RainLoop