when you install qmail according to howto it works..but if you do : rm -rf /var/qmail && emerge -C qmail && emerge qmail there is no queue in /var/qmail created (ebuild problem ??) there should be some info for users with error 451 qq trouble with writing queue files that they should run queue-fix, as the ebuil does :) Reproducible: Sometimes Steps to Reproduce: 1. 2. 3.
Robin: Not that I completely understand, but the report sais something like "if you emerge qmail, then remove /var/qmail, then unmerge qmail and reemerge it the directory isn't created anymore" Have you seen such behaviour and, if not, any idea what the reason can be?
qmail is NOT the only program that is installed in qmail. grep your /var/db/pkg/*/*/CONTENTS for anything that installed into /var/qmail and unmerge those as well before you merge qmail again. By not removing them, you have broken the dependancies on your machine. The following should be a complete list of things that may install something into /var/qmail: sec-policy/selinux-qmail mail-mta/qmail mail-mta/mini-qmail mail-mta/qmail-mysql mail-mta/qmail-ldap mail-filter/qmail-scanner net-mail/vpopmail net-mail/qmailanalog net-mail/dot-forward net-mail/fastforward net-mail/qmailadmin net-mail/qmhandle net-mail/qmail-qfilter net-mail/qmail-vmailmgr net-mail/vqadmin net-mail/queue-fix net-mail/mailfront net-mail/autorespond net-mail/checkpw
i just gave the suggestion for the hint maybe. i unmerged qmail and all programs that merged with it. this behaviour is very hard to track (according to qmail experts on #qmail channel) and it can be caused by many things not directly connected to qmail. qmail ebuild should do queue-fix but in MY case it did not. i know it is not a bug connected to gentoo, but you could add just a hint as when browsing through google there are millions of questions connected to this qq 451 error. (it can be caused by different inode numbers, rights, perl without perlsuid, etc).
could you open a new bug with a patch to the -r16 qmail, that adds in checks for queue-fix before using it?