Kuruvilla Chandy wrote:
> > > Is there anyone out there who can help me? The manpage is'nt very
> > > descriptive about configuring /etc/sendmail.cf. Is there any HOWTO
> > > specifically for sendmail? the Mail-HOWTO was no help either.
> >
> > You don't mention which version of sendmail you are running. 8.9.* has
> > some anti-relaying rules by default. 8.8.* doesn't, but RedHat supply
> > a modified sendmail.cf which does have some anti-relaying rules.
>
> I am using RedHat's 8.8.* version of sendmail.
>
> Thanks for the info, but how do I remove these anti-relaying rules.
Look for the check_* rulesets (probably at the end of sendmail.cf),
and delete them. However, spammers will then be able to use your
server to relay spam. This may result in other domains refusing to
accept any mail from your server.
> I found a file /etc/mail/relay-allow.
This is the wrong file; it's ip-allow and name-allow which are
relevant. If a domain is in relay-allow, anyone can send mail to it
via your server. This is for use if your server is a backup MX for one
or more domains.
> I guess this one is supposed to contain the names of the domains to
> whom e-mails are allowed to be relayed.
Yes.
> However I do not want to restrict the users of my network from
> sending messages to whomever they please and I cannot keep editing
> this file every time a new domain turns up on one of the outgoing
> mails.
If you add the IP addresses of the hosts on your network to the
ip-allow file, they should be able to send mail to anywhere. I think
that you can specify part of the address to allow the entire network
to use the server as a relay.
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]