On Sun, Jan 07, 2007 at 11:59:29PM +0000, Reuben Thomas wrote:
> >Well, it should work if esmtp runs it as one of the so-called trusted 
> >users.
> >The compiled-in default includes: root mail daemon. What does esmtp run it
> >as?
> 
> esmtp runs it as whatever user it is run as. In this case, the problem 
> occurs when I run esmtp as root.

In that case, I can't reproduce your problem.

% sudo chmod u+s =maildrop
% v =maildrop
-rwsr-sr-x 1 root mail 173104 2006-10-09 08:18 /usr/bin/maildrop*
% echo foo | sudo maildrop -V2 -d root
Password:
ERR: authdaemon: s_connect() failed: No such file or directory
maildrop: Changing to /root
Message start at 0 bytes, envelope sender=root
maildrop: Attempting .mailfilter
maildrop: Delivering to /var/mail/root

% sudo chmod u-s =maildrop
% v =maildrop                         
-rwxr-sr-x 1 root mail 173104 2006-10-09 08:18 /usr/bin/maildrop*
% echo foo | sudo maildrop -V2 -d root
ERR: authdaemon: s_connect() failed: No such file or directory
maildrop: Changing to /root
Message start at 0 bytes, envelope sender=root
maildrop: Attempting .mailfilter
maildrop: Delivering to /var/mail/root

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

> OK, so arguably esmtp is limited in this respect, but can we concentrate on 
> the apparent problem, namely that you say it should work when maildrop is 
> run as root (i.e. root is trusted) and for me this is only the case when 
> you do -d <some_normal_user> but not -d root?

The problem is that I can't reproduce this behaviour :)

-- 
     2. That which causes joy or happiness.


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

Reply via email to