** Chris Green <[email protected]> [2016-05-17 08:31]:
> On Mon, May 16, 2016 at 04:37:52PM -0700, Ian Zimmerman wrote:
> > On 2016-05-16 08:31 +0100, Chris Green wrote:
> > 
> > FWIW, after using procmail and sieve, and my own module libraries for
> > both perl and python for a long time, this is exactly what I do now: I
> > have my own python script driven by a JSON file to do the job.  I find
> > this the most flexible and liberating way ever, and besides the script
> > has grown complex enough that I can show it as example code for job
> > applications :)
> > 
> Mines not that complex but does what I need, adding what I asked for
> originally won't be all that difficult.
> 
> I wrote mine to simplify the operation of joining a new mailing list,
> I just subscribe to the list and add one line to my configuration
> file.  That routes the list messages to a specific destination and
> adds a short alias for sending mail to the list.
> 
** end quote [Chris Green]

For comparison my line from my Sieve configuration for automatically filling
mail into my list folder is:

if header :contains ["List-Post"] ["[email protected]"] {
        fileinto "lists.mutt"; stop; }

and in Mutt I just use L to reply to the list. Of course this relies on the
list being setup properly. I have other versions for some lists (mainly using
List-Id instead of List-Post) and some based on subject for my own automated
mails from cron jobs. If I wanted to send the mail on to another acount I could
just use something like:

if header :contains ["List-Post"] ["[email protected]"] {
        redirect "[email protected]"; stop; }

As with most things it is a combination of what you are used to and your
personal setup that dictates the best solution!

-- 
 Paul Tansom  |  Aptanet Ltd.  |  https://www.aptanet.com/  |  023 9238 0001
 Vice Chair, FSB Portsmouth & SE Hampshire Branch  |  http://www.fsb.org.uk/
=============================================================================
Registered in England | Company No: 4905028 | Registered Office: Ralls House,
Parklands Business Park, Forrest Road, Denmead, Waterlooville, Hants, PO7 6XP

Reply via email to