block outgoing mail

Rick Gutierrez <[email protected]> Wed, 21 Jun 2023 22:18:12 -0400
Newsgroups gmane.mail.virus.mailscanner
Message-ID <CAL_GE3RRSNj80bhstYJNs0He0_UesJxduoDf4fzQSuxYqL3xnQ@mail.gmail.com>
hi list, I need a little help, I have some users who are sending
emails as lists, and a lot of them cause the server to blacklist due
to the amount of email they send, some of those emails bounce because
they don't exist, is there a way for mailscanner to deny the out to
those addresses that bounce a lot.

I found this thread, but it is not very clear and I tried to do it but
without success.

https://mailscanner.mailscanner.narkive.com/GmR6FwNu/block-outgoing-mail-with-rules

Mailscanner.conf add:

Block Outgoing To = /etc/MailScanner/rules/block.outgoing.rules

inside rules make a file block.outgoing.rules

block.outgoing.rules
From: [email protected] yes

Any idea what I could be doing wrong?


-- 
rickygm

http://gnuforever.homelinux.com


-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner