> I know I saw this asked recently, but I can't seem to find the question or
> the answer. < GREP! GREP! GREP! >
>
> I have an official mailing list that I host that looks quite tacky with the
> added baloney about getting free email from JUNO at the bottom of it.
>
> Is there any way to filter out JUST the advertisement, and let the rest of
> the message through?
You could preprocess the messages before they go through resend in your
aliases file:"
yourlist : "| myfilter | /usr/lib/mail/majordomo/wrapper/resend ..."
You could also call procmail, have that call a script that filters it, and
then push it through to resend (I prefer this method because it takes care
of extracting the message body, plus it's more extensible):
yourlist : "| /usr/bin/procmail -m /usr/lib/mail/majordomo/.procmailrc.yourlist"
.procmailrc.yourlist would look something like this:
:0 Bfbwc
| myfilter
:0
| /usr/lib/mail/majordomo/wrapper/resend ...
Chris
References:
|
|