The <chatserver> and <mailserver> blocks need to be moved outside of the <world> block, i.e. move the chatserver and mailserver blocks after the </world> line, so it's like this:
Code:
<?xml version="1.0"?>
<server>
<world>
<shortname>xxxxx</shortname>
<longname>xxxxxxxxxxxxx</longname>
<!-- Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>xxxxxx</account>
<password>xxxx</password>
</loginserver>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>make up some random string of characters here</key>
<!-- Enable and set the port for the HTTP service -->
<http port="9080" enable="true" mimefile="mime.types"/>
</world>
<chatserver>
<host>68.xx.xx.xxx</host>
<port>3000</port>
</chatserver>
<mailserver>
<host>68.xx.xx.xxx.</host>
<port>3000</port>
</mailserver>
<!-- Database configuration, replaces db.ini -->
<database>
<host>127.0.0.1</host>
<port>xxxx</port>
<username>root</username>
<password>xxxxxxxx</password>
<db>peq</db>
</database>
</server>