[SunHELP] SMTP Auth using sendmail+CyrusSASL on solaris8

Charu Kamath charu.bhargava at estelcom.com
Mon Aug 9 06:58:47 CDT 2004


Hi Sebastian,

Thanks for the mail.I am appending sendmail.mc below.
Pls find the o/p as pasted below:
# /usr/lib/sendmail -d0.1 -bv root
Version 8.12.11
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MIME7TO8 MIME8TO7
                NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS
                PIPELINING SASLv2 SCANF USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = dnsblr
  (canonical domain name) $j = dnsblr.estel.net.in
         (subdomain name) $m = estel.net.in
              (node name) $k = dnsblr.estel.net.in
========================================================

hash map "Alias0": missing map file /etc/mail/aliases.db: No such file or
direct
ory
root... deliverable: mailer local, user root
#
# cat sendmail.mc
divert(-1)
#
# Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
#       All rights reserved.
# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
# Copyright (c) 1988, 1993
#       The Regents of the University of California.  All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
#
#  This is a generic configuration file for SunOS 5.x (a.k.a. Solaris 2.x
#  and Solaris 7 through the present version).
#
#  It has support for local and SMTP mail only.  If you want to
#  customize it, copy it to a name appropriate for your environment
#  and do the modifications there.
#

divert(0)dnl
VERSIONID(`$Id: generic-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro Exp
$')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
FEATURE(`relay_entire_domain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
----------------------------------------------------------------------------
----
I changed the authentication to saslauthd and ran the daemon
/usr/local/sbin/saslauthd -a shadow.
On running sendmail, I am getting the following error msgs:
Aug  9 16:51:01 dnsblr sendmail[9201]: [ID 801593 mail.alert]
i79Lp1O9009201: SYSERR(root): sasl_server_init failed! [generic failure]
Aug  9 16:52:19 dnsblr sendmail[9203]: [ID 801593 mail.crit] i79LqJl9009203:
SYSERR(root): hash map "Alias0": missing map file /etc/mail/aliases.db: No
such file or directory

Seek ur help.
Rgds Charu
-----Original Message-----
From: Sebastian Jaenicke [mailto:sj+sunhelp at jaenicke.org]
Sent: Thursday, August 05, 2004 6:16 PM
To: The SunHELP List
Subject: Re: [SunHELP] SMTP Auth using sendmail+CyrusSASL on solaris8


Hi,

On Thu, Aug 05, 2004 at 05:49:39PM +0530, Charu Kamath wrote:
[..]
> I am running sendmail-8.12.11 + Cyrus SASL -2 on Solaris-8 Now sendmail is
> working fine.
> Everything is wokring fine except, when i check for telnet localhost 25 it
> doesnt ask for SMTP Authentication.I just get this -

Please show

* Output of 'sendmail -d0.1 -bv root'
* your sendmail.mc file

> I am getting the ERROR in /var/adm/messages:
>  saslpasswd2: [ID 702911 auth.error] could not find auxprop plugin, was
> searching for [all]
>
> also my /usr/lib/sasl2/Sendmail.conf looks like this
> pwcheck_method:auxprop

Use

pwcheck_method: saslauthd

and run saslauthd.

- Sebastian
--
Sebastian Jaenicke                                   Disce aut discede!
whois pgpkey-C81115B1 -h whois.ripe.net|perl -ne's-^certif: *--&&print'
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list