[horde] Ingo with sieve not working
Ole Wolf
ole at naturloven.dk
Thu Nov 22 14:32:22 UTC 2012
Quoting OVi C <csoft2k5 at gmail.com>:
> The .dovecot.sieve is just a symlink pointing to the ingo script in the
> sieve folder. I've also tried your approach and still nothing happens.
I vaguely recall attempting with a symlink to .dovecot.sieve myself. For
some reason abandoned it, possibly because I couldn't get it to work. This
is several years ago, however, so I don't quite remember.
With my configuration, I've created a ~/sieve directory, and within this
directory, "ingo.sieve" is symlinked to "ingo". I don't remember why.
The current Ingo seems to filter the messages as desired (on my server,
that is), but at one time I also had to apply the following patch
(with patch -p0):
----------------------------------------------
*** ../horde/ingo/lib/Script/Sieve/Action/Flag.php 2012-11-21
14:58:34.635437275 +0100
--- ingo/lib/Script/Sieve/Action/Flag.php 2012-11-21
17:48:32.929381201 +0100
***************
*** 90,96 ****
*/
public function requires()
{
! return array('imapflags');
}
}
--- 90,96 ----
*/
public function requires()
{
! return array('imap4flags');
}
}
*** ../horde/ingo/lib/tests/SieveTest.php 2012-11-21
14:58:34.643436331 +0100
--- ingo/lib/tests/SieveTest.php 2012-11-21 17:52:47.203390856 +0100
***************
*** 73,79 ****
$bl->setBlacklistFolder(Ingo::BLACKLIST_MARKER);
$this->store($bl);
! $this->assertScript('require "imapflags";
if address :all :comparator "i;ascii-casemap" :is ["From",
"Sender", "Resent-From"] "spammer at example.com" {
addflag "\\\\Deleted";
keep;
--- 73,79 ----
$bl->setBlacklistFolder(Ingo::BLACKLIST_MARKER);
$this->store($bl);
! $this->assertScript('require "imap4flags";
if address :all :comparator "i;ascii-casemap" :is ["From",
"Sender", "Resent-From"] "spammer at example.com" {
addflag "\\\\Deleted";
keep;
----------------------------------------------
If you still can't get it to work, let me know if you'd like a copy of
Dovecot configuration files and I'll send them to your personal email.
(This email was apparently rejected by the mailing list software;
sorry if it appears twice.)
--
Ole Wolf
Rødhættevej 4 • 9400 Nørresundby
Telefon: 9632-0108 • Mobil: 2467-5526 • Skype: ole.wolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP digital signatur
URL: <http://lists.horde.org/archives/horde/attachments/20121122/e5fa6ac9/attachment.bin>
More information about the horde
mailing list