Hi guys, I'm having a little difficulty getting SIEVE to work. I have setup Cyrus-imap. I used "ingo" from "horde" to setup mail filters. They work when I click on the "apply filters" button, but don't seem to want to work automatically when mail gets delivered in the first place. The only reference to a config file I could find says: "./config/filter.txt" The only such file I could find is /srv/www/htdocs/horde/imp/config/filter.txt, which contains only the word "poop" - even after I made filters through the web interface. Where does the filters I made go? Also, how do I get the filters to always work - like procmail always did to sort mail into Maildirs for courier-imap? Thanks --- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com
On Sunday 17 April 2005 23:47, Hans du Plooy wrote:
Also, how do I get the filters to always work - like procmail always did to sort mail into Maildirs for courier-imap?
I still haven't found a good GUI tool for creating them. Kmail keep promising to support it, but so far I haven't seen anything from them. What I do is create a text file, containing the rules, rug as if header :contains "X-Mailinglist" "suse-linux-e" { fileinto "INBOX.SLE"; } elsif header :contains "X-Mailinglist" "suse-kde" { fileinto "INBOX.suse-kde"; } Then use sieveshell to upload it to the cyrus server sieveshell localhost #> put <scriptname> #> activate <scriptname> You can also use sieveshell to list the curtrently uploaded scripts. Maybe the problem is that horde just hasn't activated it
On Monday 18 April 2005 00:00, Anders Johansson wrote:
I do is create a text file, containing the rules, rug as
Good grief, this isn't my night. 'rug' should be 'such'. And no Ken, a spelling checker wouldn't be good enough for my needs, I think I'd need a sanity checker. something to pop up and say "This appears to make no sense at all - are you really sure you want to sound like you've been drinking?"
On Mon, 2005-04-18 at 00:06 +0200, Anders Johansson wrote:
On Monday 18 April 2005 00:00, Anders Johansson wrote:
I do is create a text file, containing the rules, rug as
Good grief, this isn't my night. 'rug' should be 'such'.
And no Ken, a spelling checker wouldn't be good enough for my needs, I think I'd need a sanity checker. something to pop up and say "This appears to make no sense at all - are you really sure you want to sound like you've been drinking?"
Actually sometimes I would, that way I could blame it on something other then stupidity. Actually if something like that existed we could just type something in and have it give the correct answer. WOW. Even google doesn't do that while typing the search request. :') -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Mon, 2005-04-18 at 00:00 +0200, Anders Johansson wrote: [snip]
sieveshell localhost #> put <scriptname> #> activate <scriptname>
The missing piece, thanks Anders. For some reason the first two login attempts fail, but the third is successful. I suspect that might be why my squirrelmail still won't log into cyrus. According to the logs it tries first DIGEST-MD5, then CRAM-MD5, then plain... Thanks for the help, Anders (for the shell info) and Andreas (for the path info) Thank you --- Kind regards Hans du Plooy SagacIT (Pty) Ltd hansdp at sagacit dot com
Hans, El Dom 17 Abr 2005 16:47, Hans du Plooy escribió:
I used "ingo" from "horde" to setup mail filters. You'll find that it's easy enough to manually set up Sieve scripts.
Where does the filters I made go? Mine are under /var/lib/sieve[/...].
1. As root, follow the directory structure into the mail user's directory and put your sieve.script file there. 2. "chown cyrus:mail sieve.script" 3. "chmod" 600 sieve.script" 4. "ln -s sieve script default" 5. Restart cyrus daemon (I am not really sure if it is even necessary).
Also, how do I get the filters to always work The above does the trick for me.
On the Sieve homepage (http://www.cyrusoft.com/sieve/) you'll find everything necessary to learn to write your own scripts. Regards, -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
participants (4)
-
Anders Johansson
-
Andreas Philipp
-
Hans du Plooy
-
Ken Schneider