MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: WISTFUL on 2013-06-27, 20:18:03

Title: qmail-toaster reinstall issue
Post by: WISTFUL on 2013-06-27, 20:18:03
I've tried remove and install qmail-toaster with:
Code: [Select]
yum remove *-toaster
rm -rf /var/qmail/
yum install *-toaster webalizer cronie cronie-anacron crontabs
sh /script/fixmail-all
qmailctl stop
qmailctl start
Now when I try to send email from remote server to my kloxo, get bellow "Undelivered Mail Returned to Sender" mail:
Code: [Select]
<info@domain.ltd>: host mail.domain.ltd[xxx.xxx.xxx.xxx] said: 553 5.7.1
    sorry, that domain isn't in my list of allowed rcpthosts (chkuser) (in
    reply to RCPT TO command)



Reporting-MTA: dns; us2.outbound.mailhostbox.com
X-Postfix-Queue-ID: B53E5600500
X-Postfix-Sender: rfc822; admin@remote-address.com
Arrival-Date: Thu, 27 Jun 2013 13:33:57 +0000 (GMT)

Final-Recipient: rfc822; info@domain.ltd
Original-Recipient: rfc822;info@domain.ltd
Action: failed
Status: 5.7.1
Remote-MTA: dns; mail.domain.ltd
Diagnostic-Code: smtp; 553 5.7.1 sorry, that domain isn't in my list of allowed
    rcpthosts (chkuser)
Title: Re: qmail-toaster reinstall issue
Post by: WISTFUL on 2013-06-27, 20:24:04
Also:
# qmailctl stop
Code: [Select]
Stopping qmail-toaster: svscan qmailsvc: warning: unable to control /var/qmail/supervise/authlib: file does not exist
svc: warning: unable to control /var/qmail/supervise/clamd: file does not exist
svc: warning: unable to control /var/qmail/supervise/imap4: file does not exist
svc: warning: unable to control /var/qmail/supervise/imap4-ssl: file does not exist
svc: warning: unable to control /var/qmail/supervise/pop3: file does not exist
svc: warning: unable to control /var/qmail/supervise/pop3-ssl: file does not exist
svc: warning: unable to control /var/qmail/supervise/send: file does not exist
svc: warning: unable to control /var/qmail/supervise/smtp: file does not exist
svc: warning: unable to control /var/qmail/supervise/smtp-ssl: file does not exist
svc: warning: unable to control /var/qmail/supervise/spamd: file does not exist
svc: warning: unable to control /var/qmail/supervise/submission: file does not exist
 loggingsvc: warning: unable to control /var/qmail/supervise/authlib/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/clamd/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/imap4/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/imap4-ssl/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/pop3/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/pop3-ssl/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/send/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/smtp/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/smtp-ssl/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/spamd/log: file does not exist
svc: warning: unable to control /var/qmail/supervise/submission/log: file does not exist
.
# qmailctl start
Code: [Select]
Starting qmail-toaster: svscan.
Title: Re: qmail-toaster reinstall issue
Post by: MRatWork on 2013-06-27, 20:33:14
What's you mean 'remote server'?. This server using smtp in your kloxo server?.

Check inside '/var/qmail/control/rcphosts'. This file must content all domains/subdomains.
Title: Re: qmail-toaster reinstall issue
Post by: WISTFUL on 2013-06-27, 20:38:49
Quote from: "MRatWork"
What's you mean 'remote server'?
The e-mail address that is outside of the kloxo. (e.g. mratwork@gmail.com)
Title: Re: qmail-toaster reinstall issue
Post by: WISTFUL on 2013-06-27, 21:09:37
Now I try 'sh /script/cleanup' and issue fixed!
Title: Re: qmail-toaster reinstall issue
Post by: MRatWork on 2013-06-27, 21:13:28
Yes, 'cleanup' is last resort if all other tricks not work.
Title: Re: qmail-toaster reinstall issue
Post by: WISTFUL on 2013-06-28, 07:25:14
My another issue after reinstall qmail-toaster:

I've set "server.mydomain.ltd" as below values:

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

Before I reinstall qmail-toaster, I receive all system emails (like System Monitor emails and firewall) from "kloxo@server.mydomain.ltd" but after that I receive them from "kloxo@contabo.net" (contabo is my vps provider)

Also it affect on "Received" value of sent emails header from kloxo:
before
Code: [Select]
Received: from server.mydomain.ltd (server.mydomain.ltd. [xxx.xxx.xxx.xxx])        by mx.google.com with ESMTPS id xxx.73.2013.06.25.19.57.20        for <blahblah@gmail.com>        (version=TLSv1 cipher=RC4-SHA bits=128/128);        Tue, 25 Jun 2013 19:57:20 -0700 (PDT)after
Code: [Select]
Received: from vmixxxx.contabo.net (server.mydomain.ltd. [xxx.xxx.xxx.xxx])        by mx.google.com with ESMTPS id xxx.44.2013.06.27.08.55.01        for <blahblah@gmail.com>        (version=TLSv1 cipher=RC4-SHA bits=128/128);        Thu, 27 Jun 2013 08:55:02 -0700 (PDT)
Title: Re: qmail-toaster reinstall issue
Post by: WISTFUL on 2013-06-28, 07:45:13
I go to Server Mail Settings and click on Update and above issue solved!
Is it normal?!