When installing DSPAM with the Gentoo ebuild, then the /txt and /opt-in and /opt-out directories got installed into ${CONFDIR}. Using strace to look where the binary searches for the directories, I see that the directories must be in ${HOMEDIR}. This would mean, that the ebuild needs to be modified to this: # installs the notification messages diropts -m0775 -o dspam -g dspam dodir ${HOMEDIR}/txt keepdir ${HOMEDIR}/txt insinto ${HOMEDIR}/txt insopts -m644 -o dspam -g dspam doins ${S}/txt/*.txt # Create the opt-in / opt-out directories diropts -m0775 -o dspam -g dspam dodir ${HOMEDIR}/opt-in keepdir ${HOMEDIR}/opt-in dodir ${HOMEDIR}/opt-out keepdir ${HOMEDIR}/opt-out This is the output of strace (not full. only the relevant stuff): stat64("/var/spool/dspam/opt-in/globaluser.dspam", 0xbfc01bbc) = -1 ENOENT (No such file or directory) stat64("/var/spool/dspam/opt-out/globaluser.nodspam", 0xbfc01bbc) = -1 ENOENT (No such file or directory) open("/var/spool/dspam/txt/firstrun.txt", O_RDONLY) = -1 ENOENT (No such file or directory) cheers SteveB
New ebuild 3.6.4 is updated with fix