procmail
[Top] [All Lists]

auto subscription works but

1996-05-10 14:00:48
Ok.. thanks to Guy, I've been able to filter out the email addresss...
here's the working recipe....

:0
* ^Subject: coc subscribe*
* !^X-Loop: ginof(_at_)io(_dot_)org
* !^Subject:.*Re:
* !^FROM_DAEMON
{
   :0hwc
   * ^Subject: coc subscribe \/.*$
   FROM_ADDRESS=| formail -rxTo:
   NAME="$MATCH"
   :0fib
   | echo "ADD coc-ezine cronosmantas$FROM_ADDRESS $NAME"
   :0ab
   ! listproc(_at_)lists(_dot_)colorado(_dot_)edu
}

Now, everything is cool with that, except that i want to limit $NAME to
not more than 25 characters in total, and if $NAME (and hence $MATCH) is
blank, that $NAME = $FROM_ADDRESS

iS THAT possible??


<Prev in Thread] Current Thread [Next in Thread>
  • auto subscription works but, Gino Filicetti <=