[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] send all email from certain From: addresses into a spam



On Friday, July 05, 2019 02:35:46 AM Reco wrote:
> > > So, assuming that you wish to block threads that are started by me,
> > > participated by me, etc, you'll need (:h should correctly process a
> > > multiline header):
> > > 
> > > if ( /^From:.*recoverym4n@enotuniq.net/:h )
> > > 
> > > 	to /dev/null
> > > 
> > > if ( /^References:.*enotuniq.net/:h )
> > > 
> > > 	to /dev/null
> > > 
> > > But that assumes that everybody in the thread are using a sane e-mail
> > > client. And relies on Message-ID that can include literally anything
> > > (but it does include a domain most of the time).
> > 
> > Wait, but wouldn't that block any threads referring to any mail sent
> > from any address at the specified domain? This might work fine for a
> > small domain, but it's going to be bad for mail coming from Gmail
> > accounts ...

I haven't been following this thread carefully, nor do I understand the syntax 
used above, but couldn't the * be replaced with a specific name to limit which 
emails get sent to /dev/null?
 
> That's another disadvantage, I agree. But it's a feature at the same
> time. For instance, outlook.com sents nothing but spam to this maillist,
> so any e-mails from that domain can be safely 'blocked' this way.


Reply to: