View Full Version : Main mail account not working
jeff_j
02-05-2004, 05:25 PM
We are having problems with the main e-mail accounts for sites that are using their own IPs. From seaching the forums it looks like their mail is getting forwarded to system e-mail accounts.
Yes, the hostname of the machine is setup as a domain in
directadmin.
Yes, I've deleted the hostname out of /etc/virtual/domains and /etc/virtual/domainowners.
I left the /etc/virtual/<hostname> directory, though I deleted everything in it.
I don't want to change the hostname on my machines. I tried changing the admin domain in directadmin to admin.hostname but that didn't fix anything.
If I try sending an e-mail to username@domainname the exim/mainlog says:
"lowest numbered MX record points to local host: <hostname>"
"username@hostname <username@domainname> R=lookuphost defer (-1): lowest numbered MX record points to local host"
Is there anything else I can try to get this sorted out?
Thanks,
Jeff
DirectAdmin Support
02-06-2004, 11:53 AM
Hello,
Yes, the hostname of the machine is setup as a domain in DirectAdmin
You *can't* have that. Change your hostaname from domain.com to server.domain.com and make sure it resolves.
Also make sure that the hostname is only in /etc/virtual/domains and that the domain is in both /etc/virtual/domains and /etc/virtual/domainowners.
John
jeff_j
02-06-2004, 01:03 PM
Well like I said, I don't want to change the hostname, but with the directions above I was able to get it to work by changing the domain name from domain to admin.domain.
Thanks.
aleborg
07-19-2004, 04:48 AM
Im opening this thread again as I have the exact same problem.
Although i dont really understand this:
"the hostname of the machine is setup as a domain in
directadmin."
Hostname of what machine? ;) The domain im talking about is creatix.se. Mail should be handle by another server, so I have removed the domain from /etc/virtual/domains and also removed its directory.
While trying to send a mail from our server to the domain leaves this message in the log:
"lowest numbered MX record points to local host: creatix.se"
I have done the exact same thing with domain knivby.nu and for this domain it works perfectly!
DirectAdmin Support
07-19-2004, 03:00 PM
Hello,
The hostname of your server can be found by typing "hostname" at the command prompt. Even chaning the hostname to "www.domain.com" would work, but "domain.com" will not.
You can change the hostname from Admin Panel -> Admin Settings
See this page: http://help.directadmin.com/item.php?id=16
John
aleborg
07-20-2004, 02:05 AM
Our server hostname is not equal to the domain which want to set external server. I have done as I ought to do as described in earlier post.
Still doesnt work though. As I have done exactly like another domain which makes use of external server (and works) Im starting to think something is wrong with the MX Records of this domain. Is this possible? Or can I be sure the problem resides on the server? (Im not personally able to change MX Records or any domain changes)
DirectAdmin Support
07-21-2004, 02:08 PM
Hello,
You can try sending mail from webmail or squirrelmail. If the domain is on the server, then the mail should arrive no problems, regardless of the MX record. If it arrives, then it's an MX problem.
If it *doesn't* arrive when you send it via webmail or squirrelamail (to yourself)..then it's something else, and you'd need to check your /var/log/exim/mainlog for clues.
John
aleborg
07-22-2004, 10:43 AM
Well, the domains on the server but the mail should not be handle by localhost. It should be handle by another server. It does arrive if I change the domain to handle mails on localhost but when I configure it to use external server it fails with the error described above.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.