From owner-freebsd-questions Fri Jan 3 19:49:16 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 B4F7F37B406 for ; Fri, 3 Jan 2003 19:49:12 -0800 (PST) Received: from mail1.atl.registeredsite.com (mail1.atl.registeredsite.com [64.224.219.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6585D43EEC for ; Fri, 3 Jan 2003 19:49:11 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail1.atl.registeredsite.com (8.12.6/8.12.6) with ESMTP id h043nAGl012520 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 3 Jan 2003 22:49:10 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.6/8.11.0) id h043nAP50903 for freebsd-questions@freebsd.org; Sat, 4 Jan 2003 04:49:10 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Sat, 4 Jan 2003 03:24:59 +0100 (CET) From: Mark Message-Id: <200301040224.H042OVS35472@asarian-host.net> Date: Sat, 4 Jan 2003 03:24:52 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: Re: how can I filter on subject with sendmail 8.12.6? X-Trace: qhs4hVvszwzc9kWwTE+2DirsI2anlNAWlTwV5c8ZTLQSAc9op5oQPdk0iydBh8uY X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Fuzzy" , References: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPhZF+zFqW1BleBN9AQHFRgf/QrGn8woumd3EroRqOL6jl9+K+DHs5cQW JZqWQha0LQk63WmIaoNAETFNKDmqLRMFf6BssNvLc215ybeZhO84oud7FM4k8jJy dMgYhtUOltLdlnBsiwXlm6O04TwCAneMxLlS5n5OqO9wPxITcbBocD4IXmexDv0H 52HbvdM3Pt2EcuQGaspro74/WwSoEVbEnhbXhH/hoNknhQqvGvWr8YjVm/t3YgRF dfMGx+wZqckcDV/JvN866J75ZQipN1SjSRjHkQ5DFyRVZY/3NKurptXqjtFHPJP5 AEz7Q31Dt+DdyXdrO8AElHHTa/Jb7Rdh5R4WRnr+eNXuqzWHjfzsZA== =YbM3 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 ----- Original Message ----- From: "Fuzzy" To: Sent: Saturday, January 04, 2003 2:48 AM Subject: how can I filter on subject with sendmail 8.12.6? > 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" > > It claims its advertising for www.liquid2d.com, Hi Fuzzy, :) Since you are running sendmail 8.12.6, I strongly recommend using milter. Of course, you could also do a quick-and-dirty hack with a macro: HSubject: $>Check_Subject D{MPat}XXX templates D{MMsg}Go away, please. SCheck_Subject R${MPat} $* $#error $: 553 ${MMsg} Something like that. :) - Mark System Administrator Asarian-host.org --- "If you were supposed to understand it, we wouldn't call it code." - FedEx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message