[H-GEN] Can procmail trigger a script?

Edwin Groothuis edwin at mavetju.org
Sun Dec 11 04:00:38 EST 2005

On Sun, Dec 11, 2005 at 06:54:10PM +1000, Harry Phillips wrote:
> I have just subscribed to the clamav database update list and was 
> wondering if procmail (or something else) can be used to trigger a 
> script to download the latest database.

This will do the trick:

* ^List-Id: Ports bug reports .freebsd-ports-bugs.freebsd.org.$
    :0 c
    |lockf /tmp/scanmail.lock /home/edwin/ports/incoming-prs/bin/scanmail.pl


Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/

More information about the General mailing list