When trying out Project Gamera on CentOS 6 I found out that most of the qmail processes were running as 'root' and all file owners in /var/qmail/queue where set to 'root'. This was causing the "qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)" error, both directly via /bin/mail as well as via SMTP.
When comparing the configuration with a CentOS 5 installation I believe the file ownership should be fixed in the rpm package. If you agree that this is a fix, could you perhaps update this in your qmail rpm package? Perhaps other file ownerships/permissions in the rpm package need to be checked as well.
This makes sure the processes run under the correct user:
Code: Select all
alias /etc/qmail/owners/uida
qmaild /etc/qmail/owners/uidd
qmaill /etc/qmail/owners/uidl
qmailp /etc/qmail/owners/uidp
qmailq /etc/qmail/owners/uidq
qmailr /etc/qmail/owners/uidr
qmails /etc/qmail/owners/uids
Code: Select all
qmailq /var/qmail/queue
qmails /var/qmail/queue/bounce
qmails /var/qmail/queue/info
qmailq /var/qmail/queue/intd
qmails /var/qmail/queue/local
qmailq /var/qmail/queue/lock
qmailq /var/qmail/queue/mess
qmailq /var/qmail/queue/pid
qmails /var/qmail/queue/remote
qmailq /var/qmail/queue/todo
Pim