procmail
[Top] [All Lists]

Re: deliver only the body to a file?

2006-10-10 13:16:24
On Tue, Oct 10, 2006 at 03:02:05PM -0400, Douglas J Hunley wrote:

I can't for the life of me figure out how to match an incoming
email based on the sender and subject and if they match a given
condition, write only the /body/ of the email to a file [. . .]

When you say "sender," do you mean "Sender:" or do you mean "From:"
or do you mean From_ (top line), or do you mean something else?
I'll presume a header called "From:"

  :0 b:
  ^From:.*\<foo(_at_)bar[(_dot_)]tld\>
  ^Subject:.*\<whatever\>
  somefile

-- 
dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>