Re: Reject Senders by IP address - SMTPD

2018-09-28 Thread Matt Schwartz
Antonino, What I ended up doing was configuring spamd in blacklist only mode and using spamd simply to populate the table in pf. From there, instead of sending members of the table to the spamd daemon, I just block them outright. To stop some of the connection attempts that have not been

Re: Reject Senders by IP address - SMTPD

2018-09-28 Thread Antonino Sidoti
Hi Gilles Therefore in my case I can remove the “reject” statement and let the packet filter block the IP. I don’t want the offending IP to even reach the mail server. Thanks for the clarification. > On 28 Sep 2018, at 7:25 pm, Gilles Chehade wrote: > >> On Fri, Sep 28, 2018 at

Re: Reject Senders by IP address - SMTPD

2018-09-28 Thread Peter N. M. Hansteen
On Fri, Sep 28, 2018 at 08:30:55AM +, Antonino Sidoti wrote: > table shithole file:/etc/mail/blacklist > > The file ‘blacklist’ contain the IP addresses that I wish to block, one per > line. I also have added a reject statement to my ‘smtpd.conf’ like so; > > reject from source for any >