Eric Sorenson wrote:
>
> On Fri, 10 Nov 2000, The Hermit Hacker wrote:
>
> > doing further investigation on this, and if I remove the sieve
> > script (a simple redirect "remote user";), the error messages goes away
> > and the message is delivered to the mailbox ...
> >
> > does that make any sense to anyone? I can't seem to find any
> > other error messages anywhere ... but may not be looking where I should
> > be?
>
> First guess is something's wrong with your path to sendmail.. try
> setting "sendmail: /path/to/sendmail" in your imapd.conf or, even easier,
> make a symlink from the real location of your sendmail binary to
> /usr/lib/sendmail and see if that fixes the problem.
Correct, either one of these should fix the problem (using the
'sendmail' config option is probably cleaner).
> BTW (Ken, you listening? :-) I ran into a problem where Sieve was
> generating empty responses to 'vacation' script triggers, which I tracked
> down to some of these routines. lmtpd was coredumping on sending
> a response because the sendmail command line built up in send_response()
> is bogus, and the result code from open_sendmail (EX_SOFTWARE, iirc)
> wasn't being handled properly..
Hmm, I'm guessing that you're not using Sendmail as your MTA. This is a
valid command line for Sendmail (at least is was the last time I
checked) which sends out a message with an empty Return-Path. This was
something that we (Larry and I) implemented in an effort to prevent mail
loops. Perhaps we should revisit this.
> fixing this exposed another problem
> where (2nd hunk in the diff below) for some reason the 'm' struct
> was null'ed out and the In-Reply-To caused a sigsegv. Yuk.
Yes, yuk. We should check for the presence of the Message-ID before
trying to use it (just fixed this in CVS). But, how is it that your
message doesn't have a Message-ID?
Thanks for bringing these issues to our attention.
Ken
--
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