Woody wrote:
> I need to find a way to allow our users to relay from a remote domain
> through us. For example, if they are at rutgers.edu and they want to send
> mail from localline, how do they do it, without receiving "Relaying
> Denied" messages? And if they are able to, how can we prevent others from
> doing it?
You add either their IP address, or the hostname to which it resolves,
to /etc/mail/relay-domains.
> Using sendmail-8.9.1a, with
>
> FEATURE(relay_entire_domain)
> FEATURE(access_db)
>
> support in sendmail.cf
With relay_entire_domain, you can add partial IP addresses or domain
names to the relay-domains file.
> Q. Couldn't I not even use /etc/mail/relay-domains and just use
> /etc/mail/access instead to specify who I allow to connect, and who not?
You should be able to add RELAY entries to the access_db, and ignore
the relay-domains file.
> If that is true, then why do we need relay-domains?
access_db is an optional feature, and the RELAY tag is new in 8.9.1.
Also, it only applies to the sender. The relay-domains file allows you
to specify that relaying *to* a particular domain is permitted (which
is necessary if your host is acting as a backup MX for one or more
domains).
--
Glynn Clements <[EMAIL PROTECTED]>