Need help with .procmailrc & regular expressions
How do I setup .procmailrc
to delete spam mail that comes from any addresses that end in .ch (.ch = email from china) and with the Subject "stocks or Stocks with a capital). Can someone help me out here with a critique and suggestions. Thanks. I have here a sample procmail recipe that i came up with: Will this do the job or am I missing something? :0 * ^From:.*.ch * ^Subject:.*[Ss]tocks /dev/null |
Code:
* ^From:.*.ch Code:
* ^From:.*\.ch\> |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...mailrc-648414/ never mind the slightly different thread title.
|
Need help with .procmailrc & regular expressions
Thanks "ntubski"
I tried out your code sample and it worked. I think your right a spam filter would probably be easier. Thanks for your suggestions. RR |
Need help with .procmailrc & regular expressions
Sorry "unSpawn"
I did not mean to place the same post in 2 different sections. I was not getting any help in the "server section," so I placed my post here in programmers section. No need to get testy. Please remove my entry in the servers section if you wish. I would do it myself but I'm not sure if I can. I have been a member here for a while and I certainly am not trying to get myself kicked off. RR. |
Apology excepted. Next time just keep it at one thread and sit it out, OK?
Quote:
|
All times are GMT -5. The time now is 04:17 PM. |