Re: [exim] simple smtp auth via /etc/passwd..

Pàgina inicial
Delete this message
Reply to this message
Autor: Wayne Tucker
Data:  
A: exim-users
CC: Brian
Assumpte: Re: [exim] simple smtp auth via /etc/passwd..
Brian wrote:
> I found this in the archives.. and it seems to work for what I'm looking
> for atm..
>
> http://www.exim.org/pipermail/exim-users/Week-of-Mon-20011105/031982.html
>
> Yet when I try and use swaks to test.. I get this in the logs..
>
> 2006-07-24 22:50:49 plain authenticator failed for
> cpe-124-161-112-193.nyc.res.rr.com (milenko.at.home) [124.161.112.193]:
> 435 Unable to authenticate at present (set_id=bcook): failed to open
> /etc/master.passwd for linear search: Permission denied (euid=26 egid=6)
> inside "and{...}" condition


The problem is that Exim can't read the master.passwd file. The
quick-and-dirty (but not completely filthy) fix is to add the exim user
to the group that owns the master.passwd file (and restart exim). Off
the top of my head, I don't remember what that group would be on BSD.
Hopefully it's not wheel...


> I could use a file for auth.. but is this still possible?


Depending on your needs, a separate file may be preferrable. I always
prefer to use a different password for my e-mail than I do for system
logins.


> Using the stock configure.. I am not sure this can be overcome.. as
> no_deliver_drop_privilege is already (default)


I've never used that particular knob, but I don't think it's applicable
here since it isn't at the delivery stage.

- Wayne