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

Re: Whatever happened to "Unidentified Subject!"



On  0, Nick Hastings <hastings@physics.unimelb.edu.au> wrote:
> Hi,
> 
> * Mike <reznaeous@adelphia.net> [020910 14:51]:
> > Paul Johnson wrote
> > > Whatever happened to Unidentified Subject lines that DU used to add to
> > > a blank subject line?  If they're not coming back, how do you get
> > > procmail to filter against an empty subject line?
> > 
> > You don't.  From my .procmailrc:
> > <begin snip>
> > 
> > :0:
> > * ^X-Mailing-List.*debian-user
> > debian-user
> 
> True, this works very well.
> 
> However, Baloo asks an interesting question. It would be nice to send
> emails with no subject to /dev/null. Anyone got a procmail rule for
> finding empty headers?

Haven't tried it, but shouldn't:

:0:
* ^Subject:[\ ]*$
/dev/null

do it?

Tom
-- 
Tom Cook
Information Technology Services, The University of Adelaide

"Other people's priorities are endlessly odd."
	- Kingsley Amis

Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au

Attachment: pgpij0g8I9Xzb.pgp
Description: PGP signature


Reply to: