Unable to receive mail - DNS misconfiguration?

Abilnet

Verified User
Joined
Apr 21, 2010
Messages
15
Location
Sunny Spain
I'm unable to receive mail. I believe my dns configuration is missing something, but can't find the problem. Screenshot attached.

Your help appreciated, thanks.
 

Attachments

  • dns-settings-screenshot-2.png
    dns-settings-screenshot-2.png
    66.2 KB · Views: 173
There is nothing wrong with your mx records.

Check your mail logs to see what is going on.

/var/log/exim/mainlog
/var/log/exim/rejectlog
/var/log/exim/paniclog
 
...Check your mail logs to see what is going on...

Thanks for pointing that out! ...it seems to be somehow related to "relay not permitted" -issue, but how and where to fix it?

Help appreciated, thanks.

Code:
Mostly spam of course, but here are the latest lines of the logs:

rejectlog:
....
2010-11-12 14:17:52 H=[188.52.58.5] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted
2010-11-12 14:18:01 H=(localhost) [113.168.254.231] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted
2010-11-12 14:18:03 H=(localhost) [113.168.254.231] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted
2010-11-12 14:18:12 H=(localhost) [113.168.254.231] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted
....
mainlog:
....
2010-11-12 14:17:52 H=[188.52.58.5] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted
2010-11-12 14:17:53 unexpected disconnection while reading SMTP command from [188.52.58.5]
2010-11-12 14:18:01 H=(localhost) [113.168.254.231] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted
2010-11-12 14:18:03 H=(localhost) [113.168.254.231] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted
....
 
Make sure you dont have any domains in your /etc/virtual/blacklist* files

You also might want to consider trying out spamblocker 4.

http://www.directadmin.com/forum/showthread.php?t=37821

Other then that wait for user "Jlasman" to post because he wrote the exim config that directadmin uses. I dont know what would cause that.
 
Is albinet.com listed in your /etc/virtual/domains file?

Are you using a standard DirectAdmin exim.conf file? Which one?

Jeff
 
More information:

** No, I don't have any domains in /etc/virtual/blacklist* files

** No known changes in my /etc/exim.conf -file, which is version:

Code:
-rw-r--r-- 1 root root 34729 2010-09-15 08:36 /etc/exim.conf

First two lines of /etc/exim.conf:
Code:
daemon_smtp_ports = 25 : 587
# $Cambridge: exim/exim-src/src/configure.default,v 1.13 2007/06/26 11:21:36 ph10 Exp $
---------

albinet.com IS listed in /etc/virtual/domains -file

Your help appreciated.
 
That's not a standard DirectAdmin exim.conf file. Where did you get it?

Either install and modify as required for your system exim.conf and exim.pl files from the official distribution site:

http://files.directadmin.com/services/

or the latest one I've created for DirectAdmin, from:

http://www.nobaloney.net/spamblocker.html

Or in the case of the latter have us install it for you (link directly above).

Jeff
 
Everything is in a standard server configuration from wholesaleinternet, where I've rented the server. It's a Debian box, if it makes any difference?

Code:
DirectAdmin Values
Compiled on	Debian 5.0
Server Version	1.36.2
Current Available Version	1.362000
Last Updated	Tue Sep 14 06:52:07 2010
 
No matter which OS Distribution you run you must run a DirectAdmin exim.conf file to be able to send mail through DirectAdmin.

Please attach a text file of your complete exim.conf file to your next reply and I'll take a look at it. (Do not just copy it into the file; please attach it as a text attachment.)

Once you've done that, please send me an email at the address below to let me know you've done that and I'll take a look at it. Be sure to let me know the title of this thread in your email.

Jeff
 
Attached my exim.conf, mail sent. Thanks for your helping hand, appreciated!
Did that file come with your DirectAdmin install from Wholesale Internet? If so, then they're doing something very wrong. If they install DirectAdmin properly then they should be installing a DirectAdmin specific exim configuration.

While user scsi has posted a helpful link, it's not, as it says in the link, the latest technology. The exim.conf file in that link was written by me almost 3-1/2 years ago.

The latest technology can be found in my latest file found here:

http://www.nobaloney.net/spamblocker.html

If you decide to install it yourself you should read the ReadMe first, and make sure you make necessary edits so it'll work with your system. You'll need to update to Dovecot if your DirectAdmin install from Wholesale Internet didn't include it, as that's part of the latest technology. And you'll need to add the latest exim.pl file as well.

There's also an option to have my company, NoBaloney Internet Services install the file, but I do charge for that.

If I were you I'd also check with Wholesale Internet to find out how they maqnaged to install the wrong file. If you'll be needing to depend on their support in the future you should assure yourself that their support is DirectAdmin knowledgeable.

Jeff
 
Thanks a lot for the info, your help really appreciated! Just opened a ticket to wholesale internet.

EDIT: Thanks a lot jlasman and scsi for your kind help & professional support, Wholesale Internet is now taking care about this - thanks for them as well!
 
Last edited:
...If you'll be needing to depend on their support in the future you should assure yourself that their support is DirectAdmin knowledgeable...

So right you are... I'd upgrade my server to a new one with them, and politely asked them to take a special attention that Direct Admin & exim will, at this time, be properly installed and configured. Unfortunately, I'd face a lot of problems, so I decided not to waste my time anymore and gave up.

However, I really like their hardware offerings and did not go to shop somewhere else... so, my question is, could someone of DA -staff install Direct Admin to my fresh Ubuntu 10.04 LTS -server and verify, that everything works? ( I DO have a lifetime DA lisence, UID: 8541)

Thanks
 
DirectAdmin has a 'simple' install service for which they don't charge. At least not the first time. I don't know about multiple installs.

We install DirectAdmin with a complete install including necessary updates, fixes and some hardening (with or without PCI hardening), as a commercial service; please feel free to email me for more information.

Jeff
 
Back
Top