following the installation guide, compiling the rpm for courier-imap in centos 5.2 64 bit will fail; access denied writing the rpm. this is because the directory x86_64 is not mentioned in the list of mkdir commands and thereby created by rpmbuild during compiling of courier-authlib owned by root, not writeable for compileuser. installation guide needs to be updated with: mkdir $homedir/rpm/RPMS/x86_64 quickfix: chmod for write permissions, then compile.