This is a discussion on Re: [courier-users] Portability within the Courier-Imap forums, part of the Mail Servers and Related category; Sam Varshavchik wrote: >> Compiling the courier rpms straight from the tarball, configure >> outputs >> --with-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Sam Varshavchik wrote: >> Compiling the courier rpms straight from the tarball, configure >> outputs >> --with-mailuser=courier --with-mailgroup=courier >> --with-mailuid=101 --with-mailgid=103 >> Is it necessary to hard-code both mailuser/mailgroup and >> mailuid/mailgid at the same time? If only mailuser/mailgroup were >> used, then the rpms compiled on one machine could be installed on >> many, even if courier's uid/gid is not the same on all machines. > No. Courier's uid and gid must be the same on the machine used for > compiling, and the machine used for running the code. Oh, well. I saw a potential problem before it even occured, so I asked. You answered, so I when I installed I paid attention to this simple detail and adjusted the gid, forgetting the uid on that very same line. For the benefit of the next idi^W overworked and tired admin, here's the log: Mar 7 06:49:51 mail01 courierd: queuelo=200, queuehi=400 Mar 7 06:49:51 mail01 courierd: Purging /var/spool/courier/msgq Mar 7 06:49:51 mail01 courierd: Purging /var/spool/courier/msgs Mar 7 06:49:51 mail01 courierd: No such file or directory Mar 7 06:49:51 mail01 courierd: ABNORMAL TERMINATION, exit status: 1 Mar 7 06:49:51 mail01 courierd: Will restart in 60 seconds If you see this, check that your courier uid/gid are the same as those that courier was compiled with before you spend hours stracing for ghosts. Duh. Z -- The best defence against logic is ignorance. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |