Sendmail and SMTP AUTH, I need a hand
Efren Bravo
efrenba at yahoo.es
Thu Oct 25 10:51:30 PDT 2007
Hi,
I tried to activate the SMTP AUTH in Sendmail
following the steps of the man page
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html).
Everythigns was ok, but...
If on the client (Outlook Express or MS Outlook)
is activated "My server requires authentication"
the SMTP AUTH occurs and the mail is sent but if
this option is disabled the mail is sent too.
These are only the new settings on freebsd.mc
--------------------------------------------
define(`SMART_HOST', `smtp.domain.com')
define(`confMAX_MESSAGE_SIZE', `6291456')dnl
define(`confAUTH_OPTIONS', `A')dnl
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5
LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5
CRAM-MD5 LOGIN')dnl
define(`confLOG_LEVEL', `14')dnl
access file:
------------
blue.domain.com RELAY
telnet to Sendmail:
-------------------
220 mail.blue.domain.com ESMTP Sendmail
8.13.8/8.13.8; Thu, 25 Oct 2007 13:00:51 -0400 (
CDT)
ehlo blue.domain.com
250-mail.blue.domain.com Hello
sistemas1.blue.domain.com [10.10.3.16], pleased
to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 6291456
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
250-DELIVERBY
250 HELP
auth login
334 VXNlcm5hbWU6
ZWZyZW5iYQ==
334 UGFzc3dvcmQ6
bWVybHV6YTIwMDU=
235 2.0.0 OK Authenticated
Username and passwd was encoded thanks to that
page:
http://makcoder.sourceforge.net/demo/base64.php
Checking sasl into Sendmail:
----------------------------
# /usr/sbin/sendmail -d0.1 -bt < /dev/null
Version 8.13.8
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS
MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2
SCANF STARTTLS TCPWRAPPERS USERDB
XDEBUG
What do I miss in Sendmail to force the clients
to use SMTP AUTH?
Thanks in advance...
____________________________________________________________________________________
Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html
More information about the freebsd-questions
mailing list