Re: [Exim] SMTP AUTH with PAM on Debian/Woody (howto?)

Top Page
Delete this message
Reply to this message
Author: Suresh Ramasubramanian
Date:  
To: Exim User Group
Subject: Re: [Exim] SMTP AUTH with PAM on Debian/Woody (howto?)
At 04:14 PM 3/1/2003 +0100, MaX wrote:
>Resuming:
>i know that exim most run as root, so at the moment
>(in a testing server) i have put in /etc/inet.conf:


No need - you can typically compile exim to run as mailnull:mail ...

>server1:/etc# cat /etc/inetd.conf | grep exim
>smtp    stream  tcp     nowait  root    /usr/sbin/exim  exim -bs
>server1:/etc#


Run it as a daemon - don't run it from inetd. Even if you are on a
workstation or something, don't run it from inetd ... start it as a daemon
and let it listen only on localhost and any rfc1918 interfaces you may have.

>fixed_login:
>         driver = plaintext
>         public_name = LOGIN
>         server_prompts = "Username:: : Password::"
>         server_condition = "${if pam{$1:${sg{$2}{:}{::}}}{1}{0}}"
>         # PAM Authentication
>         server_set_id = $1


Sometimes doesn't work - you need a copy of the master.passwd file or
similar in your exim directory, chowned to the user and group ids exim runs as.

         srs