Nobody ? JohnDoh ?
Hey all,
I've installed RC 0.3.1, and now I've enabled the managesieve plugin. It seems to have activated well.
I see the tab Filters, can add and modify filters, and they even are processed on to the server.
Code:# cat .dovecot.sieve require ["fileinto"]; # rule:[SPAM] if anyof (header :contains "Subject" "***SPAM***") { fileinto "INBOX.Trash"; } # rule:[Facebook] elsif anyof (header :contains "From" "facebook") { fileinto "Facebook"; }
As you can see it saves the filters nicely in the homedir of the users. Only the message-filtering itself does not work yet. Spam keeps ending up in my inbox.
Anyone an idea where I should check next ?
Thanks
Nobody ? JohnDoh ?
well it sounds like a dovecot/sieve problem not an RC one. you say the rules are processed do you mean stuff from facebook goes into your facebook folder? your script doesnt make sense to me one folder has the INBOX. at the start and the other doesnt i would ahve thought they should have been the same. have you looked in your dovecot logs to see if there are any errors processing the file?
Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…
Hi raiden,
did you take a look at your logfiles? My own script filtering spam just looks the same as yours, but it works the way intended with our installation of cyrus-imap.
cyrus generates these kind of log entries, maybe dovecot does have some similiar feature to track down the problem:
RegardsCode:Feb 18 07:01:41 mailserverXY cyrus/lmtp[25865]: Delivered: <32071_1266472901_4B7CD7C4_32071_1095519_1_DZLOEPFHSVPJZETBFSYC@msa.hinet.net> to mailbox: user.username.Trash
Ruediger
How does this actually work ? I have Postfix delivering mails into the Maildir, and that works fine. How does the sieve-filtering actually work ?
I don't see any weird errors in dovecot. And if I connect to the managesieve-port, I get a good response.
When I said, it was processing the scripts, I was assuming the RC and the managesieve-parts were working cause the scripts writtein RC, where stored on the server via managesieve.well it sounds like a dovecot/sieve problem not an RC one. you say the rules are processed do you mean stuff from facebook goes into your facebook folder? your script doesnt make sense to me one folder has the INBOX. at the start and the other doesnt i would ahve thought they should have been the same. have you looked in your dovecot logs to see if there are any errors processing the file?
Maybe if I understand how it works, than I might be able to troubleshoot better. Furthermore, INBOX.Trash is just another folder in the Maildir.
Grtz, and thnx for the responses
The sieve plugins for RC are just sieve clients there is no filtering done in RC, you must setup your server to read the sieve files and perform the filtering when it delivers the mail.
Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…
Hey John,
Sorry for the n00b questions. So if I understand correctly, mypostfix needs to read the sieverules, and deliver it to the right dir. Managesieve by itself is a manner to manage te sieverules (as the name says)
Thanks
well it depends on your setup if postfix actually delivers your email then that will need to read the sieve files, if it gives it to dovecot to deliver then dovecot will need to read the files.
Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…
I'm with you on this one.
I have squirrelmail with avelsieve running on the same system.
That seems to be working OK.
So sieve is doing fine.
But managesieve filters from RC are not applied.
They are getting written but nothing seems to happen…
Let me know what I can supply to resolve this issue.
I have a global rule for spam. I done it on the server console and it's working correctly:
require ["fileinto"];
# Move spam to spam folder
if header :contains "X-Spam-Flag" ["YES"] {
fileinto "SPAM";
stop;
}
But I have similar problem with managesieve plugin . I can create modify the rules but that doesn't work.
require ["fileinto"];
# rule:[Test_rule]
if anyof (header :contains "Subject" "Apple")
{
fileinto "INBOX.Test";
}
It doesn't work. If I modify it manualy (with mcedit): "fileinto "INBOX.Test"; " ----> "fileinto "Test"; " It start to work.
So it looks like the "INBOX" at the begin cause the problem.
Can anybody help me?![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)