From owner-freebsd-questions Fri Jul 7 13:54:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.telestream.com (mail.telestream.com [205.238.4.5]) by hub.freebsd.org (Postfix) with ESMTP id 5259D37BE61 for ; Fri, 7 Jul 2000 13:54:25 -0700 (PDT) (envelope-from keith@mail.telestream.com) Received: from localhost (keith@localhost) by mail.telestream.com (8.9.3/8.9.3) with ESMTP id NAA15026 for ; Fri, 7 Jul 2000 13:54:22 -0700 Date: Fri, 7 Jul 2000 13:54:22 -0700 (PDT) From: To: freebsd-questions@freebsd.org Subject: sendmail Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm wondering how one would restrict sendmail to not allow a particular domain to relay except to a specific set of domains. Scenario: FreeBSD 4.0-Stable Sendmail 8.9 Mail server current relays using these rules. FEATURE(`use_cw_file')dnl FEATURE(`virtusertable', `hash -o /etc/mail/sendmail.domains.db')dnl FEATURE(`access_db', `hash -o /etc/mail/sendmail.access.db')dnl FEATURE(`local_procmail')dnl MAILER(smtp)dnl MAILER(procmail)dnl You can see we already do restricted relays. I would like to make it so our local offices can only send mail to our other 6 offices all of which have their own domains and servers and not allow sending to anyone else. But still allow the other domains we host to still have full relaying. The age old story of the boss getting irked over too much non-work related communications going on. Keith ================================= Keith W. At the helm ================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message