[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

perm failure on qmail-local error



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>