procmail
[Top] [All Lists]

problems with MATCH

2000-06-21 08:47:31
Hi,

I have this:

:0 c :
* !^FROM_DAEMON
* !^From:(_dot_)*(_at_)special_domain
* ^TO_all_my_old_accounts
| (formail -tr -i"Subject: adress will soon expire" ; cat 
$HOME/.procmail/autoreply_texte/reply) | $SENDMAIL -oi -t

I'd like to make the Subject: line more specific, i.e. I want to have:
Subject: The Adress $ADR is going to expire

Now
* ^To[  ]*:[    ]*\/[a-zA-z0-9]+(_at_)[a-zA-Z0-9]+\(_dot_)(_dot_)*
{  ADR = "$MATCH" }
| (formail -tr -i"Subject: The Adress $ADR is going to expire" ; ...
does not work. But I can't figure out why.

Can you tell me?
jan

--
jan niggemann
JN1821-RIPE
pgp-key fingerprint: B6A8 ED32 EFEF 3F43 6F9B  510D 7A90 7FDC 462A 1ABC


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