> 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]+ > | test > > ~/scripts/test: > > #!/bin/bash > cat >> ~/logfile
You probably want to put the full path to your script in there. :0: * ^Subject: [0123456789]+ | $HOME/scripts/test because: [EMAIL PROTECTED] root]# which test /usr/bin/test will be first in the path. That or name your script something else. Regards Daniel
