Sujet : Re: How to Install SpamAssassin on Fedora?
De : heller (at) *nospam* deepsoft.com (Robert Heller)
Groupes : comp.os.linux.miscDate : 15. Feb 2025, 02:06:33
Autres entêtes
Organisation : Deepwoods Software
Message-ID : <voopap$3nbjb$1@dont-email.me>
References : 1 2
User-Agent : TkNews 3.0 (1.2.19)
At Fri, 14 Feb 2025 22:45:46 -0000 (UTC) Lars Poulsen <
lars@cleo.beagle-ears.com> wrote:
On 2025-02-14, Dan Espen <dan1espen@gmail.com> wrote:
Lars Poulsen <lars@cleo.beagle-ears.com> writes:
>
As part of my nerdy home system, I have a Fedora Linux server, which is
my file server, my web server and my mail server. For almost 20 years,
my incoming mail was scrubbed by a spam filtering service operated by my
friend in Switzerland, but he is now retiring, so I need to do this for
myself now.
>
I figure the tool of choice is spamassassin, but where do I find a
reasonably simple how-to guide? I assume I cannot just
dnf install spamassassin
systemctl enable spamassassin.service
systemctl start spamassassin.service
>
But what more do I need to do?
>
dnf install spamassassin
>
works fine.
>
You may or may not need to start it as a service, that's up to you.
"spamd" just makes it run a little faster.
>
The man page should be sufficient to figure out the rest.
So these 3 commands are likely to work, without screwing anything up?
Does spamassassin take over the submission port without any editing of
sendmail.cf? (Most descriptions of spamassassin assume that you are
running procmail. I figured out a sendmail.cf 30 years ago, and have not
had to page all of that in for at least 20 years.)
Does anyone still use sendmail? I know that RHEL switched from sendmail to
Postfix with RHEL 6/CentOs 6. In any case sendmail AND Postfix both use
procmail as the final delivery for "local" mail.
Spamassassin does NOT take over the submission port. If you want spamassassin
to scrub spam at that level, you need to also install mimedefang as a Milter
(Mail Filter). Mimedefang will then pre-process incoming mail, both checking
any attachments for maleware and also passing mail messages to spamassassin to
check the email against spam filters and possibly mark it as rejectable, in
which case mimedefang can tell your MTA to reject the message.
OTOH, you can have your .procmailrc run spamassassin directly or use spamd
(spamassassin's deamon) and file spam into a spam folder or bounce it or any
other thing Procmail can do.
-- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364Deepwoods Software -- Custom Software Serviceshttp://www.deepsoft.com/ -- Linux Administration Servicesheller@deepsoft.com -- Webhosting Services