procmail
[Top] [All Lists]

remotely add text to a file

2001-08-14 03:33:31
Hi all y'all :))

I use a few variations of the following filter to perform spam filtering.

:1
? /bin/fgrep -i -f $PMDIR/crap-b.lst
{
        # EXITCODE = 77
        :0:$PMDIR/lock
        | /usr/bin/formail -A "X-Spam: yes - bounced - permission denied" >>
$DEFAULT
}

I was wondering if there was a way (or someone has a ready solution) to
remotely add a line into the files that the filters grep?

I often go on vacation where I don't have the ability to login to my account
where I run procmail (it requires SSH), but I recieve mails on my cell
phone. I can also send mails from my cell phone so it would be great if I
could filter out an email address, or any other marker by simply sending an
email to myself with the proper contents.

Thank you,
Luka

* Luka Kladaric * mailto:lkladar+mail(_at_)komoseva(_dot_)globalnet(_dot_)hr *
* http://luka.kladaric.net * ICQ: 100757909 *
* GSM: +38598473999 * Ph: +38516551701 *
* Too many freaks, not enough circuses *

_______________________________________________
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>