On Mon, 13 Dec 2004 01:50:00 +0000 Isaac Devine <[EMAIL PROTECTED]> wrote:
> hi, > > I am trying to get exim+procmail on fresh install of debian(woody) to > to run the following (testing) script whenever the user recieves an > email with the subject consisting soley of numbers:. > > ~/.procmailrc: > PATH=/usr/bin:/usr/local/bin:$HOME/scripts > MAILDIR=$HOME/.mailspool > DEFAULT=$HOME/.mailspool/default > LOGFILE=$HOME/procmail.log > SHELL=/bin/bash > > :0: > * ^Subject: [0123456789]+ there might be spaces between "Subject:" and the numbers, how about: * ^Subject:.*[0123456789]+ > | test > > ~/scripts/test: > > #!/bin/bash > cat >> ~/logfile > > I looked through the exim config and it looked like procmail should be > working. However their is no content placed into ~/logfile it is > zero-length. > > thanks, > > Isaac > > P.s the test script does have the user execute flag set. -- Nick Rout <[EMAIL PROTECTED]>
