[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Qmail queue directory hassles.
> alert: cannot start: unable to switch to queue directory
> Connection closed by foreign host.
>
> The alert: line is from qmail...
>
Well...I don't know if you've changed anything, but in qmail 1.03, that
message is only given out by qmail-start.c:
void reread()
{
if (chdir(auto_qmail) == -1)
{
log1("alert: unable to reread controls: unable to switch to home
directory\n");
return;
}
And it is literally a "I can't change into the directory"...nothing more
fancy than that. So:
- Check permissions (how is qmail being started? And as
what user?)
- Does the queue directory exist (do "strings qmail-start"
and see if you can ascertain what it thinks is the
queue directory; auto_qmail is a variable that defaults
to /var/qmail/queue, unless you specifiy summat different
and build time)
Reading further; why are you running qmail-start from *inetd? Only
qmail-smtpd should be running from *inetd.
The permissions I have, for reference: qmail-smtpd starts as user qmaild. My
/var/qmail/queue is owned by qmailq, group qmail.
Chris...
--
Chris Johnson \ "If not for me then, do it for yourself. If not
sixie@nccnet.co.uk \ for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/ ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \______
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.