I have a small webmail service and I use procmail to do the delivery of e-mail what I want to do is enable people to sue the .procmailrc file to block e-mails that come to there personal email box. I know how I want to do the blocking that will be a simple script that will just load another page up and ask if you want to block the subject sender domain etc. The real problem comes in as with me any user is bound to make a mistake and block all of yahoo.com or something similar and they will wish that they hadn't done that. So what I am trying to figure out is how would be the best way to look through that .procmailrc and find the line they want to delete i.e from subject etc and delete it all. I figure it will be a combination of system commands and I have no problem with that. I have a job file that gets run every minute and I could just append it to that no problem. anyone have any idea how I could get those out of there?
John