Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #65539

Re: How to Install SpamAssassin on Fedora?

From Robert Heller <heller@deepsoft.com>
Newsgroups comp.os.linux.misc
Subject Re: How to Install SpamAssassin on Fedora?
Date 2025-02-15 01:06 +0000
Organization Deepwoods Software
Message-ID <voopap$3nbjb$1@dont-email.me> (permalink)
References <voofee$3ljs6$1@dont-email.me> <slrnvqvhsq.mskc.lars@cleo.beagle-ears.com>

Show all headers | View raw


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-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to Install SpamAssassin on Fedora? Lars Poulsen <lars@cleo.beagle-ears.com> - 2025-02-14 21:47 +0000
  Re: How to Install SpamAssassin on Fedora? D <nospam@example.net> - 2025-02-14 22:53 +0100
    Re: How to Install SpamAssassin on Fedora? Lars Poulsen <lars@cleo.beagle-ears.com> - 2025-02-14 22:39 +0000
      Re: How to Install SpamAssassin on Fedora? rbowman <bowman@montana.com> - 2025-02-15 00:44 +0000
  Re: How to Install SpamAssassin on Fedora? Dan Espen <dan1espen@gmail.com> - 2025-02-14 17:17 -0500
    Re: How to Install SpamAssassin on Fedora? Lars Poulsen <lars@cleo.beagle-ears.com> - 2025-02-14 22:45 +0000
      Re: How to Install SpamAssassin on Fedora? Robert Heller <heller@deepsoft.com> - 2025-02-15 01:06 +0000
  Re: How to Install SpamAssassin on Fedora? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-02-14 23:41 +0000
    Re: How to Install SpamAssassin on Fedora? Robert Heller <heller@deepsoft.com> - 2025-02-15 01:06 +0000

csiph-web