nmh-workers
[Top][All Lists]
Advanced

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

Re: slocal and relation with rcvstore


From: Howard Bampton
Subject: Re: slocal and relation with rcvstore
Date: Mon, 14 Mar 2022 02:57:57 -0400



On Sun, Mar 13, 2022 at 11:58 PM Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:
On Sun, 13 Mar 2022 21:37:12 +0100, "Thomas Dupond" said:

> If so, what should I use to have all the goodness of filtering and 'unseen'
> behaviour from nmh?

Procmail also knows how to deal with mh-style folders.  You can either have it
deliver it directly (which doesn't update sequences), or invoke rcvstore. The
nice thing is that procmail has much more fine-grained matching, searching,
and processing.

I'll second the use of procmail. I used it for a number of years at work to do the sorting stuff you mentioned (but I'll chop for brevity). The one issue I ran into upon occasion was that if a carpet bombing of email came in (for example, someone on the "postmaster" alias other than I had their email address generating a NDN, which would be sent to postmaster which generated a new, larger, and improved NDN...), you can inadvertantly launch a DOS attack on the mail servers (the NDN storm would itself have done so, but would have taken longer). Thousands of those can make outlook unusable for quite some time (stopping incoming email, manually flushing the queue of NDNs via judicious use of grep/rm, restarting sendmail until the queue fills up, [plus judicious use of pick/rmm in one's postmaster folder]... is a much faster and less painful cleanup method).



And I won't share some of the more bletcherous things I did with procmail to
produce actionable data from Listserv/Sendmail bounce reports (hint - since
every single time that Listserv hands Sendmail a mail and bounces, the
boilerplate in the resulting bounce message is identical so you want to extract
the copy of the bounced mail from inside the multipart/report. Let's see you do
*that* with slocal :)


I've heard that one can also use procmail recipes to BOFHishly forward postmaster-ish mail to folks not on the postmaster mail alias and keep them (and exchange admins) "entertained" for months because folks don't know about "Received" headers. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]