At 10:50 2000-09-15 -0700, Widodo Krisman wrote:
I added $ and it works. But it won't read from multiple line that I got in
myaddress.
* $ ^TO`cat /etc/myaddress.txt`
What a surprise. I recall saying that IT WOULD NOT WORK because these
addresses are not a regexp. Could you please re-read my post and verify
that for me?
If you say match ^TOA B C, procmail is, not surprisingly, going to expect
to see "A B C" on the line. Not A or B or C, but A B C - not in any order,
but exactly that order, and exactly with the separators you're using
(spaces, newlines(?), tabs, commas, whatever). Thus the need to format the
myaddress.txt contents as a regexp, of which I am sure I gave an example,
again please re-read my post and verify that for me, would you?
Actually, this is just my beginning testing as I'm new to procmail. What
I'm trying to accomplish is to only allow mail FROM certain my domain to be
able to send to my "myaddress.txt" global lists (kind of for internal list
only without getting spam or mail from outsiders). So if the mail is sent
I hope nobody spoofs your mailserver, since this is a popular way for
spammers to get past people's defences...
[big snip]
---
Please DO NOT carbon me on list replies. I'll get my copy from the list.
Sean B. Straw / Professional Software Engineering
Post Box 2395 / San Rafael, CA 94912-2395
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail