procmail
[Top] [All Lists]

AW: Dead.letter file from sendmail

2003-02-20 07:53:32
Your question, how to do just one as a test, is really a Unix question and
not a procmail one.  But the answer is simple, so I'll bother.  >There are
lots of ways.  One way would be to copy the first message in the real file
to some test filename, and use your editor to change >all the fields that go
to someone else so that they go to you, then run the "formail -s sendmail <
file" thing on it and see what happens
ow to get a sample file out of the huge archive?  One way:
sed -n '1,/^From /p' < archive > mytestmessage 
dman


Hi dman,

Sorry for the quoting stuff, I forget this from time to time.
It worked! Thanks for your help again.
now I have to find out how I can automatic the "sed command" to retrieve all
of the emails 1-XXXXX and then automatically forward
via sendmail with the "formail" command.

Tom

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