From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 16:40:08 2004 Return-Path: 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 CC62516A4D0 for ; Tue, 17 Feb 2004 16:40:08 -0800 (PST) Received: from smtp-2.mdc.net (smtp-2.mdc.net [209.251.64.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ACFF43D1F for ; Tue, 17 Feb 2004 16:40:08 -0800 (PST) (envelope-from matthew@netway.com) Received: from admin1.mdc.net (admin1.mdc.net [209.251.64.23]) by smtp-2.mdc.net (8.9.3/8.9.1) with ESMTP id TAA29506; Tue, 17 Feb 2004 19:40:04 -0500 (EST) (envelope-from matthew@netway.com) Date: Tue, 17 Feb 2004 19:39:56 -0500 (EST) From: matthew X-X-Sender: matthew@admin1.mdc.net To: Eric F Crist In-Reply-To: <200402171811.07471.ecrist@adtechintegrated.com> Message-ID: <20040217193739.W93562@admin1.mdc.net> References: <200402171811.07471.ecrist@adtechintegrated.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD questions List Subject: Re: Sending mail gets 'Relaying Denied' from off network. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 00:40:08 -0000 On Tue, 17 Feb 2004, Eric F Crist wrote: > Hello list, > > What is the *right* way to get rid of the relaying denied message when a user > on another network tries to send mail via my mail server, when they have an > account on the system? > On my mail machine I have sendmail.cf point to this file. relay-access.cw inside it it has entries like so: 2*1.11*.1*5.2 550 We don't accept mail from spammers 6*.167.174 RELAY 1.1.1.1 RELAY after i added my NEW entry i run this cd /etc makemap hash /etc/relay-access < relay-access.cw and i always kill -HUP pid_of_sendmail m > TIA > > -- > Eric F Crist > AdTech Integrated Systems, Inc > (612) 998-3588 >