Re: Sendmail + LMTP AUTH

2003-01-28 Thread Ken Murchison


Scott Adkins wrote:
 
 Okay, I must be clueless here... I have looked through the docs, looked
 through the archives, done google searches, etc.  I just plain don't
 understand how to configure sendmail to do LMTP authentication correctly.

What version of Sendmail?  The config varies slightly between 8.10/11
and 8.12.

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: Sendmail + LMTP AUTH

2003-01-28 Thread Ken Murchison


Scott Adkins wrote:
 
 Ah, sorry... version 8.12.5.  I did not use the new cyrusv2.m4 file used
 in the mailer directory.

You don't need to, but it looks cleaner:

# mailers
define(`confLOCAL_MAILER', `cyrusv2')dnl
define(`CYRUSV2_MAILER_ARGS', `TCP localhost lmtp')dnl
MAILER(`cyrusv2')dnl
MAILER(`smtp')dnl


Anyway, to do LMTP AUTH, you need to setup Sendmail to have client auth
info.  You can do this either via the access database or the authinfo
database.  I do this in the access database because I already have it
setup for SMTP AUTH relaying.

In sendmail.mc:

FEATURE(`access_db')dnl


In /etc/mail/access:

# client AUTH
AuthInfo:address   I:user P:password

where address can be a hostname, domain name, IPv4 or IPv6, user is
an admin or lmtp_admin (I use 'cyrus') and password is the admins's
password.  If you don't want to have the plaintext password in this
file, then you can use a BASE64-encoded version by specifying
P=base64.  You can also list the mechanisms to try with the optional
M: mech mech...

Once you have this setup, remember to remake your sendmail.cf and to run
makemap on your access database.

If you want to use the authinfo database instead, then use
FEATURE(authinfo) and /etc/mail/authinfo.  The format of the line(s) in
the authinfo database are the same.

I _believe_ that all of this stuff is in the Sendmail docs, but the
latest bat book (3rd ed.) has AUTH and STARTTLS documented.


 --On Tuesday, January 28, 2003 10:06 AM -0500 Ken Murchison
 [EMAIL PROTECTED] wrote:
 
  Scott Adkins wrote:
 
  Okay, I must be clueless here... I have looked through the docs, looked
  through the archives, done google searches, etc.  I just plain don't
  understand how to configure sendmail to do LMTP authentication correctly.
 
  What version of Sendmail?  The config varies slightly between 8.10/11
  and 8.12.
 
  --
  Kenneth Murchison Oceana Matrix Ltd.
  Software Engineer 21 Princeton Place
  716-662-8973 x26  Orchard Park, NY 14127
  --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
 
 --
  +---+
   Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
 ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
  +---+
  PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/
 
   
 
Part 1.2Type: application/pgp-signature
Encoding: 7bit

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp