[CUT from qmail-1.03-r12.ebuild] #make sure root can get some mail [ ! -d /root/.maildir ] && ${MAILDIRMAKE} /root/.maildir [ ! -e /root/.qmail ] && cp ${FILESDIR}/${PV}-${PR}/dot_qmail /root/.qmail [ -e /root/.qmail ] && chmod 644 /root/.qmail [/CUT] Earlier in the ebuild an alias is set up for root, so this is unnecessary. Besides, even if there wouldn't be an alias, the mail would bounce since mail is never delivered to the root user in qmail. Reproducible: Always Steps to Reproduce: 1. 2. 3.
fixed in CVS. sorry about that one, it was left as a remainder from before I picked up qmail and I didn't fix it yet. i've put a note into the ebuild about the old behaviour, and telling them to delete the old directory and symlink up ~alias/.maildir. For fresh installs of qmail (no /root/.maildir existing) it is created automatically.
Ok, although as a policy people shouldn't be reading mail as root. Mail for postmaster/root/mailer-daemon should be forwarded to a normal user, but since we don't know what user to forward to and people might have a habbit of using root, it's perhaps not such bad default behaviour. I think it'd nice though to put a notice that recommends people to forward it.