[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
perm failure on qmail-local error
- To: qmail@xxxxxxxxxxxxx
- Subject: perm failure on qmail-local error
- From: Alex Krohn <alex@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 05 Aug 2004 14:06:10 -0700
- Delivered-to: de5-qmail@sws5.ornl.gov
- Delivered-to: mailing list qmail@list.cr.yp.to
- Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
Hi,
We ran into a problem where a misconfigured qmail-local caused mail to
be rejected. Looking at qmail-lspawn.c, there is:
if (error_temp(errno)) _exit(QLX_EXECSOFT);
_exit(QLX_EXECHARD);
If I'm reading the code right, it looks like mail will be rejected if
the permissions are wrong or linked libs are missing on qmail-local (plus
a few other rarer misconfigs). Wouldn't it be safer to just defer the
mail rather then rejecting it? This would be consistent with qmail-queue
behavior, or are there race/loop issues that warrant immediate failure
for qmail-local?
Cheers,
Alex
--
Alex Krohn <alex@xxxxxxxxxxxxxxxxxxxx>