Skip site navigation (1)Skip section navigation (2)
Date:      09 Jan 2000 15:25:52 +0100
From:      Simon J Mudd <sjmudd@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: help, postfix
Message-ID:  <lw901z1fv3.fsf@phoenix.ea4els.ampr.org>
In-Reply-To: root@highstability.com's message of "9 Jan 2000 13:49:11 %2B0100"
References:  <20000109061626.9CE4E24B@ns1.highstability.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lw901z1fv3.fsf>