* Matt Price <matt.price@xxxxxxxxxxx> [2004:01:15:23:10:46-0500] scribed: > Hey everyone, > > soooo... I know this isn't a procmail list, but y'all are so helpful... > > I've set up this primitive mailing list on my office machine: > > a simple .forward file that forwards mail sent to the address > foucault - at - my.personal.domain > > to a list of email addresses (one address per line). > > Now I want procmail to put every message sent to me from anyone on the list > into a > special mailbox, $MAILDER/.scitechmod. > > So I did this in .procmailrc: > > :0: > * ? $FORMAIL -x From: | grep -isF -f /home/scitechmod/.forward > $MAILDIR/.scitechmod/ > > I think it'll work... problem is, I'd like to add MYSELF to the > mailing list -- in fact, I have to... but I don't want mail from me > to end up in the special folder. Sooo.. think this'll work? > > # try to filter kids' addresses to right mboxes > :0: > * ? $FORMAIL -x From: | grep -isF -f /home/scitechmod/.forward > * !^From:.*(matt@|matt.price@xxxxxxxxxxx) > $MAILDIR/.scitechmod/ > > ... and is there a tricky way to test my recipes on existing mails? > I'm loathe to actually set this up till I know it's working. <http://www.professional.org/procmail/sandbox.html> hth -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . --
Attachment:
signature.asc
Description: Digital signature