1

Topic: I need to open port 25 but cant figure out where to open it at

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

I need to open port 25 and I dont know how to do it so may I ask how do I do it?

Thanks

----

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

2

Re: I need to open port 25 but cant figure out where to open it at

Port 25 is open by default.

3

Re: I need to open port 25 but cant figure out where to open it at

well port 25 does not work on my server so I need some help on getting it corrected.

4

Re: I need to open port 25 but cant figure out where to open it at

Any help?

5

Re: I need to open port 25 but cant figure out where to open it at

What do you mean "does not work"?

iRedMail opens several network ports by default, and 25 is one of them.
Is port 25 open in iptables? You can verify it with command 'iptables -L -n'.

6

Re: I need to open port 25 but cant figure out where to open it at

Well in my outlook express I can not use port 25 or the mail spam server I have on different machine can not connect via 25 because we get an error saying auth is not correct on server.

ZhangHuangbin wrote:

What do you mean "does not work"?

iRedMail opens several network ports by default, and 25 is one of them.
Is port 25 open in iptables? You can verify it with command 'iptables -L -n'.

7 (edited by nwohiobb 2013-07-24 05:58:05)

Re: I need to open port 25 but cant figure out where to open it at

here is what I get:

root@mail:~# iptables -L -n
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:443
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:25
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:587
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:110
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:995
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:143
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:993
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0            icmptype 8
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:10000

Chain FORWARD (policy DROP)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

this is what I get in outlook:

http://i40.tinypic.com/swg0et.jpg

when port 110 and 25 are on and SSL/TLS is on none.

now when I switch it back to 995 for incoming and leave port 25 alone still getting same error message about SMTP cant connect.

Now this is the logs when I use webmin:
Jul 23 15:57:49 mail postfix/master[1535]: daemon started -- version 2.9.6, configuration /etc/postfix
Jul 23 16:02:30 mail postfix/master[1535]: reload -- version 2.9.6, configuration /etc/postfix
Jul 23 16:02:31 mail postfix/postqueue[2083]: fatal: Cannot flush mail queue - mail system is down
Jul 23 16:08:45 mail postfix/master[1535]: reload -- version 2.9.6, configuration /etc/postfix
Jul 23 16:08:45 mail postfix/postqueue[2261]: fatal: Cannot flush mail queue - mail system is down
Jul 23 17:12:03 mail postfix/master[1535]: reload -- version 2.9.6, configuration /etc/postfix
Jul 23 17:12:03 mail postfix/postqueue[3205]: fatal: Cannot flush mail queue - mail system is down
Jul 23 17:44:23 mail postfix/master[1535]: terminating on signal 15
Jul 23 17:45:06 mail postfix/master[3931]: daemon started -- version 2.9.6, configuration /etc/postfix

postfix is started.