On Mon, Nov 04, 2002 at 08:56:10AM -0500, ZZ wrote:
> At first I tried using PAM, but nothing I did effected exim, then I
> noticed in my exim.conf I found some lines about setting up
> authentication but I can't quite get it working. Are there any guides on
> this? I really want to set this up using SSL since most of the email
> logins will also be shell logins, so sending those logins unencrypted
> seems like a bad idea.
I don't know about the SSL part, but I'll save you the royal pain in
the ass associated with exim and pam...
In /etc/exim/exim.conf...
In Main Configuration Settings add...
# Fix problems with auth.
exim_user=mail
exim_group=shadow
In Authentication Configuration, make it read something like...
######################################################################
# AUTHENTICATION CONFIGURATION #
######################################################################
# Look in the documentation (in package exim-doc or exim-doc-html for
# information on how to set up authenticated connections.
plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if pam{$2:$3}{1}{0}}"
server_set_id = $2
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:::Password::"
server_condition = ${if pam {$1:${sg{$2}{:}{::}}}{yes}{no}}
server_set_id = $1
# End of Exim configuration file
This took a *long* time for me to figure out, figure I'll save someone
else the trouble.
--
.''`. Baloo Ursidae <baloo@ursine.dyndns.org>
: :' : proud Debian admin and user
`. `'`
`- Debian - when you have better things to do than to fix a system