On Sun, Sep 03, 2006 at 09:23:43PM +0200, Christian Garbs wrote:
> > Some documentation and possibly examples would be nice.
> 
> The procmail integration is documented:
> See /usr/share/doc/whatsnewfm/README.gz in chapter 3 "Usage".

Ah, it was gzipped, so my ordinary grep missed it. Sorry.

> > Piping the recommendation to also include other MDAs would be
> > useful, too.
> 
> If anybody writes a documentation for other MDAs, I'll include them in
> the upstream package.  Then the Recommends: should of course be
> extended to include the new MDA.

The procmail tidbit found in README would sound something like this in
maildrop syntax:

if (/^Subject:.\[fm-news\].newsletter/ && !/^X-Loop:.*whatsnewfm/)
{
  dotlock whatsnewfm.`echo $$`.lock {
    xfilter "/path/to/whatsnewfm.pl"
  }
}

(If having a local lockfile for the rule isn't strictly necessary, then
one could even drop the whole dotlock statement in the above example.)

-- 
     2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to