From: Kimberly <kim...@gm...> - 2018-12-30 20:44:38
|
I have two different servers; one on a VPS, one on a dedicated server, both using CentOS 7 and Virutalmin and on both servers emails don't work. This is a Virtualmin issue. Both servers if I try to send an email to a user the emails just disappear. They don't bounce back, they don't show up in the user's inbox, they just disappear. Furthermore, the whole send email client configuration doesn't work; I even checked forwarding. The email client configuration does not show up either on the server or the forward email. Now on one server I can get thunderbird to connect and pull the mail settings and on the other it can't. However, on the server that does, it keeps telling me that the password is wrong even when I added it manually in sight and copy and past into Thunderbird. Is it the default settings in firewalld that Virtualmin creates? I don't know. What I do know is that I have two servers with Virtualmin where emails don't work and if emails don't work, then Virtualmin has to be discarded as valid options for control panels Now on a third server that just has webmin; no virtualmin, I have emails working, they come in and show up in the user's inbox. That server I manually configured everything but it only has one real domain for the mail server. If there is some magical tutorial on setting up Virtualmin to use multiple domains with one mail server to get it all working, please show me that because I haven't found it. |
From: Dave O. <da...@sy...> - 2018-12-30 23:44:45
|
Virtualmin Email works just fine. Please verify your install. From the virualmin menu (using Authentic Theme) hit the "System Settings - Re-Check Configuration" and also hit Re-Run install Wizard. If it still fails, hit "Limits and Validation - Validate Virtual Servers", then Validate now. By now, you should see your problem, and be able to fix it. Dave > -----Original Message----- > From: Kimberly [mailto:kim...@gm...] > Sent: Sunday, December 30, 2018 12:44 PM > To: Webmin users list > Subject: [webmin-l] Virtualmin Email Doesn't Work > > I have two different servers; one on a VPS, one on a dedicated server, > both using CentOS 7 and Virutalmin and on both servers emails don't > work. This is a Virtualmin issue. Both servers if I try to send an > email to a user the emails just disappear. They don't bounce back, > they > don't show up in the user's inbox, they just disappear. Furthermore, > the whole send email client configuration doesn't work; I even checked > forwarding. The email client configuration does not show up either on > the server or the forward email. Now on one server I can get > thunderbird to connect and pull the mail settings and on the other it > can't. However, on the server that does, it keeps telling me that the > password is wrong even when I added it manually in sight and copy and > past into Thunderbird. Is it the default settings in firewalld that > Virtualmin creates? I don't know. What I do know is that I have two > servers with Virtualmin where emails don't work and if emails don't > work, then Virtualmin has to be discarded as valid options for control > panels > > Now on a third server that just has webmin; no virtualmin, I have > emails > working, they come in and show up in the user's inbox. That server I > manually configured everything but it only has one real domain for the > mail server. > > If there is some magical tutorial on setting up Virtualmin to use > multiple domains with one mail server to get it all working, please > show > me that because I haven't found it. > > > > - > Forwarded by the Webmin mailing list at webadmin- > li...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Kimberly <kim...@gm...> - 2019-01-03 05:01:30
|
Dave, I tried your suggestions; result below. I am still unable to telnet to the Postfix server on port 25; I get connection refused. I don't understand why Postfix is not responding with the hello command. Maybe it is some simple thing I am overlooking, I just don't see what is wrong. By the way, telnet to Dovecot on 110; dovecot responds with a validation error. I am stuck without an answer; I just don't know where to go; what to check, why this is failing. I am thinking of removing firewalld; can it block even if shut? I prefer iptables as a firewall and know how to configure it. The only thing I can think of is that the firewall is not allowing even when it is not running; which is a strange thing. I don't know if it is the firewall that is giving me the connection refuse status or Postfix. Normally when I set up iptables, I don't let it report back the status; someone trying to gain access through a port won't get any message about being refused. Please help someone! Your system has 31.16 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB. BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured. Postfix is configured to support per-domain outgoing IP addresses. Apache is installed. The following PHP versions are available : 5.6.39 (/bin/php-cgi), 7.0.27 (/opt/rh/rh-php70/root/usr/bin/php-cgi), 5.6 (mod_php) PHP-FPM version 5.6.39 support is available on this system. Webalizer is installed. Apache is configured to host SSL websites. MySQL is installed and running. ProFTPD is installed. Logrotate is installed. SpamAssassin and Procmail are installed and configured for use. ClamAV is installed and assumed to be running. Plugin AWstats reporting is installed OK. Plugin Protected web directories is installed OK. Using network interface enp2s0 for virtual IPs. Default IPv4 address for virtual servers is REDACTED. Both user and group quotas are enabled for home and email directories. All commands needed to create and restore backups are installed. The selected package management and update systems are installed OK. Chroot jails are available on this system *.. your system is ready for use by Virtualmin. * *Beginning validation of selected virtual servers. Any problems found will be shown in red ..* REDACTED.com All features OK Firewalld check: 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 protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: On 30/12/18 18:26, Dave Overton via webadmin-list wrote: > Virtualmin Email works just fine. > > Please verify your install. From the virualmin menu (using Authentic Theme) hit the "System Settings - Re-Check Configuration" and also hit Re-Run install Wizard. > > If it still fails, hit "Limits and Validation - Validate Virtual Servers", then Validate now. > > By now, you should see your problem, and be able to fix it. > > Dave > > > >> -----Original Message----- >> From: Kimberly [mailto:kim...@gm...] >> Sent: Sunday, December 30, 2018 12:44 PM >> To: Webmin users list >> Subject: [webmin-l] Virtualmin Email Doesn't Work >> >> I have two different servers; one on a VPS, one on a dedicated server, >> both using CentOS 7 and Virutalmin and on both servers emails don't >> work. This is a Virtualmin issue. Both servers if I try to send an >> email to a user the emails just disappear. They don't bounce back, >> they >> don't show up in the user's inbox, they just disappear. Furthermore, >> the whole send email client configuration doesn't work; I even checked >> forwarding. The email client configuration does not show up either on >> the server or the forward email. Now on one server I can get >> thunderbird to connect and pull the mail settings and on the other it >> can't. However, on the server that does, it keeps telling me that the >> password is wrong even when I added it manually in sight and copy and >> past into Thunderbird. Is it the default settings in firewalld that >> Virtualmin creates? I don't know. What I do know is that I have two >> servers with Virtualmin where emails don't work and if emails don't >> work, then Virtualmin has to be discarded as valid options for control >> panels >> >> Now on a third server that just has webmin; no virtualmin, I have >> emails >> working, they come in and show up in the user's inbox. That server I >> manually configured everything but it only has one real domain for the >> mail server. >> >> If there is some magical tutorial on setting up Virtualmin to use >> multiple domains with one mail server to get it all working, please >> show >> me that because I haven't found it. >> >> >> >> - >> Forwarded by the Webmin mailing list at webadmin- >> li...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |
From: <sou...@ro...> - 2019-01-03 11:13:12
|
Kimberly, hi. Both servers if I try to send an > email to a user the emails just disappear. The mail messages shouldn't disappear. Check Servers/Postfix/Mail Queue. Now on one server I can get Thunderbird to connect and pull the mail > settings and on the other it can't. That must be Firewall. Did you install Virtualmin using install script or simply installed it as a package? If latter, things might and will be broken, and require you to do things manually that install script does automatically. The simple thing is to run install script <http://software.virtualmin.com/gpl/scripts/install.sh> on the clean machine. https://www.virtualmin.com/download.html In case you can not do that, then you would need to debug things around and fix it manually. 1. Make sure that Postfix is running. 2. Try to run *tcpdump* while connecting to your host? 3. Most VPS companies prohibit and block outbound traffic on port 25. Could that be your issue? 4. Try to adjust your Firewall (iptables) to make sure it permits connections to port 25: 4.1. Run: *firewall-cmd –zone=public –add-port=25/tcp –permanent* * To check currently used zone run: *firewall-cmd --get-default-zone* You could use a module (UI) to manage FirewallD on your Webmin system. (type for Firewall in search panel in navigation menu) You could install ConfigServer Security & Firewall <https://configserver.com/cp/csf.html> (csf) to manage your iptable rules and do many other things just using UI (no extra knowledge required). Authentic Theme has extensive support for it. Let me know if I could provide any more help. Happy New Year, Ilia |
From: Kris D. <kd...@vi...> - 2019-01-04 22:22:29
|
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 |
From: Kimberly <kim...@gm...> - 2019-01-07 20:50:47
|
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 > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |