At 5/12/2000 01:43 PM -0700, James wrote or quoted:
>If I am wrong, correct me. rcpthosts is where you place the domain
>addresses of the people you want to allow relaying. If this is correct,
>then I understand that part.
No, rcpthosts is where you place the list of hosts and domain names that
*you want to receive mail for*. If your rcpthosts contains:
.foobar.com
whangdoodle.net
wombat.mammal.org
then you can receive mail for any address in the entire foobar com domain
([EMAIL PROTECTED] *and* [EMAIL PROTECTED], for example). You
can also receive mail for any address @whangdoodle.net, and any address
@wombat.mammal.org, but mail for, say, [EMAIL PROTECTED], or
[EMAIL PROTECTED], will be rejected.
>But.. what controls the ability for anyone to send me an email at
>[EMAIL PROTECTED]?
The rcpthosts file.
>All I want is to get mail from anyone, but not have anyone use my server
>as a relay.
A good thing to desire.
If you have the domains red.com and green.org, you just put the following
in rcpthosts:
red.com
green.org
.red.com
.green.org
The last two lines are only necessary if you're using subhost names, such
as mail.red.com or smtp.green.org.
Then, you can receive mail for any address in those domains, but nobody can
send mail out through your server, except by using MUAs that are *on that
server* (such as Elm, Mutt and Pine).
If you need to allow remote users (say, using Windows mail clients) to send
mail from your server, look at the stuff on selective relaying in Dave
Sill's Life With Qmail, at http://Web.InfoAve.Net/~dsill/lwq.html#relaying
. You might also want to see Dave's link to Chris Johnson's selective
relaying guide, at http://www.palomine.net/qmail/relaying.html .
-----------------------------------------------------------------
Kai MacTane
System Administrator
Online Partners.com, Inc.
-----------------------------------------------------------------
From the Jargon File: (v4.0.0, 25 Jul 1996)
finger trouble /n./
Mistyping, typos, or generalized keyboard incompetence (this is
surprisingly common among hackers, given the amount of time they
spend at keyboards). "I keep putting colons at the end of statements
instead of semicolons", "Finger trouble again, eh?".