Peter Hanusiak writes:

Hi,

I want to ask how to setup courier-imap service to run as non-root
user on RedHat box. I tried to change
/usr/lib/courier-imap/libexec/pop3d.rc (also ssl and imap stuff)
script to start
/usr/lib/courier-imap/libexec/couriertcpd
with additional params
-user
-group
then I saw that all imap processes are running under my user, except the
/usr/lib/courier-imap/libexec/authlib/authdaemond.mysql
they was running under root. When I tried to log in thru the imap or po3
I saw in maillog message
Nov  1 11:23:13 klifton imapd: Connection, ip=[::ffff:192.168.0.121]
Nov  1 11:23:13 klifton imapd: authdaemon: connect: Permission denied

So it was not working. Can you tell what I am doing wrong? I really
don't want to run courier-imap as a root user from certain reasons.
You also need to pretty much chown every file to be owned by the non-root user. Additionally, you cannot use any system authentication modules, and must use one of the virtual domain modules, and all your account uid/gid must be the same as the non-root uid/gid that's running the server.




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to