Check here. http://www.sendmail.org/tips/relaying.html
"FEATURE(access_db). This enables the hash database /etc/mail/access to enable or disable access from individual domains (or hosts, if FEATURE(relay_hosts_only) is set). The database format is described below. " I believe this is what your looking for...I'm not an expert but that's probably a good place to start looking. Good luck, Ed -----Original Message----- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions@;FreeBSD.ORG]On Behalf Of Michael Ritchie Sent: Monday, November 04, 2002 1:54 AM To: [EMAIL PROTECTED] Subject: sendmail local user mail routing restrictions I am currently supporting a site which has it's own domain name (call it: foo.org) We have a single FreeBSD 4.6.2 server running Sendmail, Qpopper and OpenLDAP to provide our mail and directory services. Currently all users are able to send, receive (and route to the internet) mail through this server, and the server accepts mail from the internet to deliver to local users. I would like to know if it is possible to restrict certain users on the LAN from routing mail to "external" mail servers through this server, and from receiving messages from "outside" our site (but still have the functionality to send and receive messages to/from other local users)? Thanks in advance, Michael To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message