Koozali.org: home of the SME Server

Cannot send outside of domain

Christo Pretorius

Cannot send outside of domain
« on: April 17, 2000, 03:14:44 PM »
Hi,

I've installed E-smith and am able to receive mail from an outside account
such as from hotmail.com. However, when I want to send an e-mail to
hotmail.com (or any other outside account), I get the following message:

The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'jc_p@hotmail.com'. Subject 'Test', Account: 'x.x.x.x', Server: 'x.x.x.x', Protocol: SMTP, Server Response: '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79

where 'x.x.x.x' is my server's IP address.

Can anyone please tell me how to fix this problem?
Thank you very much.

Christo Pretorius

Charlie Brady

RE: Cannot send outside of domain
« Reply #1 on: April 17, 2000, 05:26:08 PM »
Christo Pretorius wrote:

> I've installed E-smith and am able to receive mail from an
> outside account such as from hotmail.com. However, when I want
> to send an e-mail to hotmail.com (or any other outside
> account), I get the following message:
>
> The message could not be sent because one of the recipients
> was rejected by the server. The rejected e-mail address was
> 'jc_p@hotmail.com'. Subject 'Test', Account: 'x.x.x.x',
> Server: 'x.x.x.x', Protocol: SMTP, Server Response: '553
> sorry, that domain isn't in my list of allowed rcpthosts
> (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553,
> Error Number: 0x800CCC79
>
> where 'x.x.x.x' is my server's IP address.

Your server will have two IP addresses. x.x.x.x will be your external, Internet side address. The mail server will only accept mail on the address if it will be delivered locally on your server. This feature is what protects your server for being used for unauthorised mail relaying.

The other IP address, let's call it y.y.y.y, is the LAN IP address of your server. If you use that as the SMTP address for your mail program, then you will be able to send email to all addresses.

regards

Charlie

Christo Pretorius

RE: Cannot send outside of domain
« Reply #2 on: April 18, 2000, 11:24:34 AM »
Does this mean that I need to have 2 network cards in the server?
Where in the configuration do I set the 2 IP addresses?

Regards,
Christo Pretorius

Gordon Rowell

RE: Cannot send outside of domain
« Reply #3 on: April 18, 2000, 11:34:08 AM »
Christo Pretorius wrote:

> Does this mean that I need to have 2 network cards in the
> server? Where in the configuration do I set the 2 IP addresses?

You need to choose the server/gateway option from the console. You will then be asked for details of the network cards and their IP addresses.

Now is probably a good time to read the manual. There are PDF versions of it on the
e-smith FTP sites.

Gordon

Gordon Rowell

RE: Cannot send outside of domain
« Reply #4 on: April 18, 2000, 11:34:41 AM »
Christo Pretorius wrote:

> Does this mean that I need to have 2 network cards in the
> server?

Yes. A gateway needs two interface cards.

> Where in the configuration do I set the 2 IP addresses?

You need to choose the server/gateway option from the console. You will then be asked for details of the network cards and their IP addresses.

Now is probably a good time to read the manual. There are PDF versions of it on the
e-smith FTP sites.

Gordon