From owner-freebsd-questions Wed Nov 20 19:22:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD49837B401 for ; Wed, 20 Nov 2002 19:22:33 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7491043E88 for ; Wed, 20 Nov 2002 19:22:32 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gAL3MJD43166; Wed, 20 Nov 2002 21:22:19 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021120212221.0120f748@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 20 Nov 2002 21:22:21 -0600 To: craig@2400baud.com, freebsd-questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: Sendmail access.db config In-Reply-To: <1037844727.3ddc40f793c26@webmail.2400baud.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 09:12 PM 11.20.2002 -0500, craig@2400baud.com wrote: >Maybe Im barking up the wrong list.. we're setting up a new FreeBSD box at >work for sendmail and squirrelmail and thats it. We're essentially an ISP for >our customers mail. They will pop and smtp into the server and occasionally >access the squirrelmail portion to send off email. > >Ive not seen much out on google regarding how we should setup our access file >to allow only those domains that we host to relay. All the documentation >seems a bit overwhelming and it seems like there's a couple of ways to do it, >but Im not sure which is best. > >Should our access (before we makemap hash it) look something like this?: > >customerdomain1.com RELAY >customerdomain2.com RELAY >customerdomain3.org RELAY >10.0.0 RELAY > >Ill continue to search this answer out on the net. Ive never had the >experience to implement sendmail in a corporate environment so, Im a bit >anxious and I want to set it up right. > >Thanks, > >Craig > Better yet, set up a /etc/mail/relay-domains file and then add just those customers using their IPs. You can use specific IPs if they will be so or include whole groups by cutting off the octets: 200.101.107.111 <== specific 200.101.107. <== broaden group 200.101. <== broaden even more After you have the Ips loaded, restart sendmail.... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message