MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: MRatWork on 2013-04-29, 20:06:45

Title: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2013-04-29, 20:06:45
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 domains or subdomains 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"' in '/etc/sysconfig/network'

5. Reboot and then run 'hostname -f' and must be appear as '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'

Testing:
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'

2. Repair qmail:
Code: [Select]
qmailctl stop
yum reinstall *-toaster -y
sh /script/fixmail-all
qmailctl stop
qmailctl start

3. If still not work, run :
Code: [Select]
chmod 4755 /home/vpopmail/bin/vchkpw
qmailctl stop
qmailctl start

==============

NOTE:
- This information not accurate for latest Kloxo-MR (6.5.0.f-2013031825)
- Only command needed:
Code: [Select]
# fix mail issue
sh /script/fixmail-all

# better stop and start instead restart
qmailctl stop
qmailctl start

==============
NOTE:
- Reinstall Qmail-toaster
Code: [Select]
# uninstall toaster
yum remove *-toaster

# remove bin and config
rm -rf /var/qmail/

# install again (including clamav and spamd) and also other applications as dependencies
yum install *-toaster webalizer cronie cronie-anacron crontabs

# run fix mail config (qmail-toaster config and webmail)
sh /script/fixmail-all

# restart (using stop and start better for this situation rather than restart)
# to make stopped and may appear error message
qmailctl stop
# start
qmailctl start

if still something wrong:
Code: [Select]
sh /script/cleanup
sh /script/fix-all
sh /script/restart-all

and check with 'qmailctl stat' and will be appear:
Code: [Select]
[root@viv ~]# qmailctl stat
authlib: up (pid 802838) 27 seconds
clamd: up (pid 802811) 27 seconds
imap4: up (pid 803967) 0 seconds
imap4-ssl: up (pid 803954) 0 seconds
pop3: up (pid 803931) 1 seconds
pop3-ssl: up (pid 803919) 1 seconds
send: up (pid 803949) 1 seconds
smtp: up (pid 803959) 0 seconds
smtp-ssl: up (pid 803932) 1 seconds
spamd: up (pid 802843) 27 seconds
submission: up (pid 803922) 1 seconds
authlib/log: up (pid 802839) 27 seconds
clamd/log: up (pid 802813) 27 seconds
imap4-ssl/log: up (pid 802833) 27 seconds
imap4/log: up (pid 802828) 27 seconds
pop3-ssl/log: up (pid 802840) 27 seconds
pop3/log: up (pid 802827) 27 seconds
send/log: up (pid 802832) 27 seconds
smtp-ssl/log: up (pid 802834) 27 seconds
smtp/log: up (pid 802837) 27 seconds
spamd/log: up (pid 802822) 27 seconds
submission/log: up (pid 802847) 27 seconds
[root@viv ~]#

==============
NOTE: - for to make sure, receipent (gmail, yahoomail and others) not thinking your email as 'spam'
- Activate 'Enable Domainkey' in 'Server Mail Settings'
- In every domain, active 'Enable SPF' in 'EMail Auth' (also active 'Enable DMARC' as optional)
- As to provider to setup 'reverse-dns' for your server IP(s)
- Set 'hostname' with FQDN format (use 'server1.youdomain.com' instead 'server1')
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: insanity on 2013-04-30, 04:16:53
Mustafa,
Qmail-SMTP not work with these settings.
Code: [Select]
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000
    /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
    -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
    $SMTPD $VCHKPW /bin/true 2>&1

SMTP Error (535): Authentication failed.

@40000000517ee14314974f14 tcpserver: status: 0/500
@40000000517ee17b16a0bb74 tcpserver: status: 1/500
@40000000517ee17b16a3d46c tcpserver: pid 14423 from xx.xx.xx.xx
@40000000517ee17b16a58604 tcpserver: ok 14423 server....:xx.xx.xx.xx :xx.xx.xx.xx::40821
@40000000517ee180175b261c tcpserver: end 14423 status 0
@40000000517ee180175b31d4 tcpserver: status: 0/500

i saw Spacedust write a tip to change user to root, but then there is a new problem. When somebody add new email i need to run fixmail otherwise the new mail can't send too...
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Spacedust on 2013-04-30, 17:42:59
Quote from: "insanity"
Mustafa,
Qmail-SMTP not work with these settings.
Code: [Select]
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000
    /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
    -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
    $SMTPD $VCHKPW /bin/true 2>&1

SMTP Error (535): Authentication failed.

@40000000517ee14314974f14 tcpserver: status: 0/500
@40000000517ee17b16a0bb74 tcpserver: status: 1/500
@40000000517ee17b16a3d46c tcpserver: pid 14423 from xx.xx.xx.xx
@40000000517ee17b16a58604 tcpserver: ok 14423 server....:xx.xx.xx.xx :xx.xx.xx.xx::40821
@40000000517ee180175b261c tcpserver: end 14423 status 0
@40000000517ee180175b31d4 tcpserver: status: 0/500

i saw Spacedust write a tip to change user to root, but then there is a new problem. When somebody add new email i need to run fixmail otherwise the new mail can't send too...

I don't confirm this. It works perfectly for me with all the mods.

Make sure Spam Assassin works as admin, the rest as root.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Viking on 2013-05-01, 07:22:36
Spacedust using Centos 5.x Go to Centos 6.X and you'll see it does not work on that port.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Spacedust on 2013-05-01, 21:11:31
Quote from: "Viking"
Spacedust using Centos 5.x Go to Centos 6.X and you'll see it does not work on that port.

What about port 587 ? Do you use dynamic IP ?
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Viking on 2013-05-02, 18:57:33
No fixed IP. Port 587 does not work on the server, and it should.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Spacedust on 2013-05-02, 19:34:18
Quote from: "Viking"
No fixed IP. Port 587 does not work on the server, and it should.

Traffic counting does not work me right now too :/
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: quacos on 2013-05-08, 18:54:09
I have same problem of insanity.

POP3 and IMAP work, SMTP fails.

Log entries of /var/log/kloxo/maillog are like this:
vchkpw-smtp: vpopmail user not found

I am not on a updated kloxo, this is a fresh installation of Kloxo MR

I have already changed softlimit and reinstalled *-toaster
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Spacedust on 2013-05-08, 18:59:13
Quote from: "quacos"
I have same problem of insanity.

POP3 and IMAP work, SMTP fails.

Log entries of /var/log/kloxo/maillog are like this:
vchkpw-smtp: vpopmail user not found

I am not on a updated kloxo, this is a fresh installation of Kloxo MR

I have already changed softlimit and reinstalled *-toaster

ClamAV does not work with mail !
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: quacos on 2013-05-08, 19:54:35
OK, this is my situation

1) Current email accounts don't work on SMTP
2) mailaccount_add_failed when adding new accounts

BUT

if I do

/home/vpopmail/bin/vdeldomain
/home/vpopmail/bin/vadddomain

Everything is fine!
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: quacos on 2013-05-08, 20:08:47
Looking in the log:

./user_cmd:14:59 May/08/2013: () 7797 '/home/vpopmail/bin/vadduser' [...] sh: /home/vpopmail/bin/vadduser: Permission denied

But why? Permissions seem to be correct

-rwxr-x--x 1 vpopmail vchkpw 104896 Jan 22 15:25 /home/vpopmail/bin/vadduser
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: WISTFUL on 2013-06-20, 20:42:12
Hello,

I still have not acted in accordance with these guidelines.

My current problem is that when I send email via webmail to gmail or emails with personal provider, It works perfectly but when I send email to yahoo provider, I reseive below failure notice
Code: [Select]
Hi. This is the qmail-send program at xxxx.domain.ltd.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<xxx@yahoo.com>:
Connected to 66.196.118.240 but greeting failed.
Remote host said: 421 4.7.1 [TS03] All messages from xxx.xxx.xxx.xx will be permanently deferred; Retrying will NOT succeed. See http://postmaster.yahoo.com/421-ts03.html
I'm not going to try again; this message has been in the queue too long.
Do you offer that I will act in accordance with these guidelines?
(In case of a disruption in the webmail system may lose my clients)
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2013-06-20, 20:55:58
@WISTFUL,

Have you read http://postmaster.yahoo.com/421-ts03.html (http://postmaster.yahoo.com/421-ts03.html) and http://help.yahoo.com/kb/index?page=con ... sions=true (http://help.yahoo.com/kb/index?page=content&y=PROD_MAIL_ML&locale=en_US&id=SLN3326&impressions=true) ?
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: WISTFUL on 2013-06-21, 09:25:53
Quote from: "MRatWork"
@WISTFUL,

Have you read http://postmaster.yahoo.com/421-ts03.html (http://postmaster.yahoo.com/421-ts03.html) and http://help.yahoo.com/kb/index?page=con ... sions=true (http://help.yahoo.com/kb/index?page=content&y=PROD_MAIL_ML&locale=en_US&id=SLN3326&impressions=true) ?
I am not familiar with mail system settings and I have above issue by kloxo webmail default configurations. Also all mails that will be sent automatically from my server to yahoo, facing with this failure notice error that I have not access to their settings.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2013-06-25, 23:53:11
Have you click 'Enable SPF' on 'Mail Auth' and ask to your provider for reverse-dns for your ip?.

Error:
Code: [Select]
Hi. This is the qmail-send program at xxxx.domain.ltd.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
that mean your email target not exist and or their server not exist/active.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: rAXv2 on 2013-06-26, 14:22:31
getting error after update...

Code: [Select]
 mailaccount_add_failed
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2013-06-26, 15:50:51
restart qmail with 'qmailctl stop; qmailctl start' and kloxo with 'sh /script/restart'.

Qmail need 'special treatment' because not using 'standard' service but 'supervise' service. Example, 'qmailctl restart' not the same effect with 'qmailctl stop; qmailctl start'
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Spacedust on 2013-06-26, 16:18:45
This is the only solution !

/etc/rc.d/init.d/qmail stop
/etc/rc.d/init.d/qmail start
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2013-06-26, 16:22:00
Quote from: "Spacedust"
This is the only solution !

/etc/rc.d/init.d/qmail stop
/etc/rc.d/init.d/qmail start
It's the same way with:
Code: [Select]
qmailctl stop
qmailctl start
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Spacedust on 2013-06-26, 16:24:24
Quote from: "MRatWork"
Quote from: "Spacedust"
This is the only solution !

/etc/rc.d/init.d/qmail stop
/etc/rc.d/init.d/qmail start
It's the same way with:
Code: [Select]
qmailctl stop
qmailctl start

I didn't know. Exactly :)
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2013-06-26, 16:28:07
Or:
Code: [Select]
service qmail stop
service qmail start
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: WISTFUL on 2013-06-27, 13:24:18
Quote from: "MRatWork"
Have you click 'Enable SPF' on 'Mail Auth' and ask to your provider for reverse-dns for your ip?.

Error:
Code: [Select]
Hi. This is the qmail-send program at xxxx.domain.ltd.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
that mean your email target not exist and or their server not exist/active.

I set my Server Mail according (this instruction) (http://forum.lxcenter.org/index.php?t=msg&th=14524&goto=76683&#msg_76683).

So I set "server.mydomain.ltd" to below values:

* Server Mail Settings > My name
* Information > FQDN Hostname
* reverse-dns of My server IP

Then I upgrade my kloxo-mr from 6.5.0.f-2013031808 to 6.5.0.f-2013031825 as Final Release.

Also according (this instruction) (http://www.webhostingtalk.com/showthread.php?t=1174417) I change permission of "qmail-dk" to "4755"

Now my issue still not solved and I can only send email to gmail and personal domains (no any yahoo addresses) via webmail.

Also every some times I get 3 emails from lfd firewall with below content for port 25 and 587 and 465:

lfd on vmi775: Suspicious process running under user qmaild
Code: [Select]
Time:    Thu Jun 27 06:14:30 2013 +0000
PID:     4471 (Parent PID:1273)
Account: qmaild
Uptime:  109 seconds


Executable:

/usr/bin/tcpserver


Command Line (often faked in exploits):

/usr/bin/tcpserver -v -R -H -l vmi775 -x /etc/tcprules.d/tcp.smtp.cdb -c 100 -u 7791 -g 2108 0 25 /usr/bin/recordio /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true


Network connections by the process (if any):

tcp: 0.0.0.0:25 -> 0.0.0.0:0


Files open by the process (if any):



Memory maps by the process (if any):

00400000-0040c000 r-xp 00000000 fc:01 6818281                            /usr/bin/tcpserver
0060c000-0060d000 rw-p 0000c000 fc:01 6818281                            /usr/bin/tcpserver
0060d000-0060e000 rw-p 00000000 00:00 0
01940000-01961000 rw-p 00000000 00:00 0                                  [heap]
393b800000-393b820000 r-xp 00000000 fc:01 7864349                        /lib64/ld-2.12.so
393ba1f000-393ba20000 r--p 0001f000 fc:01 7864349                        /lib64/ld-2.12.so
393ba20000-393ba21000 rw-p 00020000 fc:01 7864349                        /lib64/ld-2.12.so
393ba21000-393ba22000 rw-p 00000000 00:00 0
393bc00000-393bd8a000 r-xp 00000000 fc:01 7864395                        /lib64/libc-2.12.so
393bd8a000-393bf89000 ---p 0018a000 fc:01 7864395                        /lib64/libc-2.12.so
393bf89000-393bf8d000 r--p 00189000 fc:01 7864395                        /lib64/libc-2.12.so
393bf8d000-393bf8e000 rw-p 0018d000 fc:01 7864395                        /lib64/libc-2.12.so
393bf8e000-393bf93000 rw-p 00000000 00:00 0
7f10b8441000-7f10b8444000 rw-p 00000000 00:00 0
7f10b844c000-7f10b844d000 rw-p 00000000 00:00 0
7fff46b5b000-7fff46b70000 rw-p 00000000 00:00 0                          [stack]
7fff46b9a000-7fff46b9b000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2013-06-27, 13:51:44
If only certain accounts not accept your mail that mean nothing wrong with send/smtp.

Command of '/usr/bin/tcpserver -v -R -H -l vmi775 -x /etc/tcprules.d/tcp.smtp.cdb -c 100 -u 7791 -g 2108 0 25 /usr/bin/recordio /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true' is 'run' supervise for smtp (port 25) by qmail. Nothing wrong with it and you don't need '4755' for 'qmail-dk'.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: WISTFUL on 2013-06-27, 14:06:29
As I said before, I still have not set Qmail on Kloxo-MR according to the first post of this topic.
In your opinion, set Qmail on Kloxo-MR instruction, will solve my issue?
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: WISTFUL on 2013-06-28, 19:32:59
Quote from: "WISTFUL"
Hello,

I still have not acted in accordance with these guidelines.

My current problem is that when I send email via webmail to gmail or emails with personal provider, It works perfectly but when I send email to yahoo provider, I reseive below failure notice
Code: [Select]
Hi. This is the qmail-send program at xxxx.domain.ltd.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<xxx@yahoo.com>:
Connected to 66.196.118.240 but greeting failed.
Remote host said: 421 4.7.1 [TS03] All messages from xxx.xxx.xxx.xx will be permanently deferred; Retrying will NOT succeed. See http://postmaster.yahoo.com/421-ts03.html
I'm not going to try again; this message has been in the queue too long.
Do you offer that I will act in accordance with these guidelines?
(In case of a disruption in the webmail system may lose my clients)

I realized that It is because my server IP goes to yahoo black list for unknown reasons.

I've sent below form and I hope it can help me:
http://help.yahoo.com/l/us/yahoo/mail/p ... ulkv2.html (http://help.yahoo.com/l/us/yahoo/mail/postmaster/bulkv2.html)
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-10, 19:22:35
Tried everything. But don't have luck :(

When I give command sh /script/fixmail-all then:

- 'postmaster@domain.org' ('blabla') at 'localhost'
maildirmake: /postmaster/Maildir/.Drafts: File exists
maildirmake: /postmaster/Maildir/.Sent: File exists
maildirmake: /postmaster/Maildir/.Trash: File exists
maildirmake: /postmaster/Maildir/.Spam: File exists
sh: /usr/bin/vpasswd postmaster@domain.org Password 2>&1': No such file or directory
sh: /usr/bin/vmoduser -x postmaster@domain.org 2>&1': No such file or directory
sh: /usr/bin/vsetuserquota postmaster@domain.org NOQUOTA 2>&1': No such file or directory

copied vpasswd to /usr/bin from /home/vpopmail/bin
But it's same.

give this command from shell: /usr/bin/vpasswd postmaster@domain.org Password
then error like this:
Error. Domain selengehudulmur.com was not found in the assign file

Can't find cause. Please help me.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2015-01-10, 22:19:56
@almas,

Inform here 'sh /script/sysinfo'. Did you update from Kloxo official 6.1.x?.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-10, 22:43:38
Yes updated from kloxo official.
But it was worked when after upgrade.

I have quota problem on my OpenVZ VPS and after that I did yum update and problem occured.

Here is sysinfo

[root@server ~]# sh /script/sysinfo

/usr/bin/cat: /etc/*release: No such file or directory
rpmq: no arguments given for query
rpmq: no arguments given for query
rpmq: no arguments given for query
rpmq: no arguments given for query

A. Kloxo-MR: 7.0.0.b-2015010905

B. OS:  x86_64

C. Apps:
   1. MySQL: --uninstalled--
   2. PHP: --uninstalled--
   3. Httpd: httpd-2.2.29-1.mr.el5
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.10.1-f.1.mr.el5
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: --uninstalled--
   9. Qmail: qmail-toaster-1.03-1.3.45.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el5

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7347       2471       4876          0          0       1636
   -/+ buffers/cache:        834       6513
   Swap:         2048         10       2037




Also I did fix-chownchmod that mentioned before. But this bug occured:
http://forum.mratwork.com/kloxo-mr-bugs-and-requests/fix-chownchmod-error/

Also some info is false here:
   1. MySQL: --uninstalled-- (Installed mysql55)
   2. PHP: --uninstalled-- (Installed php-fpm)
   8. Dns: --uninstalled-- (Insalled nsd)

My System: CentOS 5.11
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2015-01-10, 22:51:41
Look like something wrong with your OS. Try reinstall with 'sh /script/upcp -y; sh /script/convert-to-qmailtoaster'
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-10, 23:16:48
Tried reinstall with 'sh /script/upcp -y; sh /script/convert-to-qmailtoaster'
and rebooted
But error still same. Also sh /script/sysinfo info is same as above

My system is CentOS5.11

Any other suggestions?
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2015-01-10, 23:22:56
Inform here 'yum list installed mysql* php* *-toaster'.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-10, 23:25:00
Thank you very much for helping :)

[root@server script]# yum list installed mysql* php* *-toaster
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * addons: mirror.sanctuaryhost.com
 * base: centos.mia.host-engine.com
 * extras: mirror.ash.fastserv.com
 * mratwork-epel: www.gtlib.gatech.edu
 * mratwork-ius-stable: mirror.symnds.com
 * openvz-kernel-rhel5: mirror.steadfast.net
 * openvz-utils: mirror.steadfast.net
 * updates: centos.mirror.nac.net
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
Installed Packages
autorespond-toaster.x86_64                                              2.0.5-1.4.2.mr.el5                                              installed
control-panel-toaster.noarch                                            0.5-1.4.1.mr                                                    installed
courier-authlib-toaster.x86_64                                          0.59.2-1.3.13.mr.el5                                            installed
courier-imap-toaster.x86_64                                             4.1.2-1.3.18.mr.el5                                             installed
daemontools-toaster.x86_64                                              0.76-1.3.7.mr.el5                                               installed
ezmlm-toaster.x86_64                                                    0.53.324-1.3.9.mr.el5                                           installed
libdomainkeys-toaster.x86_64                                            0.68-1.3.7.mr.el5                                               installed
libsrs2-toaster.x86_64                                                  1.0.18-1.3.7.mr.el5                                             installed
maildrop-toaster.x86_64                                                 2.0.3-1.3.9.mr.el5                                              installed
qmail-pop3d-toaster.x86_64                                              1.03-1.3.45.mr.el5                                              installed
qmail-toaster.x86_64                                                    1.03-1.3.45.mr.el5                                              installed
ripmime-toaster.x86_64                                                  1.4.0.6-1.3.8.mr.el5                                            installed
send-emails-toaster.noarch                                              0.5-1.4.1.mr                                                    installed
simscan-toaster.x86_64                                                  1.4.0-1.4.2.mr.el5                                              installed
spamassassin-toaster.x86_64                                             3.4.0-1.4.6.mr.el5                                              installed
squirrelmail-toaster.noarch                                             1.4.20-1.3.18.mr                                                installed
ucspi-tcp-toaster.x86_64                                                0.88-1.3.11.mr.el5                                              installed
vpopmail-toaster.x86_64                                                 5.4.33-1.4.4.mr.el5                                             installed
[root@server script]#
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2015-01-11, 00:25:32
Look like mysql55 and php53u not installed in your server. This issue possible happen if you have other repos make conflict with mratwork.repo.

Inform here 'dir -l /etc/yum.repos.d'.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-11, 08:49:12
oh. It's allready installed :(

Package mysql55-5.5.41-2.ius.el5.x86_64 already installed and latest version
Package php53u-5.3.29-1.ius.el5.x86_64 already installed and latest version

I made enabled=0 on other repos.

-rw-r--r-- 1 root root 2049 ???  7 23:54 CentOS-Base.repo
-rw-r--r-- 1 root root  645 ??? 19 13:16 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  277 ??? 19 13:16 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  626 ??? 19 13:16 CentOS-Media.repo
-rw-r--r-- 1 root root 1330 ??? 19 13:16 CentOS-Sources.repo
-rw-r--r-- 1 root root 8315 ??? 19 13:16 CentOS-Vault.repo
-rw-r--r-- 1 root root 1054 ??? 11  2010 epel-testing.repo
-rw-r--r-- 1 root root  191 ???  3  2014 lxlabs.repo.lxsave
-rw-r--r-- 1 root root  739 ??? 12  2010 mirrors-rpmforge
-rw-r--r-- 1 root root  717 ??? 12  2010 mirrors-rpmforge-extras
-rw-r--r-- 1 root root  728 ??? 12  2010 mirrors-rpmforge-testing
-rw-r--r-- 1 root root  123 ??? 10 21:09 mod-pagespeed.repo
-rw-r--r-- 1 root root  667 ??? 19  2013 mod_securty_testing.repo
-rw-r--r-- 1 root root 6596 ??? 10 23:52 mratwork.repo
-rw-r--r-- 1 root root 6596 ??? 18 13:08 mratwork.repo.rpmsave
-rw-r--r-- 1 root root 2120 ??? 25  2013 openvz.repo
-rw-r--r-- 1 root root 2298 ??? 24  2014 remi.repo
-rw-r--r-- 1 root root 1113 ??? 18  2013 rpmforge.repo
-rw-r--r-- 1 root root  166 ??? 28  2013 ruby187.repo
-rw-r--r-- 1 root root  219 ??? 22  2013 vz.repo
-rw-r--r-- 1 root root  829 ??? 10 00:22 webtatic.repo
-rw-r--r-- 1 root root  834 ??? 16  2013 webtatic.repo.rpmnew

mmm... Now it's:

[root@server wp-includes]# yum list installed mysql* php* *-toaster
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * addons: mirror.sanctuaryhost.com
 * base: centos.mia.host-engine.com
 * extras: mirror.ash.fastserv.com
 * mratwork-epel: www.gtlib.gatech.edu
 * mratwork-ius-stable: mirror.symnds.com
 * openvz-kernel-rhel5: mirror.steadfast.net
 * openvz-utils: mirror.steadfast.net
 * updates: centos.mirror.nac.net
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
Installed Packages
autorespond-toaster.x86_64              2.0.5-1.4.2.mr.el5             installed
control-panel-toaster.noarch            0.5-1.4.1.mr                   installed
courier-authlib-toaster.x86_64          0.59.2-1.3.13.mr.el5           installed
courier-imap-toaster.x86_64             4.1.2-1.3.18.mr.el5            installed
daemontools-toaster.x86_64              0.76-1.3.7.mr.el5              installed
ezmlm-toaster.x86_64                    0.53.324-1.3.9.mr.el5          installed
libdomainkeys-toaster.x86_64            0.68-1.3.7.mr.el5              installed
libsrs2-toaster.x86_64                  1.0.18-1.3.7.mr.el5            installed
maildrop-toaster.x86_64                 2.0.3-1.3.9.mr.el5             installed
mysql55.x86_64                          5.5.41-2.ius.el5               installed
mysql55-libs.x86_64                     5.5.41-2.ius.el5               installed
mysql55-server.x86_64                   5.5.41-2.ius.el5               installed
mysqlclient15.x86_64                    5.0.92-3.ius.el5               installed
php53s.x86_64                           5.3.28-4.mr.el5                installed
php53s-cli.x86_64                       5.3.28-4.mr.el5                installed
php53s-common.x86_64                    5.3.28-4.mr.el5                installed
php53u.x86_64                           5.3.29-1.ius.el5               installed
php53u-cli.x86_64                       5.3.29-1.ius.el5               installed
php53u-common.x86_64                    5.3.29-1.ius.el5               installed
php53u-mysql.x86_64                     5.3.29-1.ius.el5               installed
php53u-pdo.x86_64                       5.3.29-1.ius.el5               installed
qmail-pop3d-toaster.x86_64              1.03-1.3.45.mr.el5             installed
qmail-toaster.x86_64                    1.03-1.3.45.mr.el5             installed
ripmime-toaster.x86_64                  1.4.0.6-1.3.8.mr.el5           installed
send-emails-toaster.noarch              0.5-1.4.1.mr                   installed
simscan-toaster.x86_64                  1.4.0-1.4.2.mr.el5             installed
spamassassin-toaster.x86_64             3.4.0-1.4.6.mr.el5             installed
squirrelmail-toaster.noarch             1.4.20-1.3.18.mr               installed
ucspi-tcp-toaster.x86_64                0.88-1.3.11.mr.el5             installed
vpopmail-toaster.x86_64                 5.4.33-1.4.4.mr.el5            installed



Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2015-01-11, 08:57:47
Your issue related to so many repos with the same 'functions'.

mratwork.repo is repo for many source (kloxo/mratwork, epel, ius and etcetera). So, delele epel-testing.repo, lxlabs.repo.lxsave, mirrors-rpmforge, mirrors-rpmforge-extras, mirrors-rpmforge-testing, mod-pagespeed.repo, mod_securty_testing.repo, mratwork.repo.rpmsave, remi.repo, rpmforge.repo, webtatic.repo and webtatic.repo.rpmnew
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-11, 09:32:14
Deleted repos. Now:
[root@server ~]# dir -l /etc/yum.repos.d
total 52
-rw-r--r-- 1 root root 2049 ???  7 23:54 CentOS-Base.repo
-rw-r--r-- 1 root root  645 ??? 19 13:16 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  277 ??? 19 13:16 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  626 ??? 19 13:16 CentOS-Media.repo
-rw-r--r-- 1 root root 1330 ??? 19 13:16 CentOS-Sources.repo
-rw-r--r-- 1 root root 8315 ??? 19 13:16 CentOS-Vault.repo
-rw-r--r-- 1 root root 6596 ??? 11 10:01 mratwork.repo
-rw-r--r-- 1 root root 2120 ??? 25  2013 openvz.repo
-rw-r--r-- 1 root root  166 ??? 28  2013 ruby187.repo
-rw-r--r-- 1 root root  219 ??? 22  2013 vz.repo


Then did 'yum clean all; yum update; sh /script/upcp -y; sh /script/convert-to-qmailtoaster'

Still same.

sh /script/sysinfo
is also doesn't correct. :(
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2015-01-11, 09:41:05
Try reinstall with 'sh /script/upcp -y'.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-11, 09:41:53
I did it allready after I removed repos. Can I downgrade to Kloxo-MR 6.5.0.f? And can it fix this issue?

I did :

 'yum clean all; yum update; sh /script/upcp -y; sh /script/convert-to-qmailtoaster'
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: Almas on 2015-01-11, 21:29:51
Downgraded and fixed.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: budibudi on 2015-03-31, 10:38:10
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 domains or subdomains 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"' in '/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'

Testing:
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'

2. Repair qmail:
Code: [Select]
qmailctl stop
yum reinstall *-toaster
sh /script/fixmail-all
qmailctl stop
qmailctl start

3. If still not work, run :
Code: [Select]
chmod 4755 /home/vpopmail/bin/vchkpw
qmailctl stop
qmailctl start

==============

NOTE:
- This information not accurate for latest Kloxo-MR (6.5.0.f-2013031825)
- Only command needed:
Code: [Select]
# fix mail issue
sh /script/fixmail-all

# better stop and start instead restart
qmailctl stop
qmailctl start

==============
NOTE:
- Reinstall Qmail-toaster
Code: [Select]
# uninstall toaster
yum remove *-toaster

# remove bin and config
rm -rf /var/qmail/

# install again (including clamav and spamd) and also other applications as dependencies
yum install *-toaster webalizer cronie cronie-anacron crontabs

# run fix mail config (qmail-toaster config and webmail)
sh /script/fixmail-all

# restart (using stop and start better for this situation rather than restart)
# to make stopped and may appear error message
qmailctl stop
# start
qmailctl start

if still something wrong:
Code: [Select]
sh /script/cleanup
sh /script/fix-all
sh /script/restart-all

and check with 'qmailctl stat' and will be appear:
Code: [Select]
[root@viv ~]# qmailctl stat
authlib: up (pid 802838) 27 seconds
clamd: up (pid 802811) 27 seconds
imap4: up (pid 803967) 0 seconds
imap4-ssl: up (pid 803954) 0 seconds
pop3: up (pid 803931) 1 seconds
pop3-ssl: up (pid 803919) 1 seconds
send: up (pid 803949) 1 seconds
smtp: up (pid 803959) 0 seconds
smtp-ssl: up (pid 803932) 1 seconds
spamd: up (pid 802843) 27 seconds
submission: up (pid 803922) 1 seconds
authlib/log: up (pid 802839) 27 seconds
clamd/log: up (pid 802813) 27 seconds
imap4-ssl/log: up (pid 802833) 27 seconds
imap4/log: up (pid 802828) 27 seconds
pop3-ssl/log: up (pid 802840) 27 seconds
pop3/log: up (pid 802827) 27 seconds
send/log: up (pid 802832) 27 seconds
smtp-ssl/log: up (pid 802834) 27 seconds
smtp/log: up (pid 802837) 27 seconds
spamd/log: up (pid 802822) 27 seconds
submission/log: up (pid 802847) 27 seconds
[root@viv ~]#

==============
NOTE: - for to make sure, receipent (gmail, yahoomail and others) not thinking your email as 'spam'
- Activate 'Enable Domainkey' in 'Server Mail Settings'
- In every domain, active 'Enable SPF' in 'Mail Auth'
- As to provider to setup 'reverse-dns' for your server IP(s)

Saya sdh men-setting sesuai dengan di atas, saya sdh bisa mengirim email dgn baik (masuk inbox), kendalanya tidak bisa menerima email.

Saya menggunakan:
Quote
[root@server2 /]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2015010801

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.42-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.48.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.5-1.el6.x86_64

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        400        623          3          0        169
   -/+ buffers/cache:        230        793
   Swap:          128          0        128

Setelah saya cek, di mail log terdapat error:
Quote
Mar 31 10:00:00 server2 spamdyke[9013]: DENIED_RDNS_MISSING from: budibudi61@gmail.com to: marketing@smartindo-access.com origin_ip: 209.85.212.176 origin_rdns: (unknown) auth: (unknown) encryption: TLS reason: (empty)

Saya sdh cek disini https://www.2large.co.za/spamdyke , DENIED_RDNS_MISSING artinya ditolak karena reverse DNS blm diisikan. Padahal reverse DNS sdh saya setting sesuai dengan hostname.

Saya cek sdh mengarah ke subdomain hostname (tgl setting: 28 Maret 2015, propagansi biasanya 24-48 jam):
Quote
[root@server2 /]# host 167.114.153.36
36.153.114.167.in-addr.arpa domain name pointer server2.smartindo-access.com.

Saya jg sdh cek di http://www.smtpport.com/about/#check , port 25 tidak diblok oleh ISP

Apakah yg perlu saya setting lgi agar fungsi menerima email dpt berjalan dgn baik?

Mohon bantuannya, terima kasih.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2015-03-31, 10:42:35
Rdns harus minta ke provider untuk disetting. Hanya yang mengelola IP subclass-C ke atas (256+) yang bisa melakukan setting rdns.

Sebaiknya anda buat thread baru untuk masalah anda ini. Thread yang terlalu lama bisa terlewatkan.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: tomo on 2016-08-22, 22:22:32
Pak mustafa, kenapa yaa saya coba mengirim email tidak bisa dari mail host saya,,saya cek di log manager tidak ada pesan error.
Terus pada web mail list yang berhasil login hanya roundcube dan squirrelmail saja tapi tidak mengirim email,,kalo lewat rainloop saya tidak bisa login pesan nya "Domain is not allowed"
untuk Afterlogic dan Telaen tidak bisa di akses,,mohon arahannya :D
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2016-08-23, 01:50:27
Pak mustafa, kenapa yaa saya coba mengirim email tidak bisa dari mail host saya,,saya cek di log manager tidak ada pesan error.
Terus pada web mail list yang berhasil login hanya roundcube dan squirrelmail saja tapi tidak mengirim email,,kalo lewat rainloop saya tidak bisa login pesan nya "Domain is not allowed"
untuk Afterlogic dan Telaen tidak bisa di akses,,mohon arahannya :D
Silahkan buat thread baru dengan menginfokan 'sh /script/sysinfo'.
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: ay on 2017-07-23, 18:49:51
Kalau saya ada masalah reinstall qmail sepertinya pada command
Quote
yum install *-toaster webalizer cronie cronie-anacron crontabs

karena hasilnya:

Quote
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: it.centos.contactlab.it
 * epel: mirror.daniel-jost.net
 * extras: it.centos.contactlab.it
 * mratwork-epel: mirror.daniel-jost.net
 * mratwork-ius-archive: lon.mirror.rackspace.com
 * mratwork-ius-stable: lon.mirror.rackspace.com
 * mratwork-release-neutral-noarch: rpms.mratwork.com
 * mratwork-release-version-arch: rpms.mratwork.com
 * mratwork-webtatic: uk.repo.webtatic.com
 * updates: it.centos.contactlab.it
0 packages excluded due to repository protections
Package ripmime-toaster is obsoleted by simscan-toaster, trying to install simscan-toaster-1.4.0-1.4.8.mr.el7.x86_64 instead
Package qmail-pop3d-toaster is obsoleted by courier-imap-toaster, trying to install courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64 instead
Package webalizer-2.23_08-6.el7.x86_64 already installed and latest version
Package cronie-1.4.11-14.el7_2.1.x86_64 already installed and latest version
Package cronie-anacron-1.4.11-14.el7_2.1.x86_64 already installed and latest version
Package crontabs-1.11-6.20121102git.el7.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autorespond-toaster.x86_64 0:2.0.5-1.4.2.mr.el7 will be installed
---> Package control-panel-toaster.noarch 0:0.5-1.4.1.mr will be installed
--> Processing Dependency: php >= 5.1.6 for package: control-panel-toaster-0.5-1.4.1.mr.noarch
---> Package courier-authlib-toaster.x86_64 0:0.59.2-1.3.13.mr.el7 will be installed
---> Package courier-imap-toaster.x86_64 0:4.1.2-1.3.20.mr.el7 will be installed
---> Package daemontools-toaster.x86_64 0:0.76-1.3.7.mr.el7 will be installed
---> Package dovecot-toaster.x86_64 1:2.2.24-1.mr.el7 will be installed
---> Package ezmlm-cgi-toaster.x86_64 0:0.53.324-1.3.9.mr.el7 will be installed
---> Package ezmlm-toaster.x86_64 0:0.53.324-1.3.9.mr.el7 will be installed
---> Package isoqlog-toaster.x86_64 0:2.1-1.3.8.mr.el7 will be installed
---> Package libdomainkeys-toaster.x86_64 0:0.68-1.3.7.mr.el7 will be installed
---> Package libsrs2-toaster.x86_64 0:1.0.18-1.3.7.mr.el7 will be installed
---> Package maildrop-toaster.x86_64 0:2.0.3-1.3.10.mr.el7 will be installed
---> Package qmail-toaster.x86_64 0:1.03-1.3.56.mr.el7 will be installed
---> Package qmailadmin-toaster.x86_64 0:1.2.16-1.4.1.mr.el7 will be installed
---> Package qmailmrtg-toaster.x86_64 0:4.2-1.3.8.mr.el7 will be installed
--> Processing Dependency: vixie-cron for package: qmailmrtg-toaster-4.2-1.3.8.mr.el7.x86_64
--> Processing Dependency: mrtg for package: qmailmrtg-toaster-4.2-1.3.8.mr.el7.x86_64
---> Package send-emails-toaster.noarch 0:0.5-1.4.1.mr will be installed
---> Package simscan-toaster.x86_64 0:1.4.0-1.4.8.mr.el7 will be installed
---> Package spamassassin-toaster.x86_64 0:3.4.1-1.4.7.mr.el7 will be installed
--> Processing Dependency: perl(NetAddr::IP) >= 4.000 for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(IO::Zlib) >= 1.04 for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Archive::Tar) >= 1.23 for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: procmail for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(version) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(NetAddr::IP) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Net::Patricia) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Net::CIDR::Lite) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Mail::SPF) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(IO::Socket::INET6) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Geo::IP) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Encode::Detect) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Digest::SHA1) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
--> Processing Dependency: perl(Archive::Tar) for package: spamassassin-toaster-3.4.1-1.4.7.mr.el7.x86_64
---> Package squirrelmail-toaster.noarch 0:1.4.20-1.3.18.mr will be installed
---> Package ucspi-tcp-toaster.x86_64 0:0.88-1.3.12.mr.el7 will be installed
---> Package vpopmail-toaster.x86_64 0:5.4.33-1.4.4.mr.el7 will be installed
--> Running transaction check
---> Package mod_php71u.x86_64 0:7.1.7-1.ius.centos7 will be installed
--> Processing Dependency: php-common(x86-64) = 7.1.7-1.ius.centos7 for package: mod_php71u-7.1.7-1.ius.centos7.x86_64
---> Package mrtg.x86_64 0:2.17.4-11.el7 will be installed
--> Processing Dependency: perl-Socket6 for package: mrtg-2.17.4-11.el7.x86_64
--> Processing Dependency: perl(SNMP_Session) for package: mrtg-2.17.4-11.el7.x86_64
--> Processing Dependency: perl(BER) for package: mrtg-2.17.4-11.el7.x86_64
---> Package perl-Archive-Tar.noarch 0:1.92-2.el7 will be installed
--> Processing Dependency: perl(Package::Constants) for package: perl-Archive-Tar-1.92-2.el7.noarch
---> Package perl-Digest-SHA1.x86_64 0:2.13-9.el7 will be installed
---> Package perl-Encode-Detect.x86_64 0:1.01-13.el7 will be installed
---> Package perl-Geo-IP.x86_64 0:1.43-3.el7 will be installed
---> Package perl-IO-Socket-INET6.noarch 0:2.69-5.el7 will be installed
---> Package perl-IO-Zlib.noarch 1:1.10-291.el7 will be installed
---> Package perl-Mail-SPF.noarch 0:2.8.0-4.el7 will be installed
---> Package perl-Net-CIDR-Lite.noarch 0:0.21-11.el7 will be installed
---> Package perl-Net-Patricia.x86_64 0:1.22-6.el7 will be installed
---> Package perl-NetAddr-IP.x86_64 0:4.069-3.el7 will be installed
---> Package perl-version.x86_64 3:0.99.07-2.el7 will be installed
---> Package procmail.x86_64 0:3.22-35.el7 will be installed
---> Package qmailmrtg-toaster.x86_64 0:4.2-1.3.8.mr.el7 will be installed
--> Processing Dependency: vixie-cron for package: qmailmrtg-toaster-4.2-1.3.8.mr.el7.x86_64
--> Running transaction check
---> Package perl-Package-Constants.noarch 1:0.02-291.el7 will be installed
---> Package perl-SNMP_Session.noarch 0:1.13-5.el7 will be installed
---> Package perl-Socket6.x86_64 0:0.23-15.el7 will be installed
---> Package php71u-common.x86_64 0:7.1.7-1.ius.centos7 will be installed
---> Package qmailmrtg-toaster.x86_64 0:4.2-1.3.8.mr.el7 will be installed
--> Processing Dependency: vixie-cron for package: qmailmrtg-toaster-4.2-1.3.8.mr.el7.x86_64
--> Processing Conflict: php71u-common-7.1.7-1.ius.centos7.x86_64 conflicts php-common < 7.1.7-1.ius.centos7
--> Finished Dependency Resolution
Error: php71u-common conflicts with php71w-common-7.1.6-1.w7.x86_64
Error: Package: qmailmrtg-toaster-4.2-1.3.8.mr.el7.x86_64 (mratwork-release-version-arch)
           Requires: vixie-cron
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

sehingga ketika di jalankan command 'qmailctl stop' dan 'qmailctl start' hasilnya :
Quote
-bash: /usr/bin/qmailctl: No such file or directory

Mohon solusinya pak Mustafa Ramadhan.
Terimakasih
Title: Re: [TIP] How to setup Qmail on Kloxo-MR
Post by: MRatWork on 2017-07-24, 04:18:02
Sebaiknya pakai php56u untuk 'php branch' untuk meminimalis conflict.