Re: [exim] Authenticated SMTP and PAM

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: Ron McKeating
CC: Exim-Users \(E-mail\)
Sujet: Re: [exim] Authenticated SMTP and PAM
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.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}