From owner-freebsd-security Tue Jan 22 0:17:55 2002 Delivered-To: freebsd-security@freebsd.org Received: from rambo.simx.org (rambo.simx.org [194.17.208.54]) by hub.freebsd.org (Postfix) with ESMTP id 3475C37B402 for ; Tue, 22 Jan 2002 00:17:51 -0800 (PST) Received: from rambo.simx.org (malin.twenty4help.se [195.67.108.195]) by rambo.simx.org (8.11.6/8.11.6) with ESMTP id g0M8HUX44561; Tue, 22 Jan 2002 09:17:30 +0100 (CET) (envelope-from listsub@rambo.simx.org) Message-ID: <3C4D2021.80006@rambo.simx.org> Date: Tue, 22 Jan 2002 09:17:37 +0100 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Bart Matthaei Cc: Asep Ruspeni , freebsd-security@FreeBSD.ORG Subject: Re: relaying mail from DHCP clients References: <000101c19d18$57401d00$40c801ca@warhawk> <000801c1a31b$afe43e60$2e020a0a@mti.itb.ac.id> <20020122091048.K58243@heresy.dreamflow.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Bart Matthaei wrote: >On Tue, Jan 22, 2002 at 03:06:12PM +0700, Asep Ruspeni wrote: > >>my configurations : >> >>FreeBSD : mail server using sendmail >>Windows2000 : DHCP server >> >>need help : >>-my clients (which obtain IP from DHCP server) could'nt send mail using MUA >>outlook express. >>the comment was : >>relaying denied, IP lookup failed [IP generated by DHCP server] >> >>question : >>how do i setup my sendmail configuration so my clients could send mail from >>his/her MUA using smtp service in my freebsd box. >> >>thank you in advance. >>asep. >> > >First of all, I think this is a bit off-topic. But ill try to answer >anyway. > >After 2 min. of googling: > >FEATURE(accept_unresolvable_domains). > >Normally, sendmail will refuse to accept mail that has a return adress >with a domain that cannot be resolved using the regular host lookups. >(a technique commonly used by spammers). >This feature permits acceptance of such addresses. >Unresolvable domains can be selectively accepted using the access >database. > >For more info: http://www.sendmail.org/tips/relaying.html > >HTH > >Regards, > >Bart Matthaei > > My guess would be that all you have to do is edit the /etc/mail/access file to be something like 192.168.0 RELAY and then rebuild the access db with 'cd /etc/mail; makemap hash access < access'. Restart sendmail and youre done. That is if youre clients are on the 192.168.0 subnet, if not, change it to suit your needs. -- R > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message