I am helping a few people debug their sendmail configs. They are
trying to make sure all their headers are in the right order, etc.
I would like to be able to setup a thing where they could send me a
message with a certain subject and get an automated response -- but
the response would/should include all the headers from their
original message (so they can check out their 'From ' lines, etc.)
[ Note: they are using 'Reply-To' lines so there will be a valid
address available for the autoresponder....]
I was thinking it would be something like this:
:0fb
* ! ^X-Loop: luomat(_at_)peak(_dot_)org
* ^Subject:[ ]SendAReply
|(formail -rt -I"From: TjL AutoReplier <luomat(_at_)peak(_dot_)org>" \
-I"Precedence: junk" \
-I"X-Loop: luomat(_at_)peak(_dot_)org" )|$SENDMAIL -oi -t
but that and various other things I tried resulted in nothing close
to what I was looking for.
I searched back messages but nothing about sending back the headers
(sending back the body is most common, but I wasn't able to hack
that into working for the headers either).
Thanks
TjL