From owner-freebsd-questions@FreeBSD.ORG Wed Jul 29 09:51:10 2009 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 14A74106564A for ; Wed, 29 Jul 2009 09:51:10 +0000 (UTC) (envelope-from reedlai@hotmail.com) Received: from snt0-omc4-s15.snt0.hotmail.com (snt0-omc4-s15.snt0.hotmail.com [65.55.90.218]) by mx1.freebsd.org (Postfix) with ESMTP id DAE348FC19 for ; Wed, 29 Jul 2009 09:51:09 +0000 (UTC) (envelope-from reedlai@hotmail.com) Received: from SNT121-DS22 ([65.55.90.199]) by snt0-omc4-s15.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 29 Jul 2009 02:37:22 -0700 X-Originating-IP: [59.125.83.147] X-Originating-Email: [reedlai@hotmail.com] Message-ID: From: "Reed Lai" To: Date: Wed, 29 Jul 2009 17:37:03 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8064.206 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8064.206 X-OriginalArrivalTime: 29 Jul 2009 09:37:22.0332 (UTC) FILETIME=[2C6D5DC0:01CA1030] Subject: SMTP Authentication 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: Wed, 29 Jul 2009 09:51:10 -0000 Hi, I have two freebsd mail servers both configured SMTP authentication: FreeBSD Handbook 28.10 SMTP Authenticatin http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html SMTP AUTO in sendmail 8.10-8.13 http://www.sendmail.org/~ca/email/auth.html One is functional, and the other one doesn't seem to work. Compare the maillogs of the two servers, there is an AUTH=server message appear in the functional server, but the other one has not. The maillog of functional server ====================== Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-....net [59...147], authid=a660407, mech=LOGIN, bits=0 Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=, size=1430, class=0, nrcpts=1, msgid=<40F9CC65E8874D128639A39C1EEBD410@ReedXP>, proto=ESMTP, daemon=IPv4, relay=59-...net [59...147] The other one ========= Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt, arg1=, relay=59-...-147.HINET-IP.hinet.net [59...147], reject=550 5.7.1 ... Relaying denied Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=59-...-147.HINET-IP.hinet.net [59...147] It seems the other one's smtp authentication is not trigged. Please help or tip me for something I forget. Thank you! Reed