From m.seaman@infracaninophile.co.uk  Tue Dec 18 17:31:21 2007
Return-Path: <m.seaman@infracaninophile.co.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9DD1416A417
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <m.seaman@infracaninophile.co.uk>
Reply-To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Untagged form of sendmail access DB deprecated
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         118837
>Category:       bin
>Synopsis:       [patch] untagged form of sendmail access DB deprecated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 18 17:40:01 UTC 2007
>Closed-Date:    Sun Feb 24 01:00:59 UTC 2008
>Last-Modified:  Sun Feb 24 01:10:01 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Dec 21 07:21:31 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer for review. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118837 
State-Changed-From-To: open->patched 
State-Changed-By: gshapiro 
State-Changed-When: Sun Feb 17 05:23:06 UTC 2008 
State-Changed-Why:  
Thanks for the suggestion.  I've made the changes on the HEAD and will 
MFC in a week. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=118837 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118837: commit references a PR
Date: Sun, 17 Feb 2008 05:22:17 +0000 (UTC)

 gshapiro    2008-02-17 05:22:09 UTC
 
   FreeBSD src repository
 
   Modified files:
     etc/mail             access.sample 
   Log:
   Use better examples (and comment them out for safety).
   
   PR:             118837
   Submitted by:   Matthew Seaman
   MFC after:      1 week
   
   Revision  Changes    Path
   1.4       +13 -6     src/etc/mail/access.sample
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118837: commit references a PR
Date: Sun, 24 Feb 2008 00:58:10 +0000 (UTC)

 gshapiro    2008-02-24 00:58:04 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     etc/mail             access.sample 
   Log:
   MFC: Use better examples (and comment them out for safety).
   
        PR:             118837
        Submitted by:   Matthew Seaman
   
        Revision  Changes    Path
        1.4       +13 -6     src/etc/mail/access.sample
   
   Revision  Changes    Path
   1.3.24.1  +13 -6     src/etc/mail/access.sample
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118837: commit references a PR
Date: Sun, 24 Feb 2008 00:59:30 +0000 (UTC)

 gshapiro    2008-02-24 00:59:25 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     etc/mail             access.sample 
   Log:
   MFC: Use better examples (and comment them out for safety).
   
        PR:             118837
        Submitted by:   Matthew Seaman
   
        Revision  Changes    Path
        1.4       +13 -6     src/etc/mail/access.sample
   
   Revision  Changes    Path
   1.3.14.1  +13 -6     src/etc/mail/access.sample
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118837: commit references a PR
Date: Sun, 24 Feb 2008 00:59:53 +0000 (UTC)

 gshapiro    2008-02-24 00:59:48 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_5)
     etc/mail             access.sample 
   Log:
   MFC: Use better examples (and comment them out for safety).
   
        PR:             118837
        Submitted by:   Matthew Seaman
   
        Revision  Changes    Path
        1.4       +13 -6     src/etc/mail/access.sample
   
   Revision  Changes    Path
   1.3.8.1   +13 -6     src/etc/mail/access.sample
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gshapiro 
State-Changed-When: Sun Feb 24 01:00:23 UTC 2008 
State-Changed-Why:  
Changes MFC'ed to RELENG_{7,6,5,4}. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118837 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118837: commit references a PR
Date: Sun, 24 Feb 2008 01:00:12 +0000 (UTC)

 gshapiro    2008-02-24 01:00:07 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_4)
     etc/mail             access.sample 
   Log:
   MFC: Use better examples (and comment them out for safety).
   
        PR:             118837
        Submitted by:   Matthew Seaman
   
        Revision  Changes    Path
        1.4       +13 -6     src/etc/mail/access.sample
   
   Revision  Changes    Path
   1.1.2.3   +13 -6     src/etc/mail/access.sample
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
