From owner-freebsd-questions@FreeBSD.ORG Thu Oct 25 17:51:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC11D16A418 for ; Thu, 25 Oct 2007 17:51:30 +0000 (UTC) (envelope-from efrenba@yahoo.es) Received: from web25222.mail.ukl.yahoo.com (web25222.mail.ukl.yahoo.com [217.146.176.208]) by mx1.freebsd.org (Postfix) with SMTP id 95CED13C4BB for ; Thu, 25 Oct 2007 17:51:28 +0000 (UTC) (envelope-from efrenba@yahoo.es) Received: (qmail 44022 invoked by uid 60001); 25 Oct 2007 17:24:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=M2A8LQGcp3UEVIh0GzOGwf12TgYM2GDrAmgVdD8R0dXh/m8+exZen0hDT3Qm9ukic5Hf7WkKP1M9IlrYTOA+VjjixQdKxvR+PQKTfa5e91qXZ3JKuhOrIAwMCwNFBHz+tGhWDUi9b0eosHPrHkwrBqq+0HvwonwwMhlu9D6OIWU=; X-YMail-OSG: MKQbQagVM1m63J9TxwwMOOQHSLlClBsltG5IOf.8jy98_dwiQ4llXYds5EJQynHB1ZsIPIAeGp7hihNg8g8oVnAp.vSOhTI583k0OVs8t_6gYmay Received: from [200.55.168.195] by web25222.mail.ukl.yahoo.com via HTTP; Thu, 25 Oct 2007 19:24:46 CEST Date: Thu, 25 Oct 2007 19:24:46 +0200 (CEST) From: Efren Bravo To: freeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <138728.43719.qm@web25222.mail.ukl.yahoo.com> Subject: Sendmail and SMTP AUTH, I need a hand X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 17:51:30 -0000 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