From owner-freebsd-questions Fri Jan 3 19:11:20 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3477437B401 for ; Fri, 3 Jan 2003 19:11:19 -0800 (PST) Received: from east.ath.cx (catv-50622a7a.nyircatv.broadband.hu [80.98.42.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CBC143EC5 for ; Fri, 3 Jan 2003 19:11:17 -0800 (PST) (envelope-from witch@kronos.HomeUnix.com) X-Complaints-To: abuse@kronos.homeunix.com X-SMTP-Authenticated: CRAM-MD5 X-message-flag: Ditch the crappy mail client and get a real one! Received: from slave.kronos.homeunix.com (uch9tsrg32xycine@slave.kronos.homeunix.com [10.1.1.1]) (authenticated bits=0) by east.ath.cx (8.12.6/8.12.6) with ESMTP id h043BADB043892 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Sat, 4 Jan 2003 04:11:11 +0100 (CET) (envelope-from witch@slave.east.ath.cx) Received: from slave.east.ath.cx (localhost [127.0.0.1]) by slave.kronos.homeunix.com (8.12.6/8.12.6) with ESMTP id h043BAEP094036 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 4 Jan 2003 04:11:10 +0100 (CET) (envelope-from witch@slave.east.ath.cx) Received: (from witch@localhost) by slave.east.ath.cx (8.12.6/8.12.6/Submit) id h043B5mx094014; Sat, 4 Jan 2003 04:11:05 +0100 (CET) Date: Sat, 4 Jan 2003 04:11:05 +0100 (CET) From: Andrew Prewett Reply-To: Andrew Prewett To: freebsd-questions@FreeBSD.ORG Subject: Re: how can I filter on subject with sendmail 8.12.6? In-Reply-To: Message-ID: <20030104040012.Y61584@slave.east.ath.cx> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Jan 3 Fuzzy wrote: > > we're having a problem with some cracker using addresses > harvested from whois and the "abuse/www/webmaster" with > domains they get from the database. The mail appears to > come from us but it cannot as the addresses are oneway incoming > only. > > the subject is always > > "XXX templates" [...] Try with this at the end of your sendmail.mc (don't forget to rebuild the sendmail.cf file and restart sendmail) LOCAL_CONFIG C{RejectSubject} XXX templates LOCAL_RULESETS HSubject: $>CheckSubject SCheckSubject R$={RejectSubject} $#error $@ 5.1.3 $: "554 Header error" R$* $@ OK -andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message