Re: Block mails from senders

2021-08-20 Thread Hagen Bauer
Hi, great, I got it working now Thank you Regards Hagen On Fri, Aug 20, 2021 at 02:41:54PM +0200, Thomas Bohl wrote: Hello, i cant get mails rejected that come from a list of specific senders smtpd.conf table bad_guys file:/etc/mail/bad_guys match from mail-from reject Whats wrong?

Re: Block mails from senders

2021-08-20 Thread Thomas Bohl
Hello, i cant get mails rejected that come from a list of specific senders smtpd.conf table bad_guys file:/etc/mail/bad_guys match from mail-from reject Whats wrong? If you don't specify for whom the rule is it will default to local. So the current rule is: match from mail-from for loca

Block mails from senders

2021-08-19 Thread Hagen Bauer
Hi i cant get mails rejected that come from a list of specific senders smtpd.conf table bad_guys file:/etc/mail/bad_guys match from mail-from reject /etc/mail/bad_guys a.validaddress@validdomain.validtld The reject match rule is the first rule in my list of match rules Whats wrong?