[HCoop-Help] Removing large amounts of spam
Michael Olson
mwolson at hcoop.net
Sun Apr 6 13:18:06 EDT 2008
"John T. Settino" <nion at nion0.com> 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.
--
Michael Olson
HCoop System Administrator
http://hcoop.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.hcoop.net/pipermail/hcoop-help/attachments/20080406/f2905295/attachment.pgp
-------------- next part --------------
_______________________________________________
HCoop-Help mailing list
HCoop-Help at lists.hcoop.net
https://lists.hcoop.net/listinfo/hcoop-help
More information about the HCoop-Help
mailing list