Re: [courier-users] Portability

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-...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2005
Zenon Panoussis
 
Posts: n/a
Default Re: [courier-users] Portability


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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0