On Thu, Jan 23, 2003 at 11:32:50PM -0800, Harmohan Bhamra wrote:
> I am trying to setup exim, to send and receive for a single tld domain on
> debian woody.
> 
> I want users to authenticate to /etc/shadow  over ssl if possible.
> 
> The users are using Outlook or Outlook express or squirrelmail (web based
> mail)

> Does someone have any instructions on how to get exim or exim-tls running
> with authentication. (so that users have to login/authenticate before they
> can send email).

I use exim.  Here's the parts you're probably looking for, I've left
some of the comments in as a frame of reference as to where to put things.

######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################

# Fix problems with auth.

exim_user=mail
exim_group=shadow

# This setting allows anyone who has authenticated to use your host as a
# mail relay. To use this you will need to set up some authenticators at
# the end of the file

host_auth_accept_relay = *

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


-- 
 .''`.     Baloo <[EMAIL PROTECTED]>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system

Attachment: msg25885/pgp00000.pgp
Description: PGP signature

Reply via email to