Michael Olson wrote:
> "John T. Settino" <[EMAIL PROTECTED]> writes:
>
>
>> Would "drop" be a better description? e.g. deliver to /dev/null
>>
>
> Yep.
>
> It looks like procmail can put header values into variables, which can
> be used later on. Here's an example of assigning those values, from
> "man procmailex":
>
> To extract certain headers from a mail and put them into environment
> variables you can use any of the following constructs:
>
> SUBJECT=`formail -xSubject:` # regular field
> FROM=`formail -rt -xTo:` # special case
>
> You can use these variables in regular expressions by using the
> "${VARNAME}" syntax
I'm going to have to look into this. I'll also brush up on my regexp syntax.
Quick question, when you mention "${VARNAME}" syntax, you don't actually
mean including the quotes and curly brackets when referencing the
variable, do you? e.g. $MSGSUBJECT and not "${MSGSUBJECT}".
Kind of stupid question but I figured I'd ask anyway.
Thanks for the help so far. :D
_______________________________________________
HCoop-Help mailing list
[email protected]
https://lists.hcoop.net/listinfo/hcoop-help