Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 2010 12:54:20 -0700
From:      Jon Radel <jon@radel.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Open Mail Relay
Message-ID:  <4C66F46C.2030308@radel.com>
In-Reply-To: <4C66DAFC.8050807@gmail.com>
References:  <20100814172307.035661065697@hub.freebsd.org> <4C66DAFC.8050807@gmail.com>

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

On 8/14/10 11:05 AM, Mikhail wrote:
>
> On 14.08.2010 17:29, peter@vfemail.net wrote:
>> I've reviewed my mail logs for the past couple of days and I can't
>> find any entries for any mail addressed to the complainer's domain
>> name except mail that should have been sent.
>
> You can try it yourself, with telnet and proper smtp commands. For
> example, telnet from outside of your organization to your mail server
> and issue:
>
> ehlo mydomain.com
> mail from: foobar@example.com
> rcpt to: foobar@example.org
> data
> test mail
> .
>
> You actually have to get error message about relay denied for you. If
> you don't - you're in trouble.
> If you do recieve such message - you relay is closed and probably you
> have spam worms who send emails from legit user, or something like that.

The basic test, but hardly sufficient to determine if all the known ways 
of fooling an smtp server are accounted for.  Recall from the OP's 
description: "saying relaying was denied in 17 separate tests."

The above also can be an issue if you do the test from an IP address 
that the SMTP server has been configured to treat as "trusted."

--Jon Radel
jon@radel.com


help

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