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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 #69807 of 85778 |
Re: [Exim] Authenticated smtp

Ron McKeating wrote:

>> 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.

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 exim as root, but that's a very bad idea. I prefer not to use
PAM at all. There are other solutions to get SMTP authentication to work.

--

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




Tue Jul 27, 2004 10:45 am

arb@...
Send Email Send Email

Forward
Message #69807 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