1 (edited by sam-the-man 2013-11-10 14:39:17)

Topic: iRedMail SMTP settings for other device

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

Hi, iRedMail is installed on my server using LDAP backend and all is working fine. My domain is "example.com". I can login to "example.com/mail" to use RoundCube without problem - and can send/receive mail.

But how I add this to a device? The important part of iptables contains this:

-A INPUT -p tcp -m multiport --dports 80,443,25,587,110,995,143,993,4190 -j fail2ban-postfix
-A INPUT -p tcp -m multiport --dports 80,443,25,587,110,995,143,993,4190 -j fail2ban-dovecot
-A INPUT -p tcp -m multiport --dports 80,443,25,587,110,995,143,993,4190 -j fail2ban-roundcube
-A INPUT -p tcp -m tcp --dport 22 -j fail2ban-ssh
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.0/8 -j REJECT --reject-with icmp-port-unreachable
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -m limit --limit 5/min -j LOG --log-prefix "iptables denied: " --log-level 7
-A INPUT -j DROP
-A FORWARD -j DROP
-A OUTPUT -j ACCEPT
-A fail2ban-dovecot -j RETURN
-A fail2ban-postfix -j RETURN
-A fail2ban-roundcube -j RETURN
-A fail2ban-ssh -j RETURN
COMMIT
# Completed on Sun Nov 10 01:36:15 2013

This tool (http://www.yougetsignal.com/tools/open-ports/) says that port 25, 587, whatever - are disabled on my domain. My DNS MX entry points to "example.com" (and example.com has A record to my server).

I don't understand why is not working. I have tried to add iRedMail account to my phone but cannot connect to SMTP server on "www.example.com" port 25. But seems like my IPTables allows this port??

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail SMTP settings for other device

*) Does it work if you disable iptables on your server? If yes, then there must be something wrong with your iptables rules.
*) Are you using the default iptables rules configured by iRedMail?