Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2004 19:39:56 -0500 (EST)
From:      matthew <matthew@netway.com>
To:        Eric F Crist <ecrist@adtechintegrated.com>
Cc:        FreeBSD questions List <freebsd-questions@freebsd.org>
Subject:   Re: Sending mail gets 'Relaying Denied' from off network.
Message-ID:  <20040217193739.W93562@admin1.mdc.net>
In-Reply-To: <200402171811.07471.ecrist@adtechintegrated.com>
References:  <200402171811.07471.ecrist@adtechintegrated.com>

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


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
>



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