Hi,
I'd like to write a script to maintain a mailing list -- basic subscribe and unsubscribe to start with.
If I capture the variables from the subject line:
1) subscribe
2) unsibscribe
and the reply to header, how do I pass those variables to a php script.
Procmail filter would look something like:
:0:
To.majordomo
Subject.(subscribe|unsubscribe)
REPLYTO_=formail -cXReply-To: | head -1 | formail -rtzxTo:
{
:0 c
| webmaster@mydomain.com
:0
| /home/username/public_html/mailing_list.php
}