MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: digidata on 2014-10-17, 08:44:32
-
Hello,
I recently upgraded from 6.5.1 to 7.0.0.b and problems starts. Now I can't receive mail. Example sending from GMAIL to my domain mail I receive:
The error that the other server returned was:
554 Refused. Sending to remote addresses (relaying) is not allowed.
After a lot of searching I found about /var/qmail/control/rcpthosts file, but it only contains server address, but it should containt all domain addresses? Because if no domain names it refuses mails. And solution after adding domain manually add domains in it?
Server maillog:
Oct 16 17:11:42 286806 smtp: 1413468702.509312 2467 < EHLO mail-wi0-f174.google.com?
Oct 16 17:11:42 286806 smtp: 1413468702.509597 2467 > 250-server - Welcome to Qmail?
Oct 16 17:11:42 286806 smtp: 1413468702.509662 2467 > 250-PIPELINING?
Oct 16 17:11:42 286806 smtp: 1413468702.509722 2467 > 250-8BITMIME?
Oct 16 17:11:42 286806 smtp: 1413468702.509778 2467 > 250-SIZE 20971520?
Oct 16 17:11:42 286806 smtp: 1413468702.509836 2467 > 250 AUTH LOGIN PLAIN CRAM-MD5?
Oct 16 17:11:42 286806 smtp: 1413468702.546671 2467 < MAIL FROM:<someemail@gmail.com> SIZE=1628?
Oct 16 17:11:42 286806 smtp: 1413468702.546912 CHKUSER accepted sender: from <someemail@gmail.com::> remote <mail-wi0-f174.google.com:unknown:209.85.212.174> rcpt <> : sender accepted
Oct 16 17:11:42 286806 smtp: 1413468702.548464 2467 > 250 ok?
Oct 16 17:11:42 286806 smtp: 1413468702.585165 2467 < RCPT TO:<info@somedomain.lt>?
Oct 16 17:11:42 286806 smtp: 1413468702.585292 2467 > 554 Refused. Sending to remote addresses (relaying) is not allowed.?
Oct 16 17:11:42 286806 smtp: 1413468702.622288 2467 < QUIT?
Oct 16 17:11:42 286806 smtp: 1413468702.622373 2467 < [EOF]
A. Kloxo-MR: 7.0.0.b-2014101504
B. OS: CentOS release 5.11 (Final) x86_64
C. Apps:
1. MySQL: mysql55-5.5.40-1.ius.el5
2. PHP: php53u-5.3.29-1.ius.el5
3. Httpd: httpd-2.2.29-1.mr.el5
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.8.0-f.2.mr.el5
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: bind-9.9.5-1.el5
9. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
- with: courier-imap-toaster-4.1.2-1.3.16.mr.el5
D. Php-type (for Httpd/proxy): php-fpm_worker
Also question about roundcube, how to make it always use SMTP, I edit config file, but after updates it resets. And no different Advanced PHP settings for domain only for client?
-
1. for rcpthosts, run 'sh /script/fixmail-all'
2. No user-based custom for webmail configs
3. We don't need domain-based php.ini. Enough user-based php.ini, especially for php-fpm.
-
1. for rcpthosts, run 'sh /script/fixmail-all'
No luck, only available domains which I added manually.
3. We don't need domain-based php.ini. Enough user-based php.ini, especially for php-fpm.
Ok, suphp works on 7.0.0.0 version? Because after upgrade can't start it :)
-
Better use php-fpm instead other.
-
Better use php-fpm instead other.
after . for rcpthosts, run 'sh /script/fixmail-all' can't login to webmail...
edit: fixed webmail
-
Rcpthosts issue already fixed if running 'fixmail-all' in latest upload.
-
Rcpthosts issue already fixed if running 'fixmail-all' in latest upload.
It adds domains in file, but in one row without any spaces and makes mail to stop working.
affected files: rcpthosts and virtualdomains