I'm trying to get an RPM build of Courier IMAP to run less of itself as
root. As the main courier install docs suggest:
<quote>
* Create the |courier| user and group IDs
You should create a new userid and groupid named "|courier|". That's
optional, but highly recommended. If this is not done, Courier will
install as user/group |daemon| ..<snip/>.
</quote>
It seems to me that the following should work:
rpmbuild -ta --define 'xflags --with-mailuser=courier \
--with-mailgroup=courier' courier-imap-1.4.4.tar.gz
.. given that I've already created the user "courier" in group "courier".
However a ps dump shows that:
authdaemond.plain
couriertcpd
logger
are all still running as root (I'm only running imap-ssl).
couriertls also runs as root, but at least the users imapd runs under
their uid.
According to the docs only two daemons need to run as root. This along
with no sign of anything running as "courier" makes me think it's not
paying any attention to --with-mailuser or --with-mailgroup.
Notes:
- The spec file specifies that the /usr/lib/courier-imap directory gets
set to be owned by user "bin", which it does.
- Even without the xflags being defined everything still runs as root,
not daemon as the docs suggest.
- I'm running RH7.2 (Started out with sendmail + procmail + UW-IMAP).
Should using the xflags work? Is there some other way of getting the RPM
to build using the courier user?
As a side note, how safe a bet is courier as an MTA for a production
environment. I'm currently looking at:
postfix + procmail (maybe maildrop) + courier-imap OR
exim + courier-imap
courier-mta + maildrop + courier-imap
The impression I get is that the first two are more established.
Step 1 though is get rid of UW-IMAP :o)
Carwyn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users