> IIRC, qmail uses Delivered-To for loop detection. Why would you want to
> remove any of the headers?
Makes sense to remove some headers, but not too many. I actually
was guessing it didn't forward any headers, which after looking at the
code, is the case for both auto_notification, but not auto_replies (at
least in 1.2, but I don't think it's changed yet in 2.x). send_reply()
is passed all the message headers, but just crafts its own minimal set.
Also while looking into this, in 1.2 it looks like there's a typo in
the header it looks for, in main.c lines 173-174:
if (mail_adr_list ("deliver-to",&users,&mimelist) != 0)
trace(TRACE_STOP,"main(): scanner found no email addresses (scanned
for Deliver-To:)");
And also in pipe.c in send_reply, line 664:
else if (strcasecmp(record->field, "deliver-to") == 0)
Those should be "delivered-to" and "Delivered-To". Maybe that would help
auto_replies a bit in 1.2?
Jn
--
Jesse Norell
[EMAIL PROTECTED] is not my email address;
change "administrator" to my first name.
--