[TIP] How to setup Qmail on Kloxo-MR

[TIP] How to setup Qmail on Kloxo-MR

This tips related to Qmail-toaster (mail server) on Kloxo-MR.

Warning: – update Kloxo to Kloxo-MR need running:

Code: [Select]

sh /script/convert-to-qmailtoaster

Prepare server:

1. Choose 1 of domain or subdomain as primary ‘domain’ (this domain must be access from public; example: ‘mydomain.com’)

2. Set server hostname as subdomain of primary ‘domain’ (example: ‘subdom.mydomain.com’) and add ‘subdom’ as ‘A record’ on dns setting

3. Add ‘xxx.xxx.xxx.xxx subdom.mydomain.com subdom’ on ‘/etc/host’ (change xxx.xxx.xxx.xxx with primary ip)

4. Add/Change to ‘HOSTNAME=”subdom.mydomain.com”‘ ‘/etc/sysconfig/network’

5. Reboot and then run ‘hostname -f’ and must be appear ‘subdom.mydomain.com’

Setup/Update qmail:

1. For update from Kloxo, need running ‘sh /script/convert-to-qmailtoaster’

2. For to make sure, go to ‘Mysql password reset’ to change mysql root password

2. Running ‘sh /script/fix-chownchmod; sh /script/fixmail-all’


1. Run ‘/home/vpopmail/bin/vdominfo’ and will be match with ‘/var/qmail/users/assign’ content

2. If login to webmail failed, check the content of:

– ‘/var/qmail/supervise/imap4/run’,

– ‘/var/qmail/supervise/imap4-ssl/run’,

– ‘/var/qmail/supervise/pop3/run’,

– ‘/var/qmail/supervise/pop3-ssl/run’,

– ‘/var/qmail/supervise/smtp/run’,

– ‘/var/qmail/supervise/submission/run’

and find out something like ‘exec /usr/bin/softlimit -m 9000000 ‘.

Increase the value until 3-4 times but no more than 64000000. Original softlimit have a problem especially on Centos 64bit (version 5 and 6).

3. Run ‘telnet localhost 25’ for to make sure this port not blocked/inactive. Testing also on port 110, 143, 993, 995, 587 and 465

4. Find error on ‘log manager’ and ‘mail queue’


Additional info:

1. Sometimes, after Kloxo-MR update, qmail not work.

You can see in ‘Log Manager’ for IMAP error or SMTP error like ‘@400000005187cdc72b428044 tcpserver: fatal: unable to bind: address already used’.

For this situation, need reboot. Or running ‘qmailctl stop; qmailctl start’ (remember: ‘qmailctl restart’ not work).

It’s ok if appear something like ‘@40000000518752e21fc74ac4 tcpserver: status: 0/40’

via [TIP] How to setup Qmail on Kloxo-MR.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s