Sent via the Samsung Galaxy A10e, an AT&T 4G LTE smartphone
-------- Original message --------From: Pete Long <p...@valar.uk.net> Date: 
3/21/22  9:08 AM  (GMT-06:00) To: misc@opensmtpd.org Subject: Re: Filter 
Logging On Mon, Mar 21, 2022 at 03:58:23PM +0200, Reio Remma wrote:> On 
21.03.2022 15:54, Pete Long wrote:> > Hi all,> > > > I have a filter defined in 
smtpd.conf which looks like the following:> > > > filter rejects phase data 
match mail-from <rejectaddress> \> > disconnect "550 Policy enforcement."> > > 
> The referenced table contains a list of addresses in the following> > 
formats:> > > > @dailynuisance.tld> > bigmarketing.tld> > 
@weneverunsubsribeanyone.tld> > > > First of all, are these valid formats for 
the filter?> > I see I've set up blacklists with a table like this:> > match \> 
  from any \>   for any \>   mail-from <blacklist> \>   rejectI'm currently 
doing the same as Reio with no complaints. Edgar Thanks Reio, that's nice and 
simple. I'll give that a try.For some reason, I've always placed reject lists 
in a filter which areare referenced in a 'listen on' line.Perhaps its time for 
a change :)Pete.

Reply via email to