I'm trying to set up expiry of mailing lists using formail/procmail. I have
inserted a line in incoming messages to give an expiry date:
Expires: 2006-03-22
I'm now trying to get a procmail recipe to work on that line when it reaches
that date. I've tried:
DATE=`date +%F`
EXPIRY= "expires: "$DATE
:0
* ^List-Id:.*mythtv
* EXPIRY ??
/dev/null
:0:
* ^List-Id:.*mythtv
/var/spool/mailbox/mythtv
$EXPIRY contains what I want to search on, but how do I get it into the
condition field?
Any (non rude) suggestions greatfully received.
--
Brian Duffell RiscPC600 | VRPC SE RISC OS 4.02 96Mb
Linux PCs on RISC OS network |
<www.dare-asc.co.uk> | <www.darlington-masters.org>
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail