I emerged qmail a few days ago cause I got tired of postfix and wanted to give qmail a try. I did the ebuild, I linked everything, and all works fine except that it didn't make the queue directory. The qmail-send gives "unable to switch to queue directory", and when I emerged, right before the whole ebuild line it gave me: * Setting up the message queue hierarchy ... /usr/sbin/ebuild.sh: line 354: /var/qmail/bin/queue-fix: No such file or directory Reproducible: Always Steps to Reproduce: 1.emerge -v qmail 2. 3. Actual Results: * Setting up the message queue hierarchy ... /usr/sbin/ebuild.sh: line 354: /var/qmail/bin/queue-fix: No such file or directory * Previously the qmail ebuilds created /root/.maildir/ but not * mail was every delivered there. If the directory does not * contain any mail, please delete it and run: * ln -sf /var/qmail/alias/.maildir/ //root/.maildir >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... [ ok ] * To setup qmail to run out-of-the-box on your system, run: * ebuild /var/db/pkg/net-mail/qmail-1.03-r13/qmail-1.03-r13.ebuild config casper@camelot:[/var]$ ls -l qmail total 12 drwxr-xr-x 3 alias qmail 90 Jan 17 15:00 alias drwxr-xr-x 2 root qmail 4096 Jan 17 15:00 bin drwxr-xr-x 2 root qmail 137 Jan 17 15:00 boot drwxr-xr-x 2 root qmail 4096 Jan 17 15:04 control -rwxr-xr-x 1 root root 117 Jan 17 15:00 rc drwxr-xr-x 7 root root 95 Jan 17 15:00 supervise drwxr-xr-x 2 root qmail 18 Jan 17 15:00 users Expected Results: /var/qmail/queue should be created created cat /var/log/qmail/qmail-send: unable to switch to queue directory If I manually create the queue directory: cannot start: unable to open mutex
that is very strange. net-mail/queue-fix is in the DEPEND for qmail and provides /var/qmail/bin/queue-fix. How did you install qmail that it didn't do the DEPENDs ? the queue directory has a very complex structure so creating it manually is non-trivial.
emerge -pv qmail thats all I did and i did it a few times, just to make sure it wasn't me was i supposed to do anything else?
casper@camelot:[~]$ emerge -pv queue-fix These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-mail/queue-fix-1.4-r2 apparently i have that emerged
i emerge -vC queue-fix and re-emerged and it works fine now. thanks for the tip
argh, i was hoping to trace why it wasn't there properly. too late now.
closing again