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 - Spaceman-Spiff

Pages: [1]
1
E-Mail / Re: IMAP Settings Problems
« on: July 24, 2018, 05:43:00 AM »
Code: [Select]
netstat -tulpn|grep dovecot
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      3365/dovecot
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      3365/dovecot
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      3365/dovecot
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      3365/dovecot
tcp        0      0 0.0.0.0:4190            0.0.0.0:*               LISTEN      3365/dovecot

host domain and host hostname are showing the correct IPv4 and IPv6, also MX

Firewall rules:

Code: [Select]
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2030,2031,2082,2083,2086,2087,2095,2096,30000:50000"
TCP_OUT = "20,21,22,25,53,80,110,113,143,443,993,2030,2031,2082,2083,2086,2087,2095,2096,30000:50000,587,993,995"



2
E-Mail / IMAP Settings Problems
« on: July 21, 2018, 04:54:36 AM »
I've setup Postfix with DKIM & SPF using host.domain.com and MX record has been set for mail.domain.com

I wasn't able to use email app to access using the domain, but it works using IP address on port 110 or 143. So I'm guessing I have some DNS issue?

Gmail is even stricter, I'm only able to get it working on port 110 but not on 143/993. I'm able to telnet to all those ports and get:

Quote
25: 220 host.domain.com ESMTP Postfix
110: +OK Dovecot ready.
143: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

All ports have been added to firewall config. Any suggestion to get them working at 143/933 and using the domain mail.domain.com or host.domain.com?

3
CSF Firewall / Firewall blocks FTP passive mode
« on: April 25, 2017, 03:40:51 AM »
For those who cannot establish PASSIVE mode on FTP due to CSF firewall block, I recommend using this guide: https://corpocrat.com/2010/01/01/howto-enable-passive-mode-in-ftp-server-with-csf-firewall/


4
MySQL / Cannot run mysqltuner
« on: March 14, 2017, 06:54:13 PM »
I keep getting errors running mysqltuner. Even when I tried with sudo or passing on the username/password.

Code: [Select]
[root@home ~]# perl mysqltuner.pl
 >>  MySQLTuner 1.7.1 - Major Hayden <major@mhtx.net>
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/
 >>  Run with '--help' for additional options and output filtering

[--] Skipped version check for MySQLTuner script
[!!] failed to execute: SELECT VERSION()
[!!] FAIL Execute SQL / return code: 1792
[!!] You probably doesn't get enough privileges for running MySQLTuner ...

The only difference when I pass on credentials is and server/port:

Code: [Select]
[--] Skipped version check for MySQLTuner script
[--] Performing tests on localhost:3306
[OK] Logged in using credentials passed on the command line
[!!] failed to execute: SELECT VERSION()
[!!] FAIL Execute SQL / return code: 1792
[!!] You probably doesn't get enough privileges for running MySQLTuner ...

Using CentOS Linux release 7.3.1611 (Core)
Kernel Version: 4.9.7-x86_64-linode80
Platform: x86_64 [kvm]
CWP version: 0.9.8.279
DB version: 10.1.21-MariaDB


Pages: [1]