I'am getting crazy to find the reason why my qmail refuses to start.

Note that just yesterday it worked perfectly!

I get this error:
Apr  3 17:25:31 linux qmail: 986311531.554850 alert: cannot start: unable to
read controls

and I suspect to have changed something about files permissions into /var/qmail
that actually is structured as follow:

[root@linux qmail]# ls -la
totale 64
drwxr-xr-x   10 root     qmail        4096 feb  2 19:22 .
drwxr-xr-x   20 root     root         4096 mar 22 00:26 ..
-rw-r--r--    1 qmails   qmail          24 feb  2 19:07 .bash_logout
-rw-r--r--    1 qmails   qmail         230 feb  2 19:07 .bash_profile
-rw-r--r--    1 qmails   qmail         124 feb  2 19:07 .bashrc
-rwxr-xr-x    1 qmails   qmail         333 feb  2 19:07 .emacs
-rw-r--r--    1 qmails   qmail        3394 feb  2 19:07 .screenrc
drwxr-sr-x    2 alias    qmail        4096 apr  3 06:06 alias
drwxr-xr-x    2 root     qmail        4096 feb  2 19:14 bin
drwxr-xr-x    2 root     qmail        4096 feb  2 19:14 boot
drwxr-xr-x    2 root     qmail        4096 mar 28 05:41 control
drwxr-xr-x    2 root     qmail        4096 feb  2 19:14 doc
drwxr-xr-x   10 root     qmail        4096 feb  2 19:14 man
drwxr-x---   11 qmailq   qmail        4096 feb  2 19:14 queue
-rwxr-xr-x    1 root     qmail         204 feb  2 19:22 rc
drwxr-xr-x    2 root     qmail        4096 feb  2 19:14 users

While alias as follow:
[root@linux alias]# ls -la
totale 56
drwxr-sr-x    2 alias    qmail        4096 apr  3 06:06 .
drwxr-xr-x   10 root     qmail        4096 feb  2 19:22 ..
-rw-r--r--    1 root     nofiles        24 feb  2 19:07 .bash_logout
-rw-r--r--    1 root     nofiles       230 feb  2 19:07 .bash_profile
-rw-r--r--    1 root     nofiles       124 feb  2 19:07 .bashrc
-rwxr-xr-x    1 root     nofiles       333 feb  2 19:07 .emacs
-rw-r--r--    1 root     qmail           0 apr  3 07:35 .qmail-mailer-daemon
-rw-r--r--    1 root     qmail           0 apr  3 07:35 .qmail-postmaster
-rw-r--r--    1 root     qmail           0 apr  3 07:35 .qmail-root
-rw-r--r--    1 root     nofiles      3394 feb  2 19:07 .screenrc
-rwxr-xr-x    1 root     qmail       28296 mar 28 06:20 Mailbox

And at last control contains:
[root@linux control]# ls -la
totale 44
drwxr-xr-x    2 root     qmail        4096 mar 28 05:41 .
drwxr-xr-x   10 root     qmail        4096 feb  2 19:22 ..
-rw-r--r--    1 root     qmail          14 mar 28 06:49 badmailfrom
-rw-r--r--    1 root     qmail           0 mar 28 05:41 databytes
-rw-r--r--    1 root     qmail           9 apr  3 06:33 defaultdelivery
-rw-r--r--    1 root     qmail          16 apr  3 07:22 defaultdomain
-rw-r--r--    1 root     qmail          21 mar 28 05:41 defaulthost
-rw-r--r--    1 root     qmail          44 apr  3 07:22 locals
-rw-r--r--    1 root     qmail          22 apr  3 07:22 me
-rw-r--r--    1 root     qmail           9 apr  3 07:22 plusdomain
-rw-r--r--    1 root     qmail         530 apr  3 07:22 rcpthosts
-rw-r--r--    1 root     qmail          30 feb  2 20:53 smtproutes
-rw-------    1 root     qmail           0 apr  3 03:14 virtualdomains

Using ./qmail-showctl,I get:

[ik5bcu@linux bin]$ ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 501, 502, 503, 0, 504, 505, 506, 507.
group ids: 501, 502.

badmailfrom: 
unknown not accepted in MAIL FROM.
nobody not accepted in MAIL FROM.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is linux.ik5bcu.ampr.org.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is ik5bcu.ampr.org.

defaulthost: Default host name is linux.ik5bcu.ampr.org.

doublebouncehost: (Default.) 2B recipient host: linux.ik5bcu.ampr.org.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is linux.ik5bcu.ampr.org.

helohost: (Default.) SMTP client HELO host name is linux.ik5bcu.ampr.org.

idhost: (Default.) Message-ID host name is linux.ik5bcu.ampr.org.

localiphost: (Default.) Local IP address becomes linux.ik5bcu.ampr.org.

locals: 
Messages for linux.ik5bcu.ampr.org are delivered locally.
Messages for linux.ik5bcu.ampr.org are delivered locally.

me: My name is linux.ik5bcu.ampr.org.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is ampr.org.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: 

SMTP clients may send messages to recipients at linux.ik5bcu.ampr.org.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 linux.ik5bcu.ampr.org.

smtproutes: 
SMTP route: ik5bcu.ampr.org:44.134.210.32

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: Oops! Trouble reading this file.

defaultdelivery: I have no idea what this file does.


-- 
Regards,: Marco Calistri <[EMAIL PROTECTED]>
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 6.2

Reply via email to