From owner-freebsd-questions Sun Jan 9 6:40:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.ea4els.ampr.org (54-MADR-X48.libre.retevision.es [62.82.50.54]) by hub.freebsd.org (Postfix) with ESMTP id 534901522A for ; Sun, 9 Jan 2000 06:40:13 -0800 (PST) (envelope-from sjmudd@pobox.com) Received: by phoenix.ea4els.ampr.org (Postfix, from userid 507) id 0D95D36FF; Sun, 9 Jan 2000 15:25:52 +0100 (CET) To: freebsd-questions@freebsd.org Subject: Re: help, postfix References: <20000109061626.9CE4E24B@ns1.highstability.com> From: Simon J Mudd Date: 09 Jan 2000 15:25:52 +0100 In-Reply-To: root@highstability.com's message of "9 Jan 2000 13:49:11 +0100" Message-ID: Lines: 37 X-Mailer: Gnus v5.7/Emacs 20.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG root@highstability.com (HSIS NS1 Administrator) writes: > im running postfix. i need to know how to let large ip blocks > (like a class b) relay thru my server. dont i just add bleh.bleh.* > to /usr/local/etc/postfix/relays? You don't say which version of postfix you are using, but the easiest way is probably to do the following: add a map /usr/local/etc/postfix/access and add the following lines 192.168 OK 192.169 OK Then generate the map database with postmap /usr/local/etc/postfix/access Then add to main.cf's smtpd_recipient_restrictions check_client_access dbm:/etc/postfix/access See man access(5) conf/uce.html sample_smtpd.cf main.cf (I think freebsd uses the dbm map type not the hash type) If you need more help ask on postfix-users@cloud9.net (a majordomo mailing list) Regards, Simon -- Simon J Mudd, Madrid SPAIN Tel: +34-91-408 4878 email: sjmudd@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message