Woody wrote:
> Concerning your email to me about sendmail relay config's...
>
> If I put localline.com in /etc/mail/access as such:
>
> localline.com OK
>
> does this mean that remote domains can relay off of us?
No. This just means that mail will be accepted from
[EMAIL PROTECTED] This is the default, so the above line is
redundant.
> If I don't put our domain in this file with the "OK", will our users still
> be able to email out? <sigh>...I am confused!
You should use the relay-domains file for this, although adding an
entry to the access_db of the form:
localline.com RELAY
should have the same effect (I think).
BTW, the default location of the access_db file is /etc/mail/access.
> Question 2. One of our users says that he can email all of his friends,
> yet when he tries to send a message to a user on link2000.net, which is
> hosted by our backbone, he gets "Relaying Denied" error. That doesn't make
> sense does it? If that were so, then ALL of his email going out to remote
> domains would return an error as Relaying Denied. The only way he should
> get that error, is if he is connected to a domain other than localline and
> he sends email through us to link2000.net, correct? And if this were the
> problem, I could simply put the domain where he is physically connected
> to, in our access file as:
>
> foo.com OK
>
> Correct? Or am I just totally whacked? :) This can be confusing, even for
> a vet! :)
The use of the OK tag is largely redundant, except to override a more
general specification, e.g.
cyberspammer.com 550 We don't accept mail from spammers
okay.cyberspammer.com OK
will accept mail from [EMAIL PROTECTED] but not from
[EMAIL PROTECTED] or any other subdomain thereof.
To control relaying (where neither the source nor the destination are
considered `local') via the access_db, you need to use the RELAY tag.
--
Glynn Clements <[EMAIL PROTECTED]>