postfix – Can not open ports 993 and 995

For some reason, I do not see how to open ports 993 and 995, here is all the information I could think of including. I'm clueless, but this is new to me in the Linux world. I like it, I just want to understand that.

Debian Linux operating system 9

Perl version 5.024001 Path to Perl / usr / bin / perl

Postfix version 3.1.12 mail injection command / usr / lib / sendmail -t

Apache version 2.4.25

Versions of PHP 7.0.33

Webalizer version 2.23-08

Logrotate version 3.11.0

MySQL version 10.1.38-MariaDB-0 + deb9u1

ProFTPD version 1.35
SpamAssassin version 3.4.2

ClamAV version 0.100.3

****** EXTERNAL DOMAIN SCAN ******

Start Nmap 7.40 (https://nmap.org) on ​​2019-04-28 18:09

Nmap analysis report for ReddedIP

The host is up (latency of 0.0018 s).

Not illustrated: 986 closed ports

PORT STATE SERVICE

21 / tcp open ftp

22 / tcp open ssh

Filtered Telnet 23 / TCP

Open smtp 25 / tcp

53 / tcp open domain

80 / tcp open http

Rpcbind filtered by 111 / tcp

443 / tcp open https

465 / tcp open smtps

Nmap does: 1 IP address (1 host up) scanned in 98.25 seconds

****** INTERNAL SCANNING OF PORTS 993 AND 995 ******
root @ byteit: / home / daymond # nmap -p993 10.0.0.141

Starting Nmap 7.40 (https://nmap.org) on ​​2019-04-28 8:55 PM
Nmap analysis report for 10.0.0.141

The host is active (0.00013 latency).

PORT STATE SERVICE

993 / tcp closed images

Nmap made: 1 IP address (1 host rising) scanned in 0.37 seconds

root @ byteit: / home / daymond # nmap -p995 10.0.0.141

Starting Nmap 7.40 (https://nmap.org) on ​​2019-04-28 20h56

Nmap analysis report for 10.0.0.141

The host is active (0.00013 latency).

PORT STATE SERVICE

995 / tcp closed pop3s

Nmap made: 1 IP address (1 host rising) scanned in 0.37 seconds

****** LIST OF TABLES ******
root @ byteit: / home / daymond # iptables –list

INPUT string (ACCEPT policy)
target target source opt opt

ACCEPT everything – no matter where anywhere ctstate BOUND, ESTABLISHED

ACCEPT everything – no matter where

INPUT_direct all – n anywhere where any

INPUT_ZONES_SOURCE everything – no matter where

INPUT_ZONES all-n anywhere where any

DROP all-n 'anywhere where any ctstate INVALID

REJECT everything – no matter where anywhere reject – with icmp-
forbidden host

Chain to Watch (ACCEPT Policy)
target target source opt opt

ACCEPT everything – no matter where anywhere ctstate BOUND, ESTABLISHED

ACCEPT everything – no matter where

FORWARD_direct all – anywhere from anywhere

FORWARD_IN_ZONES_SOURCE everything – no matter where

FORWARD_IN_ZONES all – anywhere from anywhere

FORWARD_OUT_ZONES_SOURCE everything – no matter where

FORWARD_OUT_ZONES all – anywhere from anywhere

DROP all-n 'anywhere where any ctstate INVALID

REJECT everything – no matter where-anywhere reject-with icmp-host-forbidden

OUTPUT string (ACCEPT policy)

target target source opt opt

OUTPUT_direct all – n anywhere where any where

Chain FORWARD_IN_ZONES (1 references)

target target source opt opt

FWDI_public all – anywhere from anywhere [goto]

FWDI_public all – anywhere from anywhere [goto]

FORWARD_IN_ZONES_SOURCE string (1 references)

target target source opt opt

Chain FORWARD_OUT_ZONES (1 references)

target target source opt opt

FWDO_public all-n 'anywhere where any [goto]

FWDO_public all-n 'anywhere where any [goto]

Chain FORWARD_OUT_ZONES_SOURCE (1 references)

target target source opt opt

Chain FORWARD_direct (1 references)

target target source opt opt

Chain FWDI_public (2 references)

target target source opt opt

FWDI_public_log all – anywhere from anywhere

FWDI_public_deny all – anywhere from anywhere

FWDI_public_allow all – anywhere from anywhere

ACCEPT icmp – no matter where any where

Chain FWDI_public_allow (1 references)

target target source opt opt

Chain FWDI_public_deny (1 references)

target target source opt opt

Chain FWDI_public_log (1 references)

target target source opt opt

Chain FWDO_public (2 references)

target target source opt opt

FWDO_public_log all – anywhere from anywhere

FWDO_public_deny all – anywhere from anywhere

FWDO_public_allow all – anywhere from anywhere

Chain FWDO_public_allow (1 references)

target target source opt opt

FWDO_public_deny string (1 references)

target target source opt opt

Chain FWDO_public_log (1 references)

target target source opt opt

Chain INPUT_ZONES (1 references)

target target source opt opt

IN_public all – n 'anywhere where no matter where [goto]

IN_public all – n 'anywhere where no matter where [goto]

Chain INPUT_ZONES_SOURCE (1 references)

target target source opt opt

Chain INPUT_direct (1 references)

target target source opt opt

REJECT tcp – no matter where anyportport multiport
ssh match-set fail2ban-sshd src rejects-with icmp-port-inaccessible

REJECT tcp – no matter where any multiport dports webmin match-set fail2ban-webmin-auth src rejects-with icmp-port-inaccessible

REJECT tcp – No matter where anywhere multiport port dp ftp, ftp-data, ftps, ftps-data match set fail2ban-proftpd src rejects-with icmp-port-inaccessible

REJECT tcp – No matter where any multiport port smtp, urd, bid-set fail2ban-postfix src reject-with icmp-port-inaccessible

****** THIS LINE DOES I STOP? ******

REJECT tcp – No matter where anyportport multiport pop3, pop3s, imap2, imaps, submission, urd, sieve matching match fail2ban-dovecot src rejects-with icmp-port-inaccessible


REJECT tcp – no matter where any is sleeping mult port ssh, sftp matching set fail2ban-ssh-ddos src rejects-with icmp-port-inaccessible

Chain IN_public (2 references)

target target source opt opt

IN_public_log all – anywhere from anywhere

IN_public_deny all – anywhere from anywhere

IN_public_allow all – anywhere – anywhere

ACCEPT icmp – no matter where any where

Chain IN_public_allow (1 references)

target target source opt opt

ACCEPT tcp – no matter where any tcp dpt: submission
ctstate NEW

ACCEPT tcp – no matter where any dpt tcp: domain
ctstate NEW

ACCEPT tcp – no matter where any dpt tcp: ftp-data ctstate NEW

ACCEPT tcp – no matter anywhere any tcp dpt: 2222 ctstate NEW

ACCEPT tcp – no matter where any dpts tcp: webmin: 10100 ctstate NEW

ACCEPT tcp – no matter anywhere any tcp dpt: 20000 ctstate NEW

ACCEPT tcp – no matter where any dp tcp: 1025: 65535 ctstate NEW

ACCEPT udp – no matter where any dp udp: domain ctstate NEW

ACCEPT tcp – no matter anywhere any tcp dpt: ssh ctstate NEW

ACCEPT tcp – no matter where any dpt tcp: ctstate smtp NEW

ACCEPT tcp – no matter whereever dpt anywhere tcp: urd ctstate NEW

ACCEPT tcp – no matter whereever dpt anywhere tcp: ftp ctstate NEW

ACCEPT tcp – n 'Anywhere whereever dpt tcp: pop3 ctstate NEW

ACCEPT tcp – no matter where any tcp dpt: ctstate pop3s NEW

ACCEPT tcp – no matter anywhere any tcp dpt: imap2 ctstate NEW

ACCEPT tcp – no matter where any dpt tcp: imaps ctstate NEW

ACCEPT tcp – no matter where any tcp dpt: ctstate http NEW

ACCEPT tcp – no matter where any tcp dpt: https ctstate NEW

Chain IN_public_deny (1 references)

target target source opt opt

Chain IN_public_log (1 references)

target target source opt opt

Chain OUTPUT_direct (1 references)

target target source opt opt

And yes, I have all ports transferred, in fact on TCP and UDP. I do not know if it's a firewall or something else.

javascript – Uncaught ReferenceError: Mini is not set at (index): 993 – magento 2 store

How can I trace and fix this error for my magento 2 store?

Uncaught ReferenceError: Mini is not set to (index): 993

I can not find the code below in my admin magento. it is not in the header, footer, script sections, nor Google API for analysis is enabled.

Unable to connect to port 993 for IMAP on an Ubuntu server with Postfix / Dovecot / MySQL

Ubuntu 16.04.5
apache2
MySQL
Postfix with MySQL
pigeon loft
sasl2
UFW

I'm trying to install a mail server and a client working on this machine. I have followed this tutorial that allows authentication via MySQL. I have all the database entries correctly set, I configured the domain / mailbox in PostfixAdmin. Everything went well until installation of the test in RoundCube. The user can not connect via port 993 to connect.

Connecting to localhost ...
IMAP connection: NO OK (The connection failed for noreply@example.com from / IP address / could not connect to localhost: 993: connection refused)

I've tried telneting remotely at {IP address} 993 with Connection refused as well as.

The server runs on a static IP address. RoundCube is located in the ../html/webmail/ directory and works well, but things like PHPMyAdmin are located at http: // {ipaddress} / phpmyadmin since there are several virtual hosts for web services.

UFW has all the necessary IMAP / POP3 ports.

To the action of
- ------ ----
Apache Full ALLOW Anywhere
20 / tcp ALLOW anywhere
21 / tcp ALLOW anywhere
990 / tcp ALLOW anywhere
40000: 50000 / TCP PERMIT ANYWHERE
22 TO PERMIT ANYWHERE
80 allow any where
443 PERMIT ANYWHERE
8080 allow any where
Postfix ALLOW Anywhere
993 allow any where
143 PERMIT ANYWHERE
110 PERMIT ANYWHERE
995 allow any where
25 PERMIT ANYWHERE
25 / tcp ALLOW anywhere
Apache Full (v6) AUTHORIZE Anywhere (v6)
20 / tcp (v6) PERMIT ANYWHERE (v6)
21 / tcp (v6) PERMIT ANYWHERE (v6)
990 / tcp (v6) AUTHORIZE Anywhere (v6)
40000: 50000 / TCP (v6) AUTHORIZE Anywhere (v6)
22 (v6) PERMIT ANYWHERE (v6)
80 (v6) PERMIT ANYWHERE (v6)
443 (v6) PERMIT ANYWHERE (v6)
8080 (v6) PERMIT ANYWHERE (v6)
Postfix (v6) AUTHORIZE Anywhere (v6)
993 (v6) PERMIT ANYWHERE (v6)
143 (v6) PERMIT ANYWHERE (v6)
110 (v6) PERMIT ANYWHERE (v6)
995 (v6) PERMIT ANYWHERE (v6)
25 (v6) PERMIT ANYWHERE (v6)
25 / tcp (v6) PERMIT ANYWHERE (v6)  

Dovecot is in the process of execution

# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
# Version Pigeonhole 0.4.13 (7b14904)
# OS: Linux 4.4.0-141-generic x86_64 Ubuntu 16.04.5 LTS ext4
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = clear identifier
auth_verbose = yes
auth_verbose_passwords = plain
mail_debug = yes
mail_location = maildir: / var / mail / vmail /% d /% n / Maildir
mail_privileged_group = mail
manageieve_notify_capability = mailto
manageieve_sieve_capability = fileinto rejects the coded envelope of the coded vacation subaddress; asci-numeric relational regex imap4flags copy embedding variables enotify body environment date the index mailbox iAve duplicate mime foreverypart extract
namespace mailbox {
inbox = yes
location =
Drafts Mailbox {
special_use =  Drafts
}
unwanted mailbox {
special_use =  Junk
}
mailbox sent {
special_use =  Sent
}
Mailbox "Sent Messages" {
special_use =  Sent
}
Mailbox Trash {
special_use =  Trash
}
prefix =
}
passbb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
connect {
sieve = file: ~ / sieve; active = ~ / .dovecot.sieve
}
protocols = "imap sieve"
auth service {
unix_listener / var / spool / postfix / private / auth {
group = postfix
mode = 0600
user = postfix
}
unix_listener auth-userdb {
mode = 0600
user = vmail
}
user = dovecote
}
ssl = no
userdb {
args = uid = vmail gid = vmail home = / var / mail / vmail /% d /% n
pilot = static
}
verbose_ssl = yes
protocol lda {
mail_plugins = "sieve"
}

Postfix configuration

alias_database = hash: / etc / aliases
alias_maps = hash: / etc / aliases
append_dot_mydomain = no
biff = no
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination = $ myhostname, example.com, {racineusername}, localhost.localdomain, localhost, example2.com, example3.com
myhostname = {rootusername}
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/ 104 [::1]/ 128
my origin = / etc / mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree: $ {data_directory} / smtp_scache
smtpd_banner = $ myhostname ESMTP $ mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authentifiedject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $ myhostname
smtpd_sasl_path = private / auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecote
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/letsencrypt/live/example.com/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/example.com/privkey.pem
smtpd_tls_security_level = can
smtpd_tls_session_cache_database = btree: $ {data_directory} / smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = mysql: /etc/postfix/sql/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql: /etc/postfix/sql/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql: /etc/postfix/sql/mysql_virtual_mailbox_maps.cf

The cert / key files are not necessary, I tried to add them to see if there was a difference. SSL certificates are for the domain and some subdomains, there is no mail.example.com.

What seems odd is that nothing is listening on port 993, Dovecot listening on 4190?

Active Internet connections (servers and workbenches)
Local Address Proto Recv-Q Send-Q Foreign Address Address User Status PID Inode / Program Name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN TO 111 14759 1084 / mysqld
tcp 0 0 0.0.0.0:57 0.0.0.0:* LISTENING 0 34677 6207 / master
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN TO 0 43563 7001 / dovecote
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 0 34683 6207 / master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 16213 1149 / sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 34671 6207 / master
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN TO 0 43523 7001 / dovecote
tcp 0 212 xx.xxx.xx.xxx:22 xxx.xx.xxx.xxx:53808 ESTABLISHED 0 75664 12943 / sshd: ********
tcp6 0 0 ::: 587 ::: * LISTEN 0 34678 6207 / master
tcp6 0 0 ::: 143 ::: * LISTEN 0 43564 7001 / dovecote
tcp6 0 0 ::: 80 ::: * LISTEN 0 18106 1614 / apache2
tcp6 0 0 ::: 465 ::: * LISTEN 0 34684 6207 / master
tcp6 0 0 ::: 21 ::: * LISTEN 0 12274 1012 / vsftpd
tcp6 0 0 ::: 22 ::: * LISTEN 0 16215 1149 / sshd
tcp6 0 0 ::: 25 ::: * LISTEN 0 34672 6207 / master
tcp6 0 0 ::: 443 ::: * LISTEN 0 18110 1614 / apache2
tcp6 0 0 ::: 4190 ::: * LISTEN 0 43524 7001 / dovecote
tcp6 0 0 xx.xxx.xx.xxx:80 xxx.xx.xxx.xxx:53832 TIME_WAIT 0 0 -  

Why would Dovecot listen on 4190? I made sure that all configurations were correct, restarting all necessary services and even trying to reboot the system. Is there an obvious mistake I'm making?