[comp.mail.sendmail] Failure to create queue file

bob@acornrc.UUCP (Bob Weissman) (11/01/88)

Lately I've been getting a few of these strange messages in my syslogs
complaining (I assume) about tildes in queue file names.  (I only happened
to catch this one because I was logged in at the time and was notified
by the syslog daemon.)  It appears that mail is getting dropped on
the floor when this happens.

Oct 31 09:49:42 acornrc sendmail[28605]: NOQUEUE: SYSERR: queuename:
Cannot create "qf~Z28605" in "/usr/spool/mqueue": No such file or directory

Oct 27 06:32:05 acornrc sendmail[4254]: NOQUEUE: SYSERR: queuename:
Cannot create "qf~Z04254" in "/usr/spool/mqueue": No such file or directory

Oct 25 05:59:53 acornrc sendmail[19985]: NOQUEUE: SYSERR: queuename:
Cannot create "qf~Z19985" in "/usr/spool/mqueue": No such file or directory

/usr/spool/mqueue exists:

drwxrwxr-x  2 root     wheel        2560 Oct 31 09:49 /usr/spool/mqueue

Has anyone seen this before?  What's going on?  Is there a problem
because of the tildes?  Is this a permission problem?  If so, why does
sendmail work fine > 99% of the time?  Any advice cheerfully accepted.

Thanks,
-- 
Bob Weissman
Internet:	bob@acornrc.uucp
UUCP:		...!{ ames | decwrl | oliveb | pyramid }!acornrc!bob
Arpanet:	bob%acornrc.uucp@ames.arc.nasa.gov

steved@longs.lance.colostate.edu (steve dempsey) (11/01/88)

In article <1065@acornrc.UUCP>, bob@acornrc.UUCP (Bob Weissman) writes:

> Lately I've been getting a few of these strange messages in my syslogs
> complaining (I assume) about tildes in queue file names.  (I only happened
> to catch this one because I was logged in at the time and was notified
> by the syslog daemon.)  It appears that mail is getting dropped on
> the floor when this happens.
>
> Oct 31 09:49:42 acornrc sendmail[28605]: NOQUEUE: SYSERR: queuename:
> Cannot create "qf~Z28605" in "/usr/spool/mqueue": No such file or
    .
    .
> /usr/spool/mqueue exists:
> 
> drwxrwxr-x  2 root     wheel        2560 Oct 31 09:49 /usr/spool/mqueue
   ----^--^-    ^^^^     ^^^^^
> Has anyone seen this before?  What's going on?  Is there a problem
> because of the tildes?  Is this a permission problem?  If so, why does
> sendmail work fine > 99% of the time?  Any advice cheerfully accepted.

I've seen this happen a time or two.  The first one was when some mopping
up security-wise happened.  Somehow, /usr/spool/mqueue became unwritable
by sendmail.  Make sure /usr/lib/sendmail is owned by group wheel and is
set-group-id, or is owned by root and is set-user-id.

It seems that this error is generated when sendmail runs out of filenames
for the temporaries (/usr/spool/mqueue/?f*).  This will always happen if
the spool directory is not writable for any reason.

The other times this happened seemed completely anomalous and I never did
figure out why.  Anyone else figure this out?


> Bob Weissman
> Internet:	bob@acornrc.uucp
> UUCP:		...!{ ames | decwrl | oliveb | pyramid }!acornrc!bob
> Arpanet:	bob%acornrc.uucp@ames.arc.nasa.gov

 /\             \Steve Dempsey,  Center For   \steved@longs.LANCE.ColoState.Edu
 \/ _|/ _       _\Computer Assisted Engineering\dempsey@handel.CS.ColoState.Edu
 /\  | (_) | |_(_)\Colorado State University    \...!ncar!handel!dempsey
/_/_/(_/\_/ V   \_ \Fort Collins, CO  80523      \(303)-491-0630