From owner-freebsd-security Tue Jan 22 9:49:27 2002 Delivered-To: freebsd-security@freebsd.org Received: from hotmail.com (oe52.law12.hotmail.com [64.4.18.41]) by hub.freebsd.org (Postfix) with ESMTP id EE1A637B402 for ; Tue, 22 Jan 2002 09:49:22 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 22 Jan 2002 09:49:22 -0800 X-Originating-IP: [24.20.227.61] From: "Lawrence Sica" To: "Asep Ruspeni" , References: <20020122101115.P25912-100000@camelia.dnt.ro> <002701c1a328$9aac7fa0$2e020a0a@mti.itb.ac.id> Subject: Re: relaying mail from DHCP clients Date: Tue, 22 Jan 2002 09:50:06 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 22 Jan 2002 17:49:22.0876 (UTC) FILETIME=[201F27C0:01C1A36D] Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----- Original Message ----- From: "Asep Ruspeni" To: Sent: Tuesday, January 22, 2002 1:38 AM Subject: Re: relaying mail from DHCP clients > > add an entry to /etc/mail/access containing the range off addresses you > > want to relay for. then remake the access database and restart sendmail. > > > > for instance, if you want to relay for 192.168.0.0/24, you add an entry > > like: > > > > 192.168.0 > > thank you for your advice, i did have addedd entry > /etc/mail/access > and then rebuild the access db with > makemap hash access < access > > but still i got error messages like this (when i started sending mail to > some mail account at yahoo.com): > > The message could not be sent because one of the recipients was rejected by > the server. The rejected e-mail address was some-account@yahoo.com. Subject > 'test smtp', Account: 'my-domain', Server: 'my-domain', Protocol: SMTP, > Server Response: '550 5.7.1 ... Relaying denied. IP > name lookup failed [10.10.2.46]', Port: 25, Secure(SSL): No, Server Error: > 550, Error Number: 0x800CCC79 > you are using non-routable ip's. Either setup internal DNS or put entries for the ip's in /etc/hosts. Either way will remove that. You could also turn off sendmail's reverse lookup feature but be VERY careful there, if this mail server touches the internet i wouldnt do that. If its just internal mail or relaying to an external hub you could probably safely turn it off. --Larry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message