Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 09:50:06 -0800
From:      "Lawrence Sica" <lomifeh@hotmail.com>
To:        "Asep Ruspeni" <asepruspeni@yahoo.com>, <freebsd-security@freebsd.org>
Subject:   Re: relaying mail from DHCP clients
Message-ID:  <OE52J3sl3xbYiMCIqtQ0001a116@hotmail.com>
References:  <20020122101115.P25912-100000@camelia.dnt.ro> <002701c1a328$9aac7fa0$2e020a0a@mti.itb.ac.id>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: "Asep Ruspeni" <asepruspeni@yahoo.com>
To: <freebsd-security@freebsd.org>
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 <some-account@yahoo.com>... 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE52J3sl3xbYiMCIqtQ0001a116>