Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 12:33:03 -0600
From:      Derek Ragona <derek@computinginnovations.com>
To:        bsd-questions@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Sendmail and smtp-auth against passwd
Message-ID:  <6.0.0.22.2.20061127123146.023e3798@mail.computinginnovations.com>
In-Reply-To: <20061127032030.GH8339@server.idefix.loc>
References:  <20061127032030.GH8339@server.idefix.loc>

next in thread | previous in thread | raw e-mail | index | archive | help
That is an issue with the sasl configuration.  sasl can be configured to 
read passwords from different locations, including a database.  You may 
need to reconfigure sasl or even rebuild it.

         -Derek


At 09:20 PM 11/26/2006, Matthias Fechner wrote:
>Hi,
>
>i tried to get smtp-auth against the pass working but it is not
>work. I must add users with saslpasswd2 to the sasldb but I want to
>auth my smtp users with there "normal" password without the need to
>add them to an additional db.
>
>What I did is:
>Installed sasl2authd from the ports.
>
>/etc/make.conf:
># Add SMTP AUTH support to Sendmail
>SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
>SENDMAIL_LDFLAGS+=  -L/usr/local/lib
>SENDMAIL_LDADD+=    -lsasl2
># Enable smtps for sendmail
>SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
>SENDMAIL_MILTER_IN_BASE=yes
>And recompiled sendmail in base.
>
>Edit /usr/local/lib/sasl2/Sendmail.conf:
>pwcheck_method: saslauthd
>
>Enabled saslauth in rc.conf and start it:
>saslauthd_enable="yes"
>saslauthd_flags="-a getpwent"
>
>Edited my .mc file:
>dnl Enable smpt-auth
>FEATURE(authinfo')
>define(confDONT_BLAME_SENDMAIL',GroupReadableSASLDBFile')dnl
>define(confAUTH_MECHANISMS',LOGIN GSSAPI DIGEST-MD5 CRAM-MD5')dnl
>define(confRUN_AS_USER',root:mail')dnl
>
>But it seems to me that sendmail isn't using saslauth instead it uses
>directly the sasldb so all thinks I configured in sasl2authd is useless.
>
>Has someone smtp-auth with sendmail against passwd running?
>
>Best regards,
>Matthias
>
>--
>
>"Programming today is a race between software engineers striving to
>build bigger and better idiot-proof programs, and the universe trying to
>produce bigger and better idiots. So far, the universe is winning." --
>Rich Cook
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20061127123146.023e3798>