procmail
[Top] [All Lists]

Re: save to archive and delete

1999-06-11 12:18:23
era eriksson wrote:
On Fri, 11 Jun 1999 10:06:14 +0200, Jost Schaper <jost(_at_)schaper(_dot_)org>
wrote:
 > :0 c:
 > * ^TOintern-list
 > ${MAILDIR}/interne-liste/${MONTHFOLDER}
 > :0
 > * ^TOintern-list
 > /dev/null
 > # Problems, see above

So just lose the c flag on the first recipe and delete the second
recipe altogether.

Era,
thank you, done and it works.
 :0
 * ^TOintern-list
 ${MAILDIR}/interne-liste/${MONTHFOLDER}

As that list produces some 2500 mails a month, I have at once switched
it off and have the newsubscriber's demands only.
</sigh> Thank you!

I am now reflectig on how I can separate the From from the header and
store it together with the body in a file.

 :0 
 * ^TOintern-list
 |uncompress ${MAILDIR}/interne-liste/${MONTHFOLDER}.Z;\
  formail -X"From" -k >>list-archive;\ 
  compress ${MAILDIR}/interne-liste/${MONTHFOLDER}.Z

something like that?

Bye,
Jost

<Prev in Thread] Current Thread [Next in Thread>