Topic: [CentOS 6] Impossible to send / receive e-mail in Roundcube
==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== ==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== Hello,
I has a lot of troubles to install a mail server on my CentOS 6 (64 bits) and I've discovered iRedMail (0.8.0) so I'm trying to enjoy it .
First problem, I've NGinX and MySQL installed on this system, so I've choosen PostgreSQL for the database and I'm disabling NGinX the time to see if everythings works.
So I've installed with all options iRedMail and I've started services below :
_ postfix
_ dovecot
_ postgresql
_ httpd
And shut down nginx.
I can connect with account www to roundcube but I can't send or receive e-mail.
In /var/log/maillog I've :
May 30 16:54:20 omen postfix/pickup[27846]: 78523634EA: uid=0 from=<root>
May 30 16:54:20 omen postfix/cleanup[27848]: warning: connect to Milter service unix:public/dkim-filter: No such file or directory
May 30 16:54:20 omen postfix/cleanup[27848]: 78523634EA: milter-reject: CONNECT from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@omen.scopetic.fr>
May 30 16:54:20 omen postfix/pickup[27846]: 88715634EA: uid=0 from=<root>
May 30 16:54:20 omen postfix/cleanup[27848]: warning: connect to Milter service unix:public/dkim-filter: No such file or directory
May 30 16:54:20 omen postfix/cleanup[27848]: 88715634EA: milter-reject: CONNECT from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@omen.scopetic.fr>
May 30 16:55:01 omen postfix/postfix-script[28465]: stopping the Postfix mail system
May 30 16:55:01 omen postfix/master[27839]: terminating on signal 15
In /var/log/dovecot.log :
May 30 16:54:02 imap-login: Info: Login: user=<www@scopetic.fr>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=28395, secured
May 30 16:54:02 imap(www@scopetic.fr): Info: Disconnected: Logged out bytes=275/1236
May 30 16:54:56 imap(www@scopetic.fr): Info: Connection closed bytes=0/295
May 30 16:55:04 master: Warning: Killed with signal 15 (by pid=28522 uid=0 code=kill)
May 30 16:55:04 imap: Info: Server shutting down. bytes=98/797
Doesn't works if SELinux is disabled.
This is my iptables :
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# iRedMail is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with iRedMail. If not, see <http://www.gnu.org/licenses/>.
#---------------------------------------------------------------------#
# Sample iptables rules. It should be localted at:
# /etc/sysconfig/iptables
#
# Shipped within iRedMail project:
# * http://iRedMail.googlecode.com/
#*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]# Keep state.
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT# Loop device.
-A INPUT -i lo -j ACCEPT# http/https, smtp/submission, pop3/pop3s, imap/imaps, ssh
-A INPUT -p tcp -m multiport --dport 80,443,25,587,110,995,143,993,465,4812 -j ACCEPT# Allow PING from remote hosts.
-A INPUT -p icmp --icmp-type echo-request -j ACCEPT# ejabberd
#-A INPUT -p tcp -m multiport --dport 5222,5223,5280 -j ACCEPT# http/https
#-A INPUT -p tcp -m multiport --dport 80,443 -j ACCEPT# smtp/smtps
#-A INPUT -p tcp -m multiport --dport 25,465 -j ACCEPT# pop3/pop3s
#-A INPUT -p tcp -m multiport --dport 110,995 -j ACCEPT# imap/imaps
#-A INPUT -p tcp -m multiport --dport 143,993 -j ACCEPT# ldap/ldaps
#-A INPUT -p tcp -m multiport --dport 389,636 -j ACCEPT# ftp.
#-A INPUT -p tcp -m multiport --dport 21,20 -j ACCEPT# ssh
#-A INPUT -p tcp --dport 22 -j ACCEPTCOMMIT
And my DNS zone :
mail 10800 IN A 37.59.37.31
* 10800 IN A 37.59.37.31
@ 10800 IN A 37.59.37.31
www 10800 IN A 37.59.37.31
smtp 10800 IN CNAME mail.scopetic.fr.
imap 10800 IN CNAME mail.scopetic.fr.
pop 10800 IN CNAME mail.scopetic.fr.
webmail 10800 IN CNAME agent.mail.gandi.net.
@ 10800 IN MX 10 mail.scopetic.fr.
@ 10800 IN MX 50 mail.scopetic.fr.
If you need more information, tell me.
Koshiarlly, Koshie
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.