From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 08:26:41 2008 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 D3724106566B for ; Tue, 9 Sep 2008 08:26:41 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: from web52211.mail.re2.yahoo.com (web52211.mail.re2.yahoo.com [206.190.48.134]) by mx1.freebsd.org (Postfix) with SMTP id 6D4578FC15 for ; Tue, 9 Sep 2008 08:26:41 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: (qmail 142 invoked by uid 60001); 9 Sep 2008 08:26:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=s7y8vYkLuxCEHmK9nxA6WDIbk71jlG2oK4btlGx1NvehmjHfT0CbHOL2MADe7HS+GcxdLfyOecbIlVC48iqAWxZVyJF6BrtWDb2myTWcLOAz87qk4T2YEqPdtPXoMW8e7KJCNWUETdN7h/oaeElmuYddyDMBK5CerL0CM6ZreXY=; X-YMail-OSG: 7vKCpbkVM1l8vM.sNevwOPdxJPXgVBqIY.IbEW84Mz9JLXkDjOtKspaMNLpQAna6znevUzjt_smHzAqstTLRQOxsoDFqgMwm2rRAt3oZpNLCUI.wzNW2NcRbeqhTlsJaPulFUWjuTyV5Brjmvh_cE8az Received: from [202.57.64.100] by web52211.mail.re2.yahoo.com via HTTP; Tue, 09 Sep 2008 01:26:40 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 9 Sep 2008 01:26:40 -0700 (PDT) From: lyd mc To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <796649.99425.qm@web52211.mail.re2.yahoo.com> X-Mailman-Approved-At: Tue, 09 Sep 2008 11:21:13 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Sendmail check FROM: header X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alydiomc@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 08:26:41 -0000 Hi guys, How do i check valid sender before sending mail? example:=20 =A0 =A0 FROM: anonymous@mydomain.com if this 'anonymous' user is not on localhost the mail should be rejected ev= en if the user has valid login (user and password). my sendmail uses login/plain before relaying. however they can still send m= ail even the FROM: header is not their name. I don't want this to happen. Need your help guys. Thnx. alydio =0A=0A=0A