Re: [webmin-l] Virtualmin Email Doesn't Work

Kimberly <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
I shut and disabled firewalld.  I installed iptables-services.  I then 
started iptables and flushed all rules and chains leaving a completely 
clean firewall rule set with just the default chains with no rules.  I 
then proceeded to add my rules for allowing traffic on 80 and 443 and 25 
and ssh etc.  After finishing I tested with telnet xxx.xxx.xxx.xxx 25 
and low and behold Postfix responded.  I need to add ports for IMAP and 
usermin and a few other things but I think the problem is solved.

My server is CentOS 7.  The installation of Virtualmin was on a bare 
server using install.sh with php 5.6.x and MariaDB 10.1.x being the only 
two things I added before Virtualmin.  I don't know if this has 
something to do with firewalld itself or the rules that Virtualmin 
creates when it installs.  Personally, I think for internet servers 
firewalld is not necessary as we don't need zones as one might wish for 
a home computer.  From now on, I will not waste time with firewalld and 
will be using iptables for all internet servers.



On 04/01/19 17:22, Kris Deugau wrote:
> Kimberly wrote:
>> firewall-cmd --zone=public --list-all
>> public (active)
>>    target: default
>>    icmp-block-inversion: no
>>    interfaces: lo enp2s0
>>    sources:
>>    services: ssh dhcpv6-client smtp smtps ftp pop3 pop3s imap imaps 
>> http https
>>    ports: 587/tcp 53/tcp 20/tcp 2222/tcp 10000-10100/tcp 20000/tcp 
>> 1025-65535/tcp 53/udp
>
> These two lines don't seem to match up;  if smtp and smtps are 
> allowed, ports 25 and 465 should be allowed as well as 587. 
> firewalld's configuration may be defining these differently for some 
> reason, but this looks likely to be the root of your problem.
>
> -kgd
>
>
> -
> Forwarded by the Webmin mailing list at 
> [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list




-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.