Sending mail gets 'Relaying Denied' from off network.

matthew matthew at netway.com
Tue Feb 17 16:40:08 PST 2004



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
>


More information about the freebsd-questions mailing list