On 2025-07-19 at 11:55:39 UTC-0400 (Sat, 19 Jul 2025 08:55:39 -0700)
Randy Bush via Postfix-users <ra...@psg.com>
is rumored to have said:

trying to configure postfix and spamassassin on bookworm.  sorting
through many conflicting recipies on the net of a million lies.  one
has spamassassin as a milter, another as a `-o content_filter`, and
most are old, ubuntu, ...  i got lost at twenty browser tabs.

Maybe you're looking too specifically, there's not much special about Debian so there's not going to be a definitive Debian-specific document. Or maybe that's just how integration goes with multi-platform FOSS tools.

Yes, there are about a half-dozen 'glue' choices, each of which has its own advantages and disadvantages and partisans. MIMEDefang, MailMunge, Amavis as a Milter, Amavis as a SMTP proxy, spamass-milter, or a wrapper script as a content_filter are the major options.

I use MIMEDefang on my own machine. It and its sibling MailMunge are great if you are comfortable with writing a little Perl as your config. I like being able to reject junk in SMTP, so only the Milter options are acceptable to me. If you don't care about synchronous rejection (e.g. if you want to just mark spam or deliver it to a spam folder) then the non-Milter options work and arguably are more failure-resistant.

would someone be so kind as to point me to a current best practice,
specifically debian and spamassassin?  thanks.

There is no such thing. Every mail system is its own unique thing. Different people want different things from SA and their MTA. Some people care about synchronous rejections. Some people care about handling large volume. Some people like to be able to do arbitrary things to mail before, after, or around SA scanning.


--
 Bill Cole
 b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo@toad.social and many *@billmail.scconsult.com addresses)
 Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to