procmail
[Top] [All Lists]

Re: Just thought I got a hang of it

2007-05-24 10:35:24
Argh!!!

Why do you not write NORMAL messages?


Am 2007-05-22 13:13:52, schrieb DR. Lee - NS1:
Hi,

Learning from the correspondences of the list, I thought I got a hang of
the writing simple express until:

:0
* ^Subject:.*GENERATE:\/.*[^:PASSWD]
{ LOGIN =  $MATCH }

I want to make sure that the subject line MUST have the exact format
like:

             GENERATE:kflee:PASSWD

and the LOGIN returned would be kflee. Null would be returned if it does
not match exactly.

I thought \/.*[^:PASSWD] expression means to return the right hand side
but chop off the part 
starting with :PASSWD. Obvisouly I am wrong. Can anyone suggest an
easier way other than the 
clusmy way of using gawk that I know off?

Rgds,
Kfl. HK.




 


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
------------------------- END OF REPLIED MESSAGE -------------------------


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>