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