Hi all,

I've managed to break qmail-send, and for the life of me, I can't work out a 
rhyme or reason. I know why at a superficial level it's broken, but not 
**why** the damn thing suddenly decided to be unhappy now.

I'm using qmail 1.03, vpopmail 4.9.8, rh7.1, daemontools 0.70.

Has been working fine until this evening, when I restarted the services 
after making changes to the run files ( to add a fix for wrong timestamps - 
adding TZ=CST6CDT to the env statement).

Tried sending an email, and it didn't work. No errors - just didn't work. 
Had a little bit of a dig, and discovered that the server was saying:

env: "./Maildir/: No such file or directory"

which had me a little perplexed.

I eventually worked out that the service starting it wants a Maildir 
directory in /service/qmail-send/ , but then returns an error:

env: "./Maildir/: Permission denied"

The service is started with:

exec /var/qmail/rc

which in turn is:

#!/bin/sh

# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by 
default
exec env - PATH="/var/qmail/bin:$PATH"\
qmail-start "`cat /var/qmail/control/defaultdelivery`"

I played with giving qmailx (where x is vpopmail, l,r,s etc) permission to 
read/write/destroy the Maildir in question, to no avail.

Have tried running the rc file, and the qmail-start command by hand without 
joy.

So here is my conundrum:

I don't need a default delivery because I'm using vpopmail, yet I can't 
start qmail-send without it. The Maildir in question doesn't exist, and when 
I create it doesn't appear to satiate the beast.

Obviously I've changed something else between when qmail-send was last 
started and now (umm... how many months?) so I have absolutely no idea what 
has changed.

user directories don't have Maildirs in them. Vpopmail users do, in 
~vpopmail/domains/<user>/Maildir

Help!

A very tired, confused and cranky Chris.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to