Search the web
Sign In
New User? Sign Up
exim-users · Exim MTA
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [Exim] Authenticated smtp   Message List  
Reply | Forward Message #69805 of 85778 |
On Tue, 2004-07-27 at 07:46, Nathan Ollerenshaw wrote:
> On Jul 27, 2004, at 1:04 AM, Ron McKeating wrote:
>
> > If you want to use authenticated smtp and you want to use the plain or
> > login authenticators, what is the best way of using /etc/shadow. I
> > understand it is possible to create a group, put user exim in the group
> > and give the group rights over /etc/shadow. Are there any other better
> > ways of doing it ?
>
> If you're using a reasonably modern operating system that has pam, you
> can use it do the same thing. Exim's spec.pdf, page 111 (numbered 99 in
> the pdf), or
> http://www.exim.org/exim-html-4.40/doc/html/spec_11.html#IX936:
>
> "
> For example, the configuration of a LOGIN authenticator might contain
> this setting:
>
> server_condition = ${if pam{$1:${sg{$2}{:}{::}}}{yes}{no}}
>
> For a PLAIN authenticator you could use:
>
> server_condition = ${if pam{$2:${sg{$3}{:}{::}}}{yes}{no}}
> "
>
> I've not tried it, but generally the documentation is right :)
>
> Nathan.

I have tried this and it does not work. I am using fedora core 2 and the
latest exim. I am unclear as to how exim pam and /etc/shadow interact.
Basically is it possible to get exim to use pam to authenticate users
against the /etc/shadow file.

Ron

--
Ron McKeating
Senior IT Services Specialist
Internet Services and Software Solutions
Loughborough University
01509 222329


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details
at http://www.exim.org/ ##




Tue Jul 27, 2004 10:29 am

R.J.Mckeating@...
Send Email Send Email

Forward
Message #69805 of 85778 |
Expand Messages Author Sort by Date

... I have tried this and it does not work. I am using fedora core 2 and the latest exim. I am unclear as to how exim pam and /etc/shadow interact. Basically...
Ron McKeating
R.J.Mckeating@...
Send Email
Jul 27, 2004
10:34 am

... If Exim is not running as root, then, when using PAM, it is not able to read /etc/shadow, and so it cannot authenticate users. One work-around is to run...
Anand Buddhdev
arb@...
Send Email
Jul 27, 2004
10:57 am

... I just tested it under FC2 as a normal user. No problems using PAM here :) Nathan. -- Nathan Ollerenshaw - Unix Systems Engineer ValueCommerce -...
Nathan Ollerenshaw
nathan@...
Send Email
Jul 28, 2004
2:31 am

... How did you test it? Did you try running exim -d+expand -be to test the expansion? Using exim's debugging can really help when you're trying to figure out...
Nathan Ollerenshaw
nathan@...
Send Email
Jul 28, 2004
2:30 am

I've run tests (exim -d+expand -be) with exim both as root and as exim. (I'm running RH9 with PAM 0.75. I created a pam.d/exim file by hand modelled after the...
Phil Jordan
exim-user@...
Send Email
Jul 29, 2004
12:25 am

... I have exactly the same thing here. I have had to resort to a hacked together authentication system that first looks at a flat file for a half dozen...
Stephen Gran
steve@...
Send Email
Jul 29, 2004
1:04 am

... Sounds like something changed after RH9 to allow this. ... Personally, if it were me, I'd install yum, point the yum.conf at your nearest FC2 mirror and do...
Nathan Ollerenshaw
nathan@...
Send Email
Jul 29, 2004
2:59 am

... After input from Nathan and a few others I decided to try using it out of the box on my FC2 box. It works fine. no problems, this is my exim file in...
Ron McKeating
R.J.Mckeating@...
Send Email
Jul 29, 2004
8:26 am

Re the thread below, if I may attempt to summarise: * Many users of Exim cannot get PAM to authenticate for them if they're not running Exim as root. * Users...
Phil Jordan
exim-user@...
Send Email
Jul 30, 2004
4:06 pm

I've run tests (exim -d+expand -be) with exim both as root and as exim. (I'm running RH9 with PAM 0.75. I created a pam.d/exim file by hand modelled after the...
Phil Jordan
phil@...
Send Email
Jul 29, 2004
8:05 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help