Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14122

Originating mail domains that are not being managed by iRedMail

$
0
0

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL 5.6.22
- Linux/BSD distribution name and version: Debian 7
- Related log if you're reporting an issue:
====

I have the following problem: when you send a new email from domains that are not being managed by iRedMail, the MySQL service stops running and the email is not delivered. Some time later, the email back to the originator of the message with the information that can not be delivered.

I have done several tests and I can say that the MySQL service only stops running when you send an email from a domain not managed by iRedMail.

I checked the port 25 and it is open.

# Nmap -v localhost

Starting Nmap 6:00 (http://nmap.org) at 12/29/2014 00:14 UTC
Initiating SYN Stealth Scan at 00:14
Scanning localhost (127.0.0.1) [1000 ports]
Discovered open port 443 / tcp on 127.0.0.1
Discovered open port 80 / tcp on 127.0.0.1
Discovered open port 587 / tcp on 127.0.0.1
Discovered open port 993 / tcp on 127.0.0.1
Discovered open port 22 / tcp on 127.0.0.1
Discovered open port 143 / tcp on 127.0.0.1
Discovered open port 995 / tcp on 127.0.0.1
Discovered open port 25 / tcp on 127.0.0.1
Discovered open port 110 / tcp on 127.0.0.1
Discovered open port 24 / tcp on 127.0.0.1
Discovered open port 9998 / tcp on 127.0.0.1
Discovered open port 10024 / tcp on 127.0.0.1
Discovered open port 10025 / tcp on 127.0.0.1
Discovered open port 7777 / tcp on 127.0.0.1
Completed SYN Stealth Scan at 00:14, 0.02s elapsed (1000 Total ports)
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000090s latency).
rDNS record for 127.0.0.1: cenarioesolucao.com.br
Not shown: 986 closed ports
PORT STATE SERVICE
22 / tcp open ssh
24 / tcp open email priv
25 / tcp open smtp
80 / tcp open http
110 / tcp open pop3
143 / tcp open imap
443 / tcp open https
587 / tcp open submission
993 / tcp open imaps
995 / tcp open pop3s
7777 / tcp open cbt
9998 / tcp open distinct32
10024 / tcp open unknown
10025 / tcp open unknown

Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0:06 seconds
            Raw packets sent: 1000 (44.000KB) | RCVD: 2014 (84.616KB)

My iptables this way:

# Iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
fail2ban-postfix tcp - anywhere anywhere multiport dports http, https, smtp, submission, pop3, pop3s, IMAP2, imaps, sieve
fail2ban-dovecot tcp - anywhere anywhere multiport dports http, https, smtp, submission, pop3, pop3s, IMAP2, imaps, sieve
fail2ban-roundcube tcp - anywhere anywhere multiport dports http, https, smtp, submission, pop3, pop3s, IMAP2, imaps, sieve
fail2ban-ssh tcp - anywhere anywhere tcp dpt: ssh
ACCEPT all - anywhere anywhere state RELATED, ESTABLISHED
ACCEPT all - anywhere anywhere
ACCEPT tcp - anywhere anywhere tcp dpt: http
ACCEPT tcp - anywhere anywhere tcp dpt: https
ACCEPT tcp - anywhere anywhere tcp dpt: smtp
ACCEPT tcp - anywhere anywhere tcp dpt: submission
ACCEPT tcp - anywhere anywhere tcp dpt: pop3
ACCEPT tcp - anywhere anywhere tcp dpt: pop3s
ACCEPT tcp - anywhere anywhere tcp dpt: IMAP2
ACCEPT tcp - anywhere anywhere tcp dpt: imaps
ACCEPT tcp - anywhere anywhere tcp dpt: ssh
ACCEPT icmp - anywhere anywhere icmp echo-request

Chain FORWARD (policy DROP)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-dovecot (1 references)
target prot opt source destination
RETURN all - anywhere anywhere

Chain fail2ban-postfix (1 references)
target prot opt source destination
RETURN all - anywhere anywhere

Chain fail2ban-roundcube (1 references)
target prot opt source destination
RETURN all - anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
DROP all - anywhere 198.50.174.61.dial.wz.zj.dynamic.163data.com.cn
DROP all - anywhere 18f660fb.cst.lightpath.net
RETURN all - anywhere anywhere

I appreciate all possible help.

Regards,

Gláucio.


Viewing all articles
Browse latest Browse all 14122

Trending Articles