block outgoing mail

Rick Gutierrez xserverlinux at gmail.com
Thu Jun 22 02:18:12 UTC 2023


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: ricardo at domainnew.com yes

Any idea what I could be doing wrong?


-- 
rickygm

http://gnuforever.homelinux.com


More information about the MailScanner mailing list