Hi all,
I'm trying to setup a box with FC1 to act as MTA-only for a private network trough client authentication,
many searches with google have reference to sasl, obviously on my system I've sasl2...
The system: FC1 sendmail-8.12.10-1.1.1 cyrus-sasl-2.1.15-6 cyrus-sasl-devel-2.1.15-6 cyrus-sasl-md5-2.1.15-6 cyrus-sasl-plain-2.1.15-6
My '/usr/lib/sasl2/Sendmail.conf':
pwcheck_method:auxprop
My '/etc/mail/sendmail.mc': (only the rows related)
define(`confAUTH_OPTIONS', `A')dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
The Berkeley db sasl:
root@dexter root]# ll /etc/sasldb2
-rw-r----- 1 smmsp smmsp 12288 12 set 16:31 /etc/sasldb2 (r&w for the mail user)
with one user added trough 'saslpasswd2 -c -u dexter -a smtp neuromante':
[root@dexter root]# sasldblistusers2 neuromante@dexter: userPassword
I've also added a /usr/lib/sasl2 to '/etc/ld.so.conf' first to do a 'ldconfig'
The final test:
[root@dexter root]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 dexter.fantasia ESMTP Sendmail 8.12.10/8.12.10; Sun, 12 Sep 2004 17:36:19 +0200
ehlo localhost
250-dexter.fantasia Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-DELIVERBY
250 HELP
quit
221 2.0.0 dexter.fantasia closing connection
Connection closed by foreign host.
Trying to send e-mail with auth required (Eudora 6.1.0.6) I see in '/var/log/maillog':
Sep 12 17:39:25 dexter sendmail[6612]: i8CFdPhH006612: ruleset=check_rcpt, arg1=<destaddress>, relay=michelef [aaa.bbb.ccc.ddd], reject=550 5.7.1 <destaddress>... Relaying denied. Proper authentication required.
And in '/var/log/messages/':
Sep 12 17:39:25 dexter sendmail[6612]: no secret in database
I've been working on it for a couple of days but without a result... I'm getting out of my head...:-/
I've forgotten what? Something wrong with my conf?
Hope someone can give me suggestions...:)
Thanks in advance
-- Michele Ferritto R.L.U. #342460 MF314-ITNIC