On Mon, 8 Jan 2007, Josip Rodin wrote:

[Note to self: always re-read what you wrote originally.]

Sorry, I've confused the issue by mis-restating it. My problem is with sending mail *to* root, not *from* root.

What exactly happens in your case? What is the exact error message?

This is the case that I was hoping should work:

$ sudo chmod u+s /usr/bin/maildrop
$ ls -l /usr/bin/maildrop
-rwsr-sr-x 1 root mail 162132 2006-10-08 23:11 /usr/bin/maildrop
$ echo foo | maildrop -V2 -d root
ERR: authdaemon: s_connect() failed: No such file or directory
maildrop: You are not a trusted user.

This case doesn't work, but there's no problem:

$ sudo chmod u-s /usr/bin/maildrop
$ ls -l /usr/bin/maildrop
-rwxr-sr-x 1 root mail 162132 2006-10-08 23:11 /usr/bin/maildrop
$ echo foo | maildrop -V2 -d root
ERR: authdaemon: s_connect() failed: No such file or directory
maildrop: Cannot set my user or group id.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to