From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 18 17:40:01 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8B8016A419 for ; Tue, 18 Dec 2007 17:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B18A713C4E1 for ; Tue, 18 Dec 2007 17:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBIHe1fO036562 for ; Tue, 18 Dec 2007 17:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBIHe1iQ036561; Tue, 18 Dec 2007 17:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 18 Dec 2007 17:40:01 GMT Resent-Message-Id: <200712181740.lBIHe1iQ036561@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Seaman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DD1416A417 for ; Tue, 18 Dec 2007 17:31:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C37E113C448 for ; Tue, 18 Dec 2007 17:31:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id lBIHVFrx095455 for ; Tue, 18 Dec 2007 17:31:15 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.14.2/8.14.2/Submit) id lBIHVFdR095454; Tue, 18 Dec 2007 17:31:15 GMT (envelope-from matthew) Message-Id: <200712181731.lBIHVFdR095454@happy-idiot-talk.infracaninophile.co.uk> Date: Tue, 18 Dec 2007 17:31:15 GMT From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/118837: Untagged form of sendmail access DB deprecated X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Seaman List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 17:40:02 -0000 >Number: 118837 >Category: bin >Synopsis: Untagged form of sendmail access DB deprecated >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 18 17:40:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 7.0-BETA4 i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.0-BETA4 FreeBSD 7.0-BETA4 #18: Sun Dec 16 00:24:39 GMT 2007 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: Sendmail is deprecating the untagged format for the access db. This example is extracted from /usr/share/sendmail/cf/README and gives a wider (but by no means exhaustive) example of what can be done with the access DB. >How-To-Repeat: >Fix: --- access.sample.diff begins here --- --- etc/mail/access.sample.orig 2007-12-18 17:18:05.000000000 +0000 +++ etc/mail/access.sample 2007-12-18 17:21:42.000000000 +0000 @@ -3,8 +3,14 @@ # Mail relay access control list. Default is to reject mail unless the # destination is local, or listed in /etc/mail/local-host-names # -cyberspammer.com 550 We don't accept mail from spammers -FREE.STEALTH.MAILER@ 550 We don't accept mail from spammers -another.source.of.spam REJECT -okay.cyberspammer.com OK -128.32 RELAY + +From:cyberspammer.com ERROR:"550 We don't accept mail from spammers" +From:okay.cyberspammer.com OK +Connect:sendmail.org RELAY +To:sendmail.org RELAY +Connect:128.32 RELAY +Connect:128.32.2 SKIP +Connect:IPv6:1:2:3:4:5:6:7 RELAY +Connect:suspicious.example.com QUARANTINE:Mail from suspicious host +Connect:[127.0.0.3] OK +Connect:[IPv6:1:2:3:4:5:6:7:8] OK --- access.sample.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: