formail -s procmail ./redirect.rc < test.mailbox
where does this code go? this is a shell command?
The problem with this is that I doubt the ^TO_ regexp is going to catch
much of anything in a way that you're going to be able to directly
manipulate if you want to catch it as a MATCH to subsequently parse.
(unlike matching something within ^To: or ^Cc:, which aren't macro regexps
like ^TO_). You're not really asking for anything SPECIFIC, and MATCH
matches to EOL.
not YET. what i have has to woyk foyst.
Now, the first thing to keep in mind is that while developing/testing your
rule you should have it dump messages into a series of files (one for each
recipient), rather than forwarding them
there is a misunderstanding here.. i want my normal .forward to
MY other address to work as usual as i gradually develop the
ability to process incoming mail. maybe i goofed i want
a ^FROM clause (umm.. is that default or something) i am
not trying to blockspam right now.. though that might be
interesting..
the important thing to me is that i can understand how this thing
is working.. test it by sending messages to my self for a while..
until i put it into action..
okay here's the deal... it is about playing chess online. i have
racked up about 8000 games.. i save them all manually currently..
i want to stop this.. there is a text based format.. caled
portable game notation (*.pgn) files.. they all come like this..
so by using the unix mail automation i can catch all these
chess games (blitz.. 100's at a time).
with these files.. flat files really but in a certain format
that is recognized by chess database applications.. i can
better analyze my play.. i don't have the database at home
right now.. but i want my personal data for when i do.. also
i can use the one at the chess club.
the problem is.. chess isn't the only thing i use my
email from.. i have a UNIX account and an aol account.. sometimes
i use the aol account i just as soon have that continued to
be set up the way i had it simply while i play with my
ability to process incoming emails.
- this way, failed tests don't send
a flurry of email at someone (and someone to whom perhaps they shouldn't
have been sent!). When you figure you've got it right THEN change it to
forward. During testing, since you'll be writing to a file, you'll want to
add the ':' (lock) flag (though I think with the formail invocation, this
isn't strictly necessary, it is still proper practice).
i didn't have any plans to forward anything to anyone else.. just
myself. i don't mind spam too much.. especially when it is from
me {:}.
k
As for the domain - is it really a bunch of different ones?
no.. but it might be in the future.
like it'd be a problem, since you're not really matching against anything
specific (and if you need to match the userid and domain as separate
tokens, you'll probably need to extract them together and pass them through
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail