[Dovecot] Postfix + Dovecot + Sieve + SpamAssassin
Hello
Until now I used Postfix in combination with Procmail and Dovecot. I am convinced that the Dovecot Sieve plugin is a much more elegant solution.
So I changed to Postfix + Dovcecot Deliver + Dovecot + Sieve. If I understood correctly I cannot call other applications within a Sieve script. Until now I used Procmail to filter Spam Messages with SpamAssassin. Is there a possibility to filter spam messages before/after Dovecot deliver. I want to use the users .spammassassin user_prefs located in their home folder. I suppose if I use a content filter in Postfix this is to early, since the user is not known at that moment. Or am I wrong?
Any help is highly appreciated.
Best regards, Sascha
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 8 Apr 2009, Sascha Scandella wrote:
So I changed to Postfix + Dovcecot Deliver + Dovecot + Sieve. If I understood correctly I cannot call other applications within a Sieve script. Until now I used Procmail to filter Spam Messages with SpamAssassin. Is there a possibility to filter spam messages before/after Dovecot deliver. I want to use the users
Use a (bash) script wrapping Dovecot deliver, it can first pipe the message from stdin to SpamAssassin, then pipe its output to Dovecot deliver.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSd22bHWSIuGy1ktrAQKr9QgAvzIJQ4OtGoIr9lqUVOC+hgIFqsWkMgHu 8Mt6Tv4Yws/4b8CG2ERzIbrVtTI1yS7o3RD5wQagAyeM5dkKdlQczl3gLCcCnV1r n8qkRQseuDIbNHtHR9TFGDvpmA/zZpaHMxXCZL04x5HvXaPlBns05IYMHYJT58mA 6kVu+PXupoNSZl6BUcNQdCy98jL/XdyJS9r/9rQ+dS5FLl2lyW4WL/b16aaVDgws KgauxeLqjajCLjC5XDE0UjhR18gyF3I4UYVVEEVNEiExd06yhI/HI8jS83p+k0Kf +k6coAaphhUj7h18mP7gUN+0UuWsZXuAXjz0cgXY1qvPipUnRTzEAA== =bfk4 -----END PGP SIGNATURE-----
Use a (bash) script wrapping Dovecot deliver, it can first pipe the message from stdin to SpamAssassin, then pipe its output to Dovecot deliver.
You wouldn't have an example of that you could share would you? I'm new to this too and need to move from Procmail to Sieve and I need to call an external script but don't know what this would all look like.
Regards, Phill
participants (3)
-
Phill Edwards
-
Sascha Scandella
-
Steffen Kaiser