Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 21:05:05

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tonym

Pages: [1] 2 3 ... 5
1
intodns.com says:   You have reverse (PTR) records for all your IPs, that is a good thing.


I was looking at the config file:
/home/kloxo/httpd/webmail/roundcube/config/config.inc.php

I think it needs to use authenticated SMTP for sending to work.


I have changed the settings to this, and it now works:

$config['smtp_server'] = 'tls://%n';

$config['smtp_port'] = 587;

$config['smtp_user'] = '%u';

$config['smtp_pass'] = '%p';


Server, user  and pass were blank before, and the port 25.

3
Since updating to the latest Roundcube webmail, trying to send an email produces this error message:

SMTP Error (554): Failed to add recipient "xxxxxxxx.com" (Refused. Sending to remote addresses (relaying) is not allowed.).

I can send OK from Rainloop, and email works normally with email clients (Thunrderbird, phone). What can cause this?

/var/log/maillog shows this:
Jun 19 12:17:01 mail smtp: 6527 > 220 xxxxxxxx - Welcome to Qmail ESMTP?
Jun 19 12:17:01 mail smtp: 6527 < EHLO webmail.xxxxxxx?
Jun 19 12:17:01 mail smtp: 6527 > 250-mxxxxxxx - Welcome to Qmail?
Jun 19 12:17:01 mail smtp: 6527 > 250-STARTTLS?
Jun 19 12:17:01 mail smtp: 6527 > 250-PIPELINING?
Jun 19 12:17:01 mail smtp: 6527 > 250-8BITMIME?
Jun 19 12:17:01 mail smtp: 6527 > 250-SIZE 50971520?
Jun 19 12:17:01 mail smtp: 6527 > 250 AUTH LOGIN PLAIN?
Jun 19 12:17:01 mail smtp: 6527 < MAIL FROM:<tony@cxxxxxx>?
Jun 19 12:17:01 mail smtp: CHKUSER accepted sender: from <tony@xxxxx::> remote <webmail.xxxxx:unknown:::1> rcpt <> : sender accepted
Jun 19 12:17:01 mail smtp: 6527 > 250 ok?
Jun 19 12:17:01 mail smtp: 6527 < RCPT TO:<armxxxxxxx.com>?
Jun 19 12:17:01 mail spamdyke[6527]: DENIED_RELAYING from: tony@xxxxxxxxuk to: armxxxxxxx.com origin_ip: 0.0.0.0 origin_rdns: (unknown) auth: (unknown) encryption: (none) reason: (empty)
Jun 19 12:17:01 mail smtp: 6527 > 554 Refused. Sending to remote addresses (relaying) is not allowed.?
Jun 19 12:17:01 mail smtp: 6527 < RSET?
Jun 19 12:17:01 mail smtp: 6527 > 250 flushed?
Jun 19 12:17:01 mail smtp: 6527 < QUIT?





/var/log/yum.log
Jun 17 12:01:57 Updated: kloxomr-webmail-roundcube-1.3.9-1.mr.noarch
Jun 17 12:02:01 Updated: kloxomr7-thirdparty-phpmyadmin-4.9.0.1-1.mr.noarch
Jun 17 12:02:02 Updated: kloxomr-stats-awstats-7.7-1.mr.noarch
Jun 17 12:02:05 Updated: kloxomr-webmail-afterlogic-7.7.9-1.mr.noarch
Jun 17 12:02:07 Updated: kloxomr-webmail-rainloop-1.12.1-1.mr.noarch
Jun 17 12:02:08 Updated: pdns-4.1.8-1.el6.MIND.i686
Jun 17 12:02:08 Updated: pdns-backend-mysql-4.1.8-1.el6.MIND.i686
Jun 17 12:02:12 Updated: kloxomr7-7.0.0.c-2019061001.mr.noarch
Jun 17 12:02:12 Updated: pdns-tools-4.1.8-1.el6.MIND.i686
Jun 19 07:52:08 Updated: kernel-firmware-2.6.32-754.15.3.el6.noarch
Jun 19 07:52:16 Installed: kernel-2.6.32-754.15.3.el6.i686
Jun 19 07:52:17 Updated: kernel-headers-2.6.32-754.15.3.el6.i686
Jun 19 07:52:21 Updated: kloxomr7-7.0.0.c-2019061801.mr.noarch



A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019061801
   - Web: hiawatha-10.6.0-f.1.mr.el6.i686
   - PHP: php56s - 5.6.31-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.10 (Final) i686
   - Hostname: mail.mtc1.uk
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el6.i686
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.40-1.ius.el6.i686
        - Multiple:
          * php52m - 5.2.17-102.mr.el6
          * php53m - 5.3.29-1.ius.centos6
          * php54m - 5.4.45-1.ius.centos6
          * php55m - 5.5.38-1.ius.centos6
          * php56m - 5.6.31-1.ius.centos6
          * php70m - 7.0.21-1.ius.centos6
          * php71m - 7.1.7-1.ius.centos6
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.i686
     - Lighttpd: lighttpd-1.4.47-2.el6.i686
     - Nginx: nginx-1.17.0-1.el6.ngx.i686
     - Apache: httpd24u-2.4.39-1.ius.el6.i686
       - PHP Type: proxy_fcgi_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: bind-9.9.9-1.mr.el6.i686
     - DJBDns: djbdns-1.05-17.4.mr.el6.i386
     - NSD: nsd-4.1.27-1.mr.el6.i686
     - PowerDNS: pdns-4.1.8-1.el6.MIND.i686
     - Yadifa: yadifa-2.2.5-1.mr.el6.i686
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el6.i686
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
      - smtp: qmail-toaster-1.03-1.3.57.mr.el6.i686
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.i386
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          2909       2705        203        173        191       1726
-/+ buffers/cache:        787       2121
Swap:          511         10        501
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        39G   28G  9.4G  75% /


4
I recently started using proxy_fcgi_event as a way of using multiple PHP versions. There is a problem with all the files in  /opt/configs/apache/conf/domains which came back when I updated kloxomr yesterday.

They have this line in two places:
 <Proxy "unix:/opt/configs/php-fpm/sock/php -apache.sock|fcgi://localhost">

The space between "php -apache" is a problem. It needs to be:
/opt/configs/php-fpm/sock/php-apache.sock

My sysinfo:

A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019061801
   - Web: hiawatha-10.6.0-f.1.mr.el6.i686
   - PHP: php56s - 5.6.31-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.10 (Final) i686
   - Hostname: mail.mtc1.uk
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el6.i686
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.40-1.ius.el6.i686
        - Multiple:
          * php52m - 5.2.17-102.mr.el6
          * php53m - 5.3.29-1.ius.centos6
          * php54m - 5.4.45-1.ius.centos6
          * php55m - 5.5.38-1.ius.centos6
          * php56m - 5.6.31-1.ius.centos6
          * php70m - 7.0.21-1.ius.centos6
          * php71m - 7.1.7-1.ius.centos6
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.i686
     - Lighttpd: lighttpd-1.4.47-2.el6.i686
     - Nginx: nginx-1.17.0-1.el6.ngx.i686
     - Apache: httpd24u-2.4.39-1.ius.el6.i686
       - PHP Type: proxy_fcgi_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: bind-9.9.9-1.mr.el6.i686
     - DJBDns: djbdns-1.05-17.4.mr.el6.i386
     - NSD: nsd-4.1.27-1.mr.el6.i686
     - PowerDNS: pdns-4.1.8-1.el6.MIND.i686
     - Yadifa: yadifa-2.2.5-1.mr.el6.i686
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el6.i686
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
      - smtp: qmail-toaster-1.03-1.3.57.mr.el6.i686
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.i386
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          2909       2705        203        173        191       1726
-/+ buffers/cache:        787       2121
Swap:          511         10        501
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        39G   28G  9.4G  75% /



5
Forum Announcements / Re: He is back!!!!!!!!!!!!!!
« on: 2019-05-11, 16:44:07 »
Welcome back Mustafa!

6
Great - thanks!

Rebuilding it with that patch worked for me too. :)

This was the patch:

http://www.memoryhole.net/qmail/any-to-cname.patch

--- qmail-1.03-original/dns.c   Mon Jun 15 10:53:16 1998
+++ qmail-1.03/dns.c   Wed Mar  5 11:31:13 2003
@@ -196,7 +196,7 @@
    if (!sa->len) return loop;
    if (sa->s[sa->len - 1] == ']') return loop;
    if (sa->s[sa->len - 1] == '.') { --sa->len; continue; }
-   switch(resolve(sa,T_ANY))
+   switch(resolve(sa,T_CNAME))
     {
      case DNS_MEM: return DNS_MEM;
      case DNS_SOFT: return DNS_SOFT;

7
This is interesting:
http://fanf.livejournal.com/122220.html

It sounds like we may need qmail to not use CNAME or ANY queries.

I've tried doing an ANY query to all the DNS servers on the free list I posted earlier, and they all  time out:
 host -tANY hotmail.co.uk 109.69.8.51





8
Wouldn't having a missing GATEWAY in /etc/sysconfig/network mean all networking would be broken?

I do not have one, but web serving and incoming mail are all working normally.

9
I'm not surprised qmail-toaster already has the big DNS patch. It must have lots of improvements over qmail.

Is there anyting like this patch in there?
https://gist.githubusercontent.com/mpdude/21f358700902d55fb616/raw/eb5ed38db9918da81bb589b67e04118584df42a3/0005-remove-cname-check.diff

10
I don't know what changed yesterday to stop qmail sending for me. Or why CNAME lookups don't work.

These instructions for patching look interesting:
https://www.webfactory.de/blog/patch-qmail-in-ubuntu-to-avoid-cname-lookup-failed-temporarily-errors


11
I had worked through this thread before posting:
https://forum.mratwork.com/kloxo-mr-technical-helps/cname_lookup_failed_temporarily/

I have tried other DNS servers from this list in my resolv.conf:
https://www.lifewire.com/free-and-public-dns-servers-2626062

I also found this:
https://support.plesk.com/hc/en-us/articles/213903265-Many-errors-in-maillog-CNAME-lookup-failed-temporarily-4-4-3-

That is why I was trying
host -tCNAME hotmail.co.uk 8.8.8.8

Whereever else I try that (server at work,  PC at home), I still get
--
hotmail.co.uk has no CNAME record
--
trying various hosts and DNS servers. Things don't seem to work the way that plesk article said.

How can I see more details debug logging of the outgoing email? What is in the /var/log/maillog is brief.

12
Everything still  looks OK on mxtoolbox.com

It is not in any blacklist that site checks.

The mx record check is OK, and returns mail.mydomain.com
   Test   Result
   DNS Record Published   DNS Record found



SPF check:

Test   Result
   DNS Record Published   DNS Record found
   SPF Record Published   SPF Record found
   SPF Record Deprecated   No deprecated records found
   SPF Syntax Check   The record is valid
   SPF Multiple Records   Less than two records found
   SPF Included Lookups   Number of included lookups is OK



The SMTP  test:
##
Test   Result   
   SMTP Connection Time   15.017 seconds - Not good! on Connection time    More Info
   SMTP Transaction Time   17.267 seconds - Not good! on Transaction Time    More Info
   SMTP Reverse DNS Mismatch   OK - 89.33.6.202 resolves to mail.mydomain.com   
   SMTP Valid Hostname   OK - Reverse DNS is a valid Hostname   
   SMTP Banner Check   OK - Reverse DNS matches SMTP Banner   
   SMTP TLS   OK - Supports TLS.   
   SMTP Open Relay   OK - Not an open relay.

DNS test:
   Result   
   Open Zone Transfer Detected
79.170.40.2
79.170.43.3    More Info
   DNS Record found   
   No Bad Glue Detected   
   At Least Two Name Servers Found   
   All name servers are responding   
   All of the name servers are Authoritative   
   Local NS list matches Parent NS list   
   Name Servers appear to be Dispersed   
   Name Servers have Public IP Addresses   
   Serial numbers match
2016092762   
   Primary Name Server Listed At Parent   
   SOA Serial Number Format appears valid   
   SOA Refresh Value is within the recommended range   
   SOA Retry Value is within the recommended range   
   SOA Expire Value within recommended limits   
   SOA Minimum TTL Value is within allowed values   
   No Open Recursive Name Server Detected   



13
I have a load of email stuck in the queue since yesterday.

The Kloxo-MR mail queue  log page says:
--
Apr 12 04:51:54 mail send: delivery 230: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
--
What can cause that?

I have tried this:
---
 host -tCNAME hotmail.co.uk 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
hotmail.co.uk has no CNAME record
---
I'm not sure what lookup I should be testing.






A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017041002
   - Web: hiawatha-10.5.0-f.2.mr.el6.i686
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) i686
   - Hostname: mail.mtc1.uk
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.i686
   2. PHP:
      - Installed:
        - Branch: php55w-cli-5.5.38-1.w6.i386
        - Multiple:
          * php53m-5.3.29-1.ius.centos6
          * php54m-5.4.45-1.ius.centos6
          * php55m-5.5.38-1.ius.centos6
          * php56m-5.6.30-2.ius.centos6
          * php70m-7.0.17-1.ius.centos6
          * php71m-7.1.3-1.ius.centos6
      - Used: php55m-fpm
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.i686
     - Lighttpd: lighttpd-1.4.45-1.el6.i686
     - Nginx: nginx-1.11.13-1.el6.ngx.i386
     - Apache: httpd24u-2.4.25-3.ius.el6.i686
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: bind-9.9.9-1.mr.el6.i686
     - DJBDns: djbdns-1.05-17.4.mr.el6.i386
     - NSD: nsd-4.1.14-1.el6.i686
     - PowerDNS: pdns-4.0.3-1.el6.MIND.i686
     - Yadifa: yadifa-2.2.3-1.mr.el6.i686
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.i386
   8. Stats: awstats
      - awstats: --uninstalled--
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          2909       2393        515          1        431       1251
-/+ buffers/cache:        709       2199
Swap:          511          0        511
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        39G   23G   15G  61% /


*** Process Time: 00:00:00:50.50727 (dd:hh:mm:ss:xxxxxx) ***

14
Thank you!

15
Thanks, those all  started now.

It does try to stop and start php52m-fpm still:
Stopping php52m-fpm (Multiple Php):                        [FAILED]
Starting php52m-fpm (Multiple Php): /bin/bash: php52m-fpm: command not found
                                                           [FAILED]

That is no problem though.

Thanks again.



Pages: [1] 2 3 ... 5

Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.056 seconds with 20 queries.

web stats analysis