[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Qube 3 - How to stop spam?
- Subject: Re: [cobalt-users] Qube 3 - How to stop spam?
- From: Parker Morse <morse@xxxxxxxxxxx>
- Date: Thu Nov 15 07:08:02 2001
- Organization: Sinauer Associates, Inc.
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> From: John Lee <johnvero@xxxxxxxxxxxxxx>
> The access file is simple.
>
> mydomain.com RELAY
> 192.168 RELAY
I don't see anything wrong here, but I'd want it tightened up some.
Remember, this isn't "relay mail FOR", this is "relay mail FROM". Let's
assume your Qube's Fully Qualified Domain Name is johnsqube.johnsdomain.com,
and its IP address is 192.168.0.2. I would replace "johnsdomain.com" with
"johnsqube.johnsdomain.com", and "192.168" with "192.168.0". That will
tighten down the available range of addresses your Qube will relay for.
If that doesn't work, I'm out of ideas. You can try looking in the directory
/usr/lib/sendmail-cf/cf/ and file cobalt.mc (more
/usr/lib/sendmail-cf/cobalt.mc) and look for lines like:
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
(those SHOULD be there)
or
FEATURE(relay_local_from)
FEATURE(loose_relay_check)
FEATURE(promiscuous_relay)
(those SHOULDN'T be there)
If you're bold enough to rebuild the sendmail.cf - I haven't been, yet, and
the standard Cobalt this-will-void-your-warrantee warning almost certainly
applies - read up at sendmail.org on how to add lines like these to the
file:
FEATURE(relay_hosts_only)
# (This will limit relaying to specific hosts defined in your
/etc/mail/access, like johnsqube.johnsdomain.com)
FEATURE(dnsbl, "blacklist")
# (This will check the source of incoming mail against one of the DNS-based
blacklists, and reject it if it's from a known spam source.)
Beyond this, I have nothing else to offer... good luck!
pjm