Re: [exim] Authenticated SMTP and PAM

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ron McKeating
Ημερομηνία:  
Προς: Tony Finch
Υ/ο: Exim-Users \(E-mail\)
Αντικείμενο: Re: [exim] Authenticated SMTP and PAM
On Wed, 2004-12-15 at 14:02, Tony Finch wrote:
> On Wed, 15 Dec 2004, Ron McKeating wrote:
>
> > Hi has anybody written a howto on using authenticated SMTP with pam.
>
> http://www.exim.org/pipermail/exim-users/Week-of-Mon-20040531/072441.html
>
> : It is rather difficult to install Debian 3.0 without PAM. ;-) But no,
> : you do not need PAM for exim's SMTP AUTH. exim can fetch passwords and
> : usernames from plain-text files, SQL databases, sasauth or even PAM,
> : however using PAM to authenticate against local users will not work with
> : pam_unix, because exim does not run PAM as root. You would have to use
> : one of these solutions to sidestep this issue:
> :
> : * Use pam_exim. (no Debian package)
> : * Use saslauthd. (not possible on Debian woody)
> : * Use a simple cronjob to copy /etc/shadow to a file readable by exim
> :
> : */10 * * * * chown root:mail /etc/exim4/passwd && chmod 0640 /etc/exim4/passwd && egrep -v '^root|^[^:]*:.:' /etc/shadow | cut -f1-2 -d: > /etc/exim4/passwd
> :
> : and use an lsearch lookup on this file.
>


Seem there are lots of ways to skin a cat. OK there are lots of email
service managers on this list, is there a recommended way of doing
authenticated SMTP. Exim is I think we will agree far and away the best
MTA surely in this modern world of spammers and fear of open relays,
there is a recommended way of setting it up.

Ron

> Tony.

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