Hi,

I'm trying to put a simple (I think) .procmailrc file in place that gets rid of just the most obvious spam email arriving at my mailbox. (Though Outlook/Norton does a great job filtering it, that doesn't help me when I try to read mail from my phone via POP...) For now, I'll just move it to a file in my home directory (maybe later, to /dev/null, if it seems to do the trick).

However, I'm having a tough time figuring out where to put the file, or, at least, to make it do anything.

I've tried /home/myusername/.procmailrc, and /ftp/pub/myusername/.procmailrc and even /.procmailrc (because when I log in via ftp, I see that / is the current directory).

The gist of the script is:

#delete spam
:0
* ^From.*(Viagra|morestuffgoeshere)
/home/myusername/spam

#delete spam
:0
* ^Subject.*(Viagra|morestuffgoeshere)
/home/myusername/spam



Any help appreciated.

-ajw