Web Hosting Talk







View Full Version : email, catchall problems.


WebWorx
07-16-2002, 06:38 AM
Hi all,

I have been sitting here for 4 hours now, searching the treads and trying everything that everyone has recomended. I have now got to the point of throwing things, well, nearly.

Here goes.
Thismorning and for last 12 months, everything has been working perfectly on my Raq4 regarding emails, except catchalls.

Thismorning one of my customers rings (as I have been expecting for some time) and asked "can you please get my catchall to work".

Ok, I say yes, as you do, and went to work on my own site to get it to work. Read all the threads and off I go as most of them instruct.

Now not only does my catchall NOT work, my email deosn't either.

_________________________________________________
----- The following addresses had permanent fatal errors -----
<user@domain.com>
(reason: system config error)

----- Transcript of session follows -----
553 5.3.5 www.domain.com. config error: mail loops back to me (MX problem?)
554 5.3.5 <user@domain.com>... Local configuration error
_________________________________________________

Now, settings that were working fine. (except catchall)
Host = www
Domain = domain.com
Web Server Alias = domain.com, www.domain.com
Email server alias = domain.com, www.domain.com, mail.domain.com

DNS on cobalt domain.com - mail priority blah blah - domain.com

I am using 3rd party DNS

So I figure, go back to previous settings. When trying to add www.domain.com to email server alias cobalt says "invalid" and won;t let me add it, like it has for the past 12 months.

Here is copy of DNS at 3rd party.
Address (A) @ 203.89.xxx.xx
Address (A) gkwebworx1 203.89.xxx.xx
Address (A) mail 203.89.xxx.xx
Address (A) secure 203.89.xxx.xx
Address (A) www 203.89.xxx.xx
Mail exchanger (MX) @ 10 mail.gkwebworx.com.
Mail exchanger (MX) @ 20 mail1.
Name servers (NS) @ ns1.
Name servers (NS) @ ns2.

Any help would be very much appreciated.

chirpy
07-16-2002, 06:51 AM
I would imagine that your problem is here:
Web Server Alias = domain.com, www.domain.com
Email server alias = domain.com, www.domain.com, mail.domain.com

Try removing the bold items above as they're implicitly done by the UI and you adding them may be screwing things up. Also, make sure that your catchall aliases are:
@www.domain.com
and not:
@domain.com

WebWorx
07-16-2002, 07:06 AM
Thanks for the response Chirpy,

I had tried that with no luck.

What I did was followed advice from most other posts about this and had done the following (which in turn has caused my problems.)

host = www
domain = domain.com
web server alias = domain.com
email server alias = domain.com

after doing this, no mail at all worked for this domain.

I am using @www.domain.com as the catchall.

the mail server that I have dns setup for is mail.domain.com

I have tried putting mail.domain.com in the email alias, I also saw a post where it said to put mail.domain.com in the web server alias and not in the email server alias.

Nothing has worked so far.

Still pulling hair out (while I get my mind off this by fixing webalizer problem caused by updating PHP.)

***Ever get the feeling that you should never update things as it usually causes more problems***

dutchie
07-16-2002, 07:19 AM
Now this is only slightly different then what you got, but it works for me.

host = www
domain = domain.com
web server alias = domain.com
email server alias = domain.com

And as MX www.domain.com delivers mail to www.domain.com

So my mail server is www.domain.com

I do use the DNS of the Raq.

chirpy
07-16-2002, 07:21 AM
Here's a few more ideas:

Go to the UI as admin, Control Panel > Services > Email Server > Parameters and make sure that "Relay for the following Hosts/Domains" contains:
domain.com
Then check that "Host/Domain Aliases" contains:
www.domain.com

Even if you don't change anything here, click Save Changes to regenerate the config files and test again.

If that doesn't help...

You could check for errors in your aliases and virtusertable that might not be apparent from the UI. From the shell prompt as root:

newaliases

This will rebuild your aliases file and will report any problems in its contents. Secondly, try rebuilding your virtusertable:

cd /etc/mail
makemap hash virtusertable < virtusertable

Again, check for any errors.

Another idea, do you have the RaQ4 "Update: Duplicate Email Alias 2.0.1" fix installed from:
http://sunsolve.sun.com/patches/cobalt/raq4.eng.html

AFAICS, your DNS entries look fine.

WebWorx
07-16-2002, 07:45 AM
Chirpy, your an absolute genius....I owe you a drink if I ever make it into your neck of the woods.

***********************
Go to the UI as admin, Control Panel > Services > Email Server > Parameters and make sure that "Relay for the following Hosts/Domains" contains:
domain.com
Then check that "Host/Domain Aliases" contains:
www.domain.com
***********************

Did this, and off she went.
Emails work perfectly.
Catchall works for first time in 12 months.

I was actually looking at this section earlier, and have never needed to touch it, so simply left it alone.

Thankyou so much...I appreciate your help.

chirpy
07-16-2002, 08:19 AM
My pleasure, I'm glad you're up and running now :D

WebWorx
07-16-2002, 08:22 AM
Just out of interest (hope i'm not pushing my newbie luck here)

I have been able to figure out most unix commands to date, but I can't for the life of me find how to rename a file.

I simply want to rename /usr/local/webmin-0.990.tar.gz.1 to /usr/local/webmin-0.990.tar.gz

chirpy
07-16-2002, 08:24 AM
mv
man mv

WebWorx
07-16-2002, 08:26 AM
so

mv /usr/local/webmin-0.990.tar.gz.1 /usr/local/webmin-0.990.tar.gz

???

As I said newbie...

chirpy
07-16-2002, 08:28 AM
Yup, that's it

WebWorx
07-16-2002, 08:29 AM
Perfect....worked again.

cbtrussell
07-16-2002, 09:31 AM
WARNING

NEWBIE SUCCESS QUOTA HAS BEEN EXCEEDED.

USER WEBWORX SHALL RECEIVE NO MORE ACCURATE ANSWERS FOR THE BALANCE OF THE DAY.

:stickout

WebWorx
07-16-2002, 09:37 AM
Due to the fact I have now been browsing this forum for the past, hmmmmm 5 coffees, 1 lunch, 1 dinner and around 8 hours, I think I am starting to get out of newbie status and feel i should get "advanced newbie" status starting tomorow.

Would like to say though, over the past 12 months, these forums have saved my arse quite a few times without even having to post. I have learned alot and hope to be able to give as I get up to speed on all this linux unix stuff. (I really do like unix, really!!!)