On  0, Nick Hastings <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> * Mike <[EMAIL PROTECTED]> [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: msg01541/pgp00000.pgp
Description: PGP signature

Reply via email to