On Fri, Dec 15, 2000 at 04:51:01PM +1100, Marty wrote:
> i understood the instructions ok, but which ones should be used to set up
> the gateway and which apply to the internal host (if any) ???
These rules were for the gateway. The internal hosts are far simpler.
You could probably just use the null client feature:
divert(-1)
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
FEATURE(`nullclient',`your.gateway.host.here')
FEAURE(`nocanonofy')
This is a special case -- it creates a stripped down configuration file
containing nothing but support for forwarding all mail to a central hub
via a local SMTP-based network. The argument is the name of that
hub.
In this case, you don't run sendmail on the internal hosts. The null
client forwards all mail to the relay host, which then takes care of
delivery. No mail delivery is done on the null client hosts,
*everything* is forwarded to the relay host.
If you want to do some local mail delivery on the internal hosts, then
you need a stripped down version of the gateway's rules. Let me know if
you need this and I'll send you something.
> basically i am struggling with getting the gateway to relay for our domain
> only (and thus preventing spam) without blocking outbound email...
Well, the rules I've given you will achieve this. You could also add
MAPS RBL lookups too, but not until you have everything else working.
Cheers,
John
--
whois [EMAIL PROTECTED]
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug