[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Email Server Problems.



Jim,

thanks a ton for your help..

i have verified that the following are in the "accept mail for domain" edit
box:

mail.itc-dal.com
itc-dal.com

this is the domain i am sending mail from, so i believe i have at least
covered that much of it.

think there is any way possible i could give you my admin info and have you
take a look at the files you mentioned.. i am not very linux savvy as of
yet.

mark

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Jim Roberts
Sent: Thursday, February 10, 2000 1:13 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Email Server Problems.


>ok,
>
>i have eliminated my "excessive recursion" problem by having my ISP change
>any CNAMES to A records.
>
>i still have one problem though: whenever i send mail to an email address
>outside of my Raq's domain - it works fine..
>
>whenever I send email to a user within the Raq's domain, i.e.:
>admin@xxxxxxxxxxxx, i get a message back saying "mail loops back to me, MX
>problem?"..


1.) ensure that "accept email for this domain" is checked in "myserver"
site settings.
That may be all there is to it.

2.)
There are two files that you should check first before pulling your hair
out about this type of problem. The first is /etc/virtusertable, which
configures email addresses which are to be delivered to the raq.

Its layout is fairly straightforward:

alias@xxxxxxxxxxxxxxx   (tab)  alias or actual user

for example,

owner-majordomo@xxxxxxxxxxxxxxxxxx     owner-majordomo_site11

catch-all addresses look like this:

@www.yourdomain.com (tab) jim

or this:

@yourdomain.com (tab) jim

You should look through this file to ensure that all of the email addresses
for users who are going to collect mail from your machine are properly
resolving to actual user accounts in this file.

In particular, xxx@xxxxxxxxxxxxxxxx is a different address than is
xxx@xxxxxxxxxxxx, and both should be in /etc/virtusertable in some form.
Usually, after the comment:

# accept-email-at-domain routes

will appear a catch-all for the domain itself:

@myserver.com (tab) %1@xxxxxxxxxxxxxxxx

that counts as anyuser@xxxxxxxxxxxx

The second most important file, and most likely the one you are having
trouble with, is /etc/sendmail.cw, which has a list of hosts for which mail
will be accepted for delivery on your machine.

If you are going to accept mail for delivery on a machine, then the machine
must be listed in your sendmail.cw

In your particular case, I bet "myserver.com" does not appear in
/etc/sendmail.cw, but instead, only www.myserver.com appears.

Now, you should not edit these two files by hand. Instead, go to control
panels, services, and click on Parameters next to "email". The Host/Domain
aliases text box is a direct copy of /etc/sendmail.cw, so to add an entry,
just add one to the list in the box, and "save changes".

Because the box is so small, I "select all", copy the text into a text
editor, edit away, copy my list from the text editor, "select all" again in
the web page, hit delete to clear the box, and paste in my list from the
text editor.
(And Save Changes).

To edit the virtusertable, you have to change an individual users' email
preferences through the browser interface.

recap:
In the simplest cases,
/etc/virtusertable has a list of email addresses (people & robots) and
where to deliver mail bound for those addresses, on this machine
/etc/sendmail.cw has a list of hosts (machines, not people or robots) for
which the machine will deliver mail

Further, if a host is not listed in sendmail.cw, then "sendmail" will not
try to deliver mail bound for users on that host. It will instead try to
relay the mail to another hosts' sendmail. When your sendmail says it has
mail looping back to itself, it is saying that it has not been told where
to deliver the mail (no entry in sendmail.cw) and is trying to relay it. It
relays it to itself, however, and there is no end to that loop.

Just adding an entry for "myserver.com" in /etc/sendmail.cw (through the
web interface, as described above) should make this problem go away.


JR
>
>help?
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-users




_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users