Hello,

I'm trying to get maildrop to work as I'd like. That is: not as root
since I'm trying to run as few as possible applications as root. But
there's a problem.

The applications that call maildrop (Exim and fetchmail) don't run as
root, and I want to prevent maildrop have suid root.

But I don't manage it to run maildrop as anything else than root (i.e.
that user that owns .mailfilter) without the following when connecting
to authlib.

The authdaemon socket dir and file are the following:
drwxrwx---   2 courier vmail 1024 2006-02-26 21:34 .
srwxrwxrwx   1 root    root     0 2006-02-26 21:34 socket

If run as root, maildrop works, but as anything else (e.g. user
Debian-exim, fetchmail or vmail) like:
-rwsr-sr-x  1 vmail vmail /usr/bin/maildrop

maildrop just says signal 0x06 and nothing more.


And yes, access to the directory isn't the problem, else the error would be:
ERR: authdaemon: s_connect() failed: Permission denied
maildrop: Temporary authentication failure.


I don't get what causes this signal error. How to connect to authlib
when not being root?

Regards,
Jürgen


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to