Eric Sorenson wrote:
>
> Do you have a corefile in the deliverdb directory? Run 'gdb -c' over
> it and if so and paste the results of a 'bt' backtrace. I'm betting
> it's either the In-Reply-To header or the EX_USAGE error from sendmail
> due to the commandline being wrong.
Here's a patch to the latest release version of lmtpd.c which fixes the
In-Reply-To header problem (or grab the latest via CVS). This is most
likely your problem.
I finally realized that Larry nested the message_data_t inside another
structure in the move to 2.x. All other instances of this were changed
except for the one in send_response(). The usage error is only an issue
if you are not using the *real* sendmail -- I haven't addressed this
issue yet.
***************
*** 806,812 ****
time_t t;
pid_t sm_pid, p;
sieve_send_response_context_t *src =
(sieve_send_response_context_t *) ac;
! message_data_t *m = (message_data_t *) mc;
script_data_t *sdata = (script_data_t *) sc;
smbuf[0] = "sendmail";
--- 806,812 ----
time_t t;
pid_t sm_pid, p;
sieve_send_response_context_t *src =
(sieve_send_response_context_t *) ac;
! message_data_t *md = ((mydata_t *) mc)->m;
script_data_t *sdata = (script_data_t *) sc;
smbuf[0] = "sendmail";
***************
*** 852,858 ****
break;
}
fprintf(sm, "Subject: %s\r\n", src->subj);
! fprintf(sm, "In-Reply-To: %s\r\n", m->id);
fprintf(sm, "Auto-Submitted: auto-replied (vacation)\r\n");
if (src->mime) {
fprintf(sm, "MIME-Version: 1.0\r\n");
--- 852,858 ----
break;
}
fprintf(sm, "Subject: %s\r\n", src->subj);
! fprintf(sm, "In-Reply-To: %s\r\n", md->id);
fprintf(sm, "Auto-Submitted: auto-replied (vacation)\r\n");
if (src->mime) {
fprintf(sm, "MIME-Version: 1.0\r\n");
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp