bin/118837: Untagged form of sendmail access DB deprecated

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Dec 18 09:40:02 PST 2007


>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 at 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:


More information about the freebsd-bugs mailing list