SpamAssassin cannot block or eliminate spam. It does not have the facilities to do that. SA can only score potential spam.
Whatever method you used to glue SA into your mail path needs to parse the score SA assigned in the returned mail, and do whatever routing it thinks is appropriate. We do not know what glue you are using to put SA into your mail path, so it is hard to give suggestions on how to set that unknown software up. With more details of your setup we may be able to help. We can suggest rules to assign a score to mail if it comes from a particular account. But something other than SA will then have to deal with that score and do the routing. ----- Original Message ----- From: FalconChristopher To: Michael Grant ; users@spamassassin.apache.org Sent: Saturday, December 30, 2023 2:48 AM Subject: Re: Beginner Setting up Spam Assassin Hi, can I not ask how to set up Spam Assassin in this mailing group it is a group for Spam Assassin. On 12/30/2023 4:30 AM, Michael Grant wrote: Can you ban this user in whatever your equivalent of the access file is so instead of putting the messages into a spam folder, you reject messages from that address at delivery time (SMTP)? On 30 December 2023 04:08:17 CET, FalconChristopher <falconchristop...@bell.net> wrote: Anyone know how I can check and setup SpamAssassin so that I can eliminate some spam from coming in from a email account ? On 12/28/2023 2:24 AM, Matus UHLAR - fantomas wrote: > On 27.12.23 16:53, Fal Sangu verification: ⓘ No issues found, please report it if otherwise Request analyst action Verified by Sangu Anyone know how I can check and setup SpamAssassin so that I can eliminate some spam from coming in from a email account ? On 12/28/2023 2:24 AM, Matus UHLAR - fantomas wrote: > On 27.12.23 16:53, FalconChristopher wrote: >> Hi, I want to setup Spam Assassin so that any email that Spam >> Assassin flags as spam > > this is spamassassin's job > >> gets placed into a folder for a specific SMTP or IMAP email account. > > this is not spamassassin's job. > It's job of mail delivery agent - procmail, maildrop, sieve > >> Then if Spam Assassin flags emails that are not spam I can tell it >> which of those emails to not place into the spam folder for the >> specific email client. Until it gradually learns which emails are >> spam and which are not. > > dovecot (imap/pop3 server) has plugins that support training of > spam/ham, if you move the mail from/to spam folder. > > https://doc.dovecot.org/configuration_manual/spam_reporting/ > >> I've done a little research and I have access with my distribution to >> a mail directory as well as the local.cf file for which >> configurations are for Spam Assassin but I don't know how to setup >> what I mentioned above ? >