Re: Help on smtp and rcpthosts !!

2000-06-06 Thread clemensF

> Xionghui Chen:

> every time when I send mail via port 25, if the domain of the mail address is not 
>belong in the file control/rcpthosts, it says:
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

you would select the recipients-hosts.domain:25 port.  in comes the mail
destined for you via your.host:25, out goes mail from you via recip.host:25.

clemens



Re: Help on smtp and rcpthosts !!

2000-06-06 Thread Len Budney

"Xionghui Chen" <[EMAIL PROTECTED]> wrote:
> This is real urgent:
> 
> every time when I send mail via port 25, if the domain of the mail
> address is not belong in the file control/rcpthosts, it says: 553 sorry,
> that domain isn't in my list of allowed rcpthosts (#5.7.1)

> do this mean that I have to put all my possible rcpt domains in the
> rcpthots file? i.e, i have to put yahoo.com in rcpthosts, or else I
> cannot send mail to [EMAIL PROTECTED]

No! (New qmail users often become scared about this; don't worry!)

The rcpthosts file is only for SMTP connections. SMTP connections are
usually for _incoming_ mail. So rcpthosts only lists allowed destinations
for _incoming_ mail. Usually, rcphosts will contain the domains listed
in control/locals as well as control/virtualdomains, and should all be
fully-qualified domain names.

But some of your software uses the SMTP port for _outgoing_ mail as well,
which is what made you ask your question. The answer is found at
. The magic word
is RELAYCLIENT.

Hope this helps,
Len.

--
Do not confuse complexity with security.  It is a grave mistake.
-- Bruce Schneier



Re: Help on smtp and rcpthosts !!

2000-06-06 Thread Vince Vielhaber

On Mon, 5 Jun 2000, Xionghui Chen wrote:

> This is real urgent:
> 
> every time when I send mail via port 25, if the domain of the mail address is not 
>belong in the file control/rcpthosts, it says:
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> 
> do this mean that I have to put all my possible rcpt domains in the rcpthots file? 
>i.e, i have to put yahoo.com in rcpthosts, or else I cannot send mail to 
>[EMAIL PROTECTED]
> 
> help me out, please!

No you don't need to put all domains in rcpthosts, just the domains that
your server accepts mail for.  To set up qmail-smtpd for selectively 
relaying mail (ie. from you) go here and follow the instructions:

http://www.palomine.net/qmail/selectiverelay.html

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==