I'm setting up a small cluster, and using qmail for my mail services, so
far, nothing special :)
There are, at the moment, 2 realservers in the cluster, they each have
their queue on the local disk, no problems there. The problem however, is
the Maildir delivery. I am using a shared filesystem, using OpenAFS, to
store the maildirs, so both servers can access the same maildir, and all
mail ends up in the same place. However, every time I try to send my test
user a message, I get a temporary error on maildir delivery.
I'll describe my setup below, maybe someone sees the problem right away?
I've been kicking it around for over a day now, and couldn't find any
working solution..
Some directory lists:
/var/qmail:
drwxr-xr-x 9 root qmail 4096 Aug 21 06:44 ./
drwxr-xr-x 20 root root 4096 Aug 7 11:31 ../
drwxr-sr-x 2 alias qmail 4096 Aug 6 07:10 alias/
drwxr-xr-x 2 root qmail 4096 Aug 15 08:52 bin/
drwxr-xr-x 2 root qmail 4096 Aug 6 07:10 boot/
lrwxrwxrwx 1 root qmail 42 Aug 15 10:12 control ->
/afs/.thematrix.MYDOMAIN/qmail/control/
drwxr-xr-x 2 root qmail 4096 Aug 6 07:10 doc/
drwxr-xr-x 10 root qmail 4096 Aug 6 07:10 man/
lrwxrwxrwx 1 pop3 nobody 43 Aug 21 06:44 popboxes ->
/afs/.thematrix.MYDOMAIN/qmail/popboxes/
drwxr-x--- 11 qmailq qmail 4096 Aug 6 07:10 queue/
-rwxr-xr-x 1 root root 294 Aug 15 07:31 rc*
lrwxrwxrwx 1 root qmail 40 Aug 21 06:44 users ->
/afs/.thematrix.MYDOMAIN/qmail/users/
/var/qmail/popboxes:
drwxrwx--- 3 pop3 nobody 2048 Aug 15 13:02 ./
drwxr-xr-x 5 root qmail 2048 Aug 15 10:12 ../
drwxrwx--- 5 pop3 nobody 2048 Aug 15 13:53 cluster.MYDOMAIN/
/var/qmail/popboxes/cluster.MYDOMAIN:
drwxrwx--- 5 pop3 nobody 2048 Aug 15 13:53 ./
drwxrwx--- 3 pop3 nobody 2048 Aug 15 13:02 ../
drwxrwx--- 3 pop3 nobody 2048 Aug 15 13:16 jurian/
drwxrwx--- 3 pop3 nobody 2048 Aug 15 13:02 postmaster/
/var/qmail/popboxes/cluster.MYDOMAIN/jurian:
drwxrwx--- 3 pop3 nobody 2048 Aug 15 13:16 ./
drwxrwx--- 5 pop3 nobody 2048 Aug 15 13:53 ../
drwx------ 5 pop3 nobody 2048 Aug 15 13:16 Maildir/
-rw-rw---- 1 pop3 nobody 11 Aug 15 13:16 .qmail
/var/qmail/popboxes/cluster.MYDOMAIN/jurian/Maildir:
drwx------ 5 pop3 nobody 2048 Aug 15 13:16 ./
drwxrwx--- 3 pop3 nobody 2048 Aug 15 13:16 ../
drwx------ 2 pop3 nobody 2048 Aug 15 13:16 cur/
drwx------ 2 pop3 nobody 2048 Aug 21 06:36 new/
drwx------ 2 pop3 nobody 2048 Aug 21 05:47 tmp/
/var/qmail/popboxes/cluster.MYDOMAIN/jurian/.qmail:
./Maildir/
/var/qmail/users/assign:
=cluster-combodata-nl-jurian:pop3:666:666:/var/qmail/popboxes/cluster.MYDOMAIN/jurian:::
+cluster-combodata-nl-postmaster:pop3:666:666:/var/qmail/popboxes/cluster.MYDOMAIN/postmaster:::
.
Syslogged messages:
Aug 21 05:42:33 morpheus2 qmail: 998376091.980740 status: local 0/10 remote
0/20
Aug 21 05:45:00 morpheus2 qmail: 998376238.979374 starting delivery 98: msg
30 to local [EMAIL PROTECTED]
Aug 21 05:45:00 morpheus2 qmail: 998376238.979459 status: local 1/10 remote
0/20
Aug 21 05:45:00 morpheus2 qmail: 998376238.987394 delivery 98: deferral:
Temporary_error_on_maildir_delivery._(#4.3.0)/
qmail accounts in /etc/passwd:
alias:x:110:500::/var/qmail/alias:/bin/false
qmaild:x:111:500::/var/qmail:/bin/false
qmaill:x:112:500::/var/qmail:/bin/false
qmailp:x:113:500::/var/qmail:/bin/false
qmailq:x:114:501::/var/qmail:/bin/false
qmailr:x:115:501::/var/qmail:/bin/false
qmails:x:116:501::/var/qmail:/bin/false
pop3:x:666:666::/home/pop3:/bin/bash
process list:
qmailq 582 0.0 0.0 1408 516 ? S Aug20 0:00 tcpserver -c
200 -v -u 114 -g 501 0 smtp /var/qmail/bin/qmail-smtpd
root 583 0.0 0.0 1360 476 ? S Aug20 0:00
/var/qmail/bin/splogger smtpd 3
qmails 679 0.0 0.0 1392 408 pts/0 S Aug20 0:00 qmail-send
qmaill 680 0.0 0.0 1360 476 pts/0 S Aug20 0:00 splogger qmail
root 681 0.0 0.0 1348 360 pts/0 S Aug20 0:00 qmail-lspawn
./Mailbox
qmailr 682 0.0 0.0 1348 360 pts/0 S Aug20 0:00 qmail-rspawn
qmailq 683 0.0 0.0 1340 368 pts/0 S Aug20 0:00 qmail-clean
---
First, I assumed it was a permissions problem, but after doing 'su -
qmailq', I verified qmailq can write to the maildir just fine. So, the big
question, does anyone have a clue as to why this isn't working? Doesn't
qmail like the symlinked popboxes dir perhaps? If so, any suggestions on
how to get it to use a shared maildir? I'm not (willing to) use NFS, so
that's not an option :)
if there's any information I should have included, please let me know and
I'll provide it.
Thanks,
Jurian van der Knaap
Programmeur / Sysadmin
ComboData BV
Havenstraat 43
2681 LC Monster
T: +31 (0)174 - 281531
F: +31 (0)174 - 281824
E: [EMAIL PROTECTED]
H: http://www.combodata.nl/