Subject: Re: Disallowing mail relaying for Sendmail?
To: Brian de Alwis <>
From: Curt Sampson <>
List: netbsd-users
Date: 12/31/1999 16:08:05
On Fri, 31 Dec 1999, Brian de Alwis wrote:

> How do I configure sendmail to disallow relaying mail that is neither to
> nor from a machine in my domain?

Upgrade. 8.9.x disallows relaying by default.

If you think it still is relaying, it may be due to the way you're testing
it. Sendmail doesn't actually reject the mail until the DATA command, as I
recall correctly, so if you're just using MAIL FROM: and RCPT TO: commands
and getting good responses, type DATA and you should see the mail rejected.

Curt Sampson  <>   917 532 4208   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: