procmail
[Top] [All Lists]

Re: html bouncer (was no subject)

2001-03-21 08:58:30

I apologize for the lack of subject. I did not realized it did not have one.

On your corrections, is there a missing ) or perhaps you type one extra?
What I need is an exact matching of the To: addresses, on the first part,
i.e.,

cba(_at_)atlantis(_dot_)bus(_dot_)ucf(_dot_)edu
cba(_at_)bus(_dot_)ucf(_dot_)edu
^    ^
|    |- disregard hostnames, match bus.ucf.edu.
|
- exact match for each list (cba, cbafac, cbastf, etc)

Content-type are too many... I tried and I could not make it work at all. If
someone has a solution for that approach... Any new feedback?

----- Original Message -----
From: "Timothy J. Luoma" <tjlists(_at_)bigfoot(_dot_)com>
To: "David Collantes" <david(_at_)netbros(_dot_)com>;
<procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>
Sent: Wednesday, March 21, 2001 10:22 AM
Subject: RE: html bouncer (was no subject)



Please use Subject: lines
especially with mailing lists.  It makes it much easier to find replies

I think I have a problem on the First step. Can anyone help?

I think I have corrected several mistakes without adding any new ones

But I do not know if I have fixed them all, esp. the <HTML> part of the
recipe.

Would looking for the HTML content-type be better/more efficient/less
error-prone?



file_name = `date +%s`

:0
* ! ^FROM_DAEMON
* ! ^majordomo(_at_)bus\(_dot_)ucf\(_dot_)edu
{
         :0 H
         * (cba(stf|fac)?@(atlantis\.)?bus\.ucf\.edu
         {
         :0 B
         * ()<HTML>
         * ()</HTML>
         {
                 :0 c
                 /tmp/$file_name.txt

                 :0
                 | /usr/local/bin/html_bouncer.pl $file_name.txt
         }
}


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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