Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Jon Thiele on July 18, 2000, 05:39:06 PM

Title: Virtual Domains and E-mail
Post by: Jon Thiele on July 18, 2000, 05:39:06 PM
I upgraded to e-smith v4.0 from settings I backed up and restored from beta 8.

My confirguration consists of a primary domain ABC.COM, a virtual domain DEF.ORG and a user PERSON1.  Both domain names point to my static ip address.  From the outside world, I can see both web pages WWW.ABC.COM and WWW.DEF.ORG.  This part of my system is working very well(!).

However, e-mail is a different story.  I can send e-mail to PERSON1@ABC.COM and it is received correctly.  However, e-mail to PERSON1@DEF.ORG from the 'outside' is rejected and returned to the sender with the error:

"This Message was undeliverable due to the following reason:

Each of the following recipients was rejected by a remote mail server.
The reasons given by the server are included to help you determine why
each recipient was rejected.

    Recipient:
    Reason:    sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)"

When I send e-mail from the 'inside', I get:

"Hi. This is the qmail-send program at ABC.COM.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)"

I use easyDNS.com as my DNS publishers.  DEF.ORG is an exact duplicate of ABC.COM (if fact, I use their 'clone' facility to make sure that the MX records are the same.)  I've looked at the Qmail logs /var/log/qmail/@00000... but cannot see the 'rejected' error message when e-mail is delivered from the internet.

Obviously, this feature has been tested and is working on many other systems.  Can anyone see what I have done wrong???   Many thanx.
Title: RE: Virtual Domains and E-mail
Post by: Charlie Brady on July 19, 2000, 04:04:41 AM
Jon Thiele wrote:

> I upgraded to e-smith v4.0 from settings I backed up and
> restored from beta 8.
>
> My confirguration consists of a primary domain ABC.COM, a
> virtual domain DEF.ORG and a user PERSON1.
...
> I can send e-mail to
> PERSON1@ABC.COM and it is received correctly.  However, e-mail
> to PERSON1@DEF.ORG from the 'outside' is rejected and returned
> to the sender with the error:
...
> Recipient: Reason:    sorry, that
> domain isn't in my list of allowed rcpthosts (#5.7.1)"
...

These symptoms indicate that def.org does not appear in
/var/qmail/control/locals and /var/qmail/control/rcpthosts. Could you
please check the contents of those files, and of /home/e-smith/domains, and send me email letting me know what you find.

Regards

Charlie