Mailinglist Archive: opensuse (2702 mails)

< Previous Next >
[SuSE Linux] Re: HELP! I don't want my box to relay!
  • From: phil@xxxxxxxxxxxxxxxxxx (Philip Stokes)
  • Date: Wed, 2 Jun 1999 10:43:21 +0100 (GMT)
  • Message-id: <Pine.LNX.4.10.9906021032550.2053-100000@xxxxxxxxxxxxxxxxxx>



On Wed, 2 Jun 1999, Rachel Greenham wrote:

>
> It's a sendmail thing, but it must be so standard that someone's going to
> know how to do it surely?
>
> I just need my box to reject attempts to post through it (eg: other hosts
> trying to post mail to other hosts via my host) as a basic and I
> understand common anti-spam measure. Naturally, I still want this box to
> be able to receive mail being sent to local user accounts on it, and I
> want to be able to send mail from those local user accounts.
>
> It's a SuSE box, with sendmail.cf currently sitting as written out by
> YaST, so a very standard configuration. I was able to post from my laptop
> (behind a masquerading host here) through the remote server - ie: that
> server being configured here as my SMTP server - to my Hotmail account.
>
> How do I stop this and get that "We do not relay" error that I've seen
> coming from other servers?

It depends which version of sendmail you're running. 8.9.x have relaying
disabled by default, so if you're being allowed to relay through your
box look for one or more FEATURE lines containing 'relay' in the
sendmail.mc file, or hosts set as being allowed to relay in your access
database.

Earlier versions allowed relaying by default and had to be set up to
prevent it through one of the anti-spam hacks. If you're running one of
those versions it's really much easier to upgrade to 8.9.x than to
fiddle with it.

Drop me a line if you'd like to see a copy of my sendmail config. I
generate my own through m4 BTW, having told YaST not to touch it.

Phil

--
Philip Stokes Email: phil@xxxxxxxxxxxxxxxxxx
Fax: +44 (0)870 164 1242

--
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/";><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the
archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html";><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>


< Previous Next >
References