From owner-freebsd-security Tue Jan 22 1:24:16 2002 Delivered-To: freebsd-security@freebsd.org Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by hub.freebsd.org (Postfix) with SMTP id 20F1337B427 for ; Tue, 22 Jan 2002 01:24:05 -0800 (PST) Received: from unknown (HELO labkom1) (202.77.97.209) by smtp.mail.vip.sc5.yahoo.com with SMTP; 22 Jan 2002 09:24:00 -0000 Message-ID: <002701c1a328$9aac7fa0$2e020a0a@mti.itb.ac.id> From: "Asep Ruspeni" To: References: <20020122101115.P25912-100000@camelia.dnt.ro> Subject: Re: relaying mail from DHCP clients Date: Tue, 22 Jan 2002 16:38:44 +0700 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 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 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 > 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 my range of IP address i want to relay : 10.10.2.1 - 10.10.2.254 any further suggestions? asep. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message