[Dovecot] dovecot, spamassasin and lmtp
Hi,
Ok, so I got rid of my procmail in favor of dovecot lmtp as my MDA. However, I lost the ability to tag the emails as SPAM or not. Before, this is done by procmail. Filtering is done by the Evolution client.
Is there a way to do something similar now? I still want my filtering to be done by the Evolution. So I need something similar what procmail is doing i.e. altering the email header and putting some tag on it if it is a SPAM.
Thanks.
-- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-spamassasin-and-lmtp-tp43709.ht... Sent from the Dovecot mailing list archive at Nabble.com.
On 08/05/2013 10:27 PM, alfdc wrote:
Hi,
Ok, so I got rid of my procmail in favor of dovecot lmtp as my MDA. However, I lost the ability to tag the emails as SPAM or not. Before, this is done by procmail. Filtering is done by the Evolution client.
Is there a way to do something similar now? I still want my filtering to be done by the Evolution. So I need something similar what procmail is doing i.e. altering the email header and putting some tag on it if it is a SPAM.
Thanks.
-- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-spamassasin-and-lmtp-tp43709.ht... Sent from the Dovecot mailing list archive at Nabble.com. You didn't mention which MTA are you using? With either postfix or exim you can pass the email through spamassassin. Personally I like to invoke spamassassin out of exim's data ACL, getting only the score but not modifying the message, and adding the headers I want later in exim's routers.
Gedalya-2 wrote
You didn't mention which MTA are you using?
Oh yes.
My MTA is sendmail. And for sendmail the suggested way to trigger spamassasin is via procmail. But since procmail is gone then....
-- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-spamassasin-and-lmtp-tp43709p43... Sent from the Dovecot mailing list archive at Nabble.com.
Gedalya-2 wrote
You didn't mention which MTA are you using? Oh yes.
My MTA is sendmail. And for sendmail the suggested way to trigger spamassasin is via procmail. But since procmail is gone then....
-- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-spamassasin-and-lmtp-tp43709p43... Sent from the Dovecot mailing list archive at Nabble.com. OK... there are programs allowing you to run spamassassin as a milter,
On 08/05/2013 10:56 PM, alfdc wrote: the fact that these exist is the extent of my knowledge, but procmail is certainly not the only way.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 5 Aug 2013, alfdc wrote:
My MTA is sendmail. And for sendmail the suggested way to trigger spamassasin is via procmail. But since procmail is gone then....
see http://wiki.apache.org/spamassassin/IntegratedInMta
procmail is just one way. If you know Perl (well), you can control mail message flow with MIMEDefang to every bit.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUgCZuV3r2wJMiz2NAQKTQAgAmhoUfkXgakLHZO+bQcJ2dPjFSnSEDcAr t3w0NeqYTWETPmKh55eX6ym9wi8WE6BVqFuIR0FT0a1V6FVxn5G985yruEfTKIFl r733gmdbBvJmHmAwVtMv4e4MTRSBwIljKXl0GbyjMLQlRAaDSJtXvqKgzRdcUbTE +DUJ8H1OM3mZ8znhijog232jEdgwigYB/0gVa68BSc7K0C/l9jIG0VFWSw+5RBWP ChEm/D0HT/8qzTOewD0ltaRAoKG7V1dr4BIDRPkInIJP+WgHTjQVTq5f3YrzZmL2 73tUeWGn6QsnulccmsyoLMTgiWf8SL0j1O9cpD1v7RntsJL+a6AasQ== =zDJu -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 6 Aug 2013, Steffen Kaiser wrote:
My MTA is sendmail. And for sendmail the suggested way to trigger spamassasin is via procmail. But since procmail is gone then....
see http://wiki.apache.org/spamassassin/IntegratedInMta
procmail is just one way. If you know Perl (well), you can control mail message flow with MIMEDefang to every bit.
Ah, for easy per-user scanning you could look at Pigeonhole's execute, filter, or pipe extension: http://wiki2.dovecot.org/Pigeonhole/Sieve/
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUgCc0l3r2wJMiz2NAQI7OQgAn2kiDWel9GX+89vgaEfZD0Un8jRePbFw +YwfIsMGqZL72PtWI1onstuvvsWQAuESwHJa7oo1KfI0WKYn7N9Et51W9J/1RnIC Jjp5pUSiWsHPVfwP4Qo4l+6zHIjTC9IyJZg7oUbnWj5egAjrqwsOpXsSDUmrjwZb VZdHzzjOXSuoQbUCjPKhZvBjX8g6JdBEx9Rw7ge4gVy/tMScedipdzLBI7dnEB0M lTkv2s8/aIRn1/coskh+nW1YUyUrFgRVot4zqXLtVHXIr7fVzktq03Vf0x1qoX3/ IwcBgbLXU85CJEezwFJMx7kaIGUgj986AQubu/PVxBRoelrOvTiazQ== =RT0a -----END PGP SIGNATURE-----
participants (3)
-
alfdc
-
Gedalya
-
Steffen Kaiser