This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: 1 [2]
16
Postfix / Re: connection refused to a domain on another virtual machine
« on: October 15, 2024, 06:00:55 PM »Looks like you need to check your configuration in your NAT on your router to your internal IPs.all the other options are working correctly, webservsers, ssl, etc even emails to gmail, yahoo, or other domain.
Again, ports can only be forwarded to 1 internal IP, not multiple.
And even then things get tricky, because unless you can set your rDNS correctly, SSL, etc. won't work like they should.
I'm wonder if on postfix there is some options, idk to set other local ip to check, since when i try to curl from 1 vm to another i had to add those details in /etc/hosts ... or maybe i should add on /etc/hosts the public ip and the domain...
i ask a person that know some rules, and he said to me to check the IP that he send the emails (is internal or public)...
i'll keep search for a solution, but if u any of u got any idea what to do, or what to test i'm here for it
17
Postfix / Re: connection refused to a domain on another virtual machine
« on: October 15, 2024, 05:56:32 PM »It looks like the problem is caused by misconfiguration (invalid A,MX,CNAME records) of the DNS zones of the domains and/or by DNS resolvers on your VMs.thanks for the reply.
So my recommendation is to check the DNS zones and resolvers on both VMs.
On both vm everything is ok, rDNS, CNAME, etc... double check those info.
Maybe i need to add smt more on dns manager.
this is my DNS record for MX

rDNS is correct, all my emails to Yahoo, gmail etc are delivered and everything is ok.
18
Postfix / Re: connection refused to a domain on another virtual machine
« on: October 13, 2024, 09:34:04 AM »
Hey.
Sorry to reply after all this long time.
So first i telnet & traceroute to the domain (not the mx record) both gave me answer and it's correct, since i add in
Then i try to telnet & traceroute to the mx record (mail is the record for MX) and nothing, no answer.
I add on both server on /etc/hosts 192.168.0.x mail.domain.com and both telnet & traceroute give me answer.
When i try to send an email from 1 server to another, in mail queue, nothing, still refusing my email.

I notice that the port 25 is open only on TCP and not on UDP...
Sorry to reply after all this long time.
So first i telnet & traceroute to the domain (not the mx record) both gave me answer and it's correct, since i add in
Code: [Select]
/etc/hosts the domains with internal ip (192.168...), i need to curl data from 1 server to another.Then i try to telnet & traceroute to the mx record (mail is the record for MX) and nothing, no answer.
I add on both server on /etc/hosts 192.168.0.x mail.domain.com and both telnet & traceroute give me answer.
When i try to send an email from 1 server to another, in mail queue, nothing, still refusing my email.

I notice that the port 25 is open only on TCP and not on UDP...
19
Postfix / Re: connection refused to a domain on another virtual machine
« on: September 23, 2024, 05:05:45 PM »
Thanks for your reply.
Basically i have an IaaS (Infrastructure as a Service) where i can make VM, VPN, etc.
IaaS managing for me DDOS, mirroring servers, back-up space, etc. (at a big lvl)
On that console i set the network adapter for in/out from public IP to private IP in any direction with any port, so not using the NAT ip from CentOS WebPanel.
rDNS is set for the main domain and IP of the server.

I also set Dmark, SPF, DKIM, based on the several online tools, my email server is set correctly.
I can send emails for any other domains that are outside my VM (gmail, yahoo, ymail, etc) and everything is working like a charm.
I ran into a similar problem when i try to curl from VM1 to VM2, i added in /etc/hosts the domain with the local ip and curl work perfectly. I'm wondering if i have to do something similar.
Also 25, 465, 587 are open both direction, do i need to add in some conf file the same option like i did in /etc/hosts?
Basically i have an IaaS (Infrastructure as a Service) where i can make VM, VPN, etc.
IaaS managing for me DDOS, mirroring servers, back-up space, etc. (at a big lvl)
On that console i set the network adapter for in/out from public IP to private IP in any direction with any port, so not using the NAT ip from CentOS WebPanel.
rDNS is set for the main domain and IP of the server.

I also set Dmark, SPF, DKIM, based on the several online tools, my email server is set correctly.
I can send emails for any other domains that are outside my VM (gmail, yahoo, ymail, etc) and everything is working like a charm.
I ran into a similar problem when i try to curl from VM1 to VM2, i added in /etc/hosts the domain with the local ip and curl work perfectly. I'm wondering if i have to do something similar.
Also 25, 465, 587 are open both direction, do i need to add in some conf file the same option like i did in /etc/hosts?
20
E-Mail / Re: Can email other servers, but not my other CWP server
« on: September 23, 2024, 02:53:21 PM »
Hi.
I have the same issue, two virtual machine each with his own public IP.
Connection refused between domains hosted on those vm.
I just post a topic on "postfix".
Only thing i see in log "Connection refused".
Did u solved your issue ?
thanks
I have the same issue, two virtual machine each with his own public IP.
Connection refused between domains hosted on those vm.
I just post a topic on "postfix".
Only thing i see in log "Connection refused".
Did u solved your issue ?
thanks
21
Postfix / connection refused to a domain on another virtual machine
« on: September 23, 2024, 02:42:09 PM »
Hi there.
First i want to explain the situation.I have 2 virtual machine.
I can send emails to yahoo, gmail, etc, doesn't matter where, everything work, but if i want to send an email from a domain on VM1 to another domain on VM2 the connections is refused, cannot send it. This situation happen in both ways(VM1 to VM2 also VM2 to VM1).
I look in the mailog and i only got 1 msg "connection refused".
I don't know what to add or put so i can send emails from VM1 to VM2 and vice-versa.
Any ideas?
thanks in advanced
First i want to explain the situation.I have 2 virtual machine.
- VM1: have 1 public IP pointing to 192.168.0.30
- VM2: have 1 public IP (diff from VM1) pointing to 192.168.0.34.
I can send emails to yahoo, gmail, etc, doesn't matter where, everything work, but if i want to send an email from a domain on VM1 to another domain on VM2 the connections is refused, cannot send it. This situation happen in both ways(VM1 to VM2 also VM2 to VM1).
I look in the mailog and i only got 1 msg "connection refused".
I don't know what to add or put so i can send emails from VM1 to VM2 and vice-versa.
Any ideas?
thanks in advanced
23
E-Mail / Compact or archive emails
« on: July 05, 2024, 10:37:10 AM »
Hey!
Is there a way to minimize or archive e-mails on server, a tool, command or smt ?
I'm asking since an email is like 10G each on server, some of them are from 5 years ago and don't need them on current server.
I found the folder locations where are stored on server and i see them.
/var/vmail/DOMAIN/EMAIL/cur
What do u suggest to do ?
Thanks in advanced!
Is there a way to minimize or archive e-mails on server, a tool, command or smt ?
I'm asking since an email is like 10G each on server, some of them are from 5 years ago and don't need them on current server.
I found the folder locations where are stored on server and i see them.
/var/vmail/DOMAIN/EMAIL/cur
What do u suggest to do ?
Thanks in advanced!
24
Other / Re: Cache page ?
« on: August 18, 2023, 04:13:42 PM »
hmm... this i did not try it, i will try and see, thanks
26
Other / Cache page ?
« on: July 26, 2023, 10:37:44 AM »
Hi there.
Well i have a situation and i don't know what do to with it or how to solved and start to irritate me.
So i have a server (server is working perfectly with no problems - so it's ok) with some domains/subdomains.
I choose as WebServer: Nginx & Apache, then create a domain/subdomain file in WebServer Domain Conf, i set there nginx->phpfpm7.4.
Again as i said it before work without any problem so the config are just ok.
What is issue when i do a small modification to a page (as eg. i misspell a word, or try put to a new img. in some template, etc), i use file manager from centos (try with ftp client also) the effect online take between 15s-45s (even more like 1min +) is not instant.
I know for many 15-45 is not that much but when u do this a lot start to see it.
I'm thinking is caching the pages, but i stop the cache from nginx, varnish is not on or install.
So any ideas why is doing this? and not all centos server are doing, i made one locally on a virtual machine and is working like a charm(no delay at all), i did 2nd centos server locally on a diff. virtual machine and is delay.
What i'm missing?
Thanks in advanced.
Well i have a situation and i don't know what do to with it or how to solved and start to irritate me.
So i have a server (server is working perfectly with no problems - so it's ok) with some domains/subdomains.
I choose as WebServer: Nginx & Apache, then create a domain/subdomain file in WebServer Domain Conf, i set there nginx->phpfpm7.4.
Again as i said it before work without any problem so the config are just ok.
What is issue when i do a small modification to a page (as eg. i misspell a word, or try put to a new img. in some template, etc), i use file manager from centos (try with ftp client also) the effect online take between 15s-45s (even more like 1min +) is not instant.
I know for many 15-45 is not that much but when u do this a lot start to see it.
I'm thinking is caching the pages, but i stop the cache from nginx, varnish is not on or install.
So any ideas why is doing this? and not all centos server are doing, i made one locally on a virtual machine and is working like a charm(no delay at all), i did 2nd centos server locally on a diff. virtual machine and is delay.
What i'm missing?
Thanks in advanced.
27
SSL / Re: SSL: 2nd user
« on: March 15, 2021, 07:44:35 AM »
I think I got it

After several weeks off reinstall finally I got it.
In the next days I'll post the entire flow I did, so maybe others will need it

After several weeks off reinstall finally I got it.
In the next days I'll post the entire flow I did, so maybe others will need it
28
SSL / Re: SSL: 2nd user
« on: March 14, 2021, 09:49:15 PM »
Hi.
I reinstall the entire server again.
And I have NAT active.
Now idk why the SSL is ok if I use Apache only webserver, when I change to Nginx & Apache webserver, again everything is wrong, absolutely everything is wrong, SSL, not even the index.php is not reading correctly ....
Idk....
I reinstall the entire server again.
And I have NAT active.
Now idk why the SSL is ok if I use Apache only webserver, when I change to Nginx & Apache webserver, again everything is wrong, absolutely everything is wrong, SSL, not even the index.php is not reading correctly ....

Idk....
29
SSL / Re: SSL: 2nd user
« on: March 14, 2021, 09:46:00 AM »
Hi,
So my virtual machine works this way.
My ISP give me a group of public IPs, those IPs are pointing to a virtual machine. On that VM I assigned 2 IPs.
The flow is:
Public IP1 ---> go to ISP datacenter ---> my first internal IP of my VM : 192.160.0.*
Public IP2 ---> go to ISP datacenter ---> my second internal IP of my VM : 192.160.0.*
on IP1 ==> User 1 on CWP ==> the main domain(hostname) of server ==> SSL valid, is Ok.
on IP2 ==> User 2 on CWP ==> a domain (with subdomains) that handle my App. ==> SSL not valid, Common Name (CN) problem, in certificate appeared the hostname of the server, so the SSL is not Ok.
I tested the ports of both IP, and they are Ok.
I attached a pic, with the result of scanning. Also a result of the SSL testing result


Hope u got any idea what to test next, or what to do
Thanks
So my virtual machine works this way.
My ISP give me a group of public IPs, those IPs are pointing to a virtual machine. On that VM I assigned 2 IPs.
The flow is:
Public IP1 ---> go to ISP datacenter ---> my first internal IP of my VM : 192.160.0.*
Public IP2 ---> go to ISP datacenter ---> my second internal IP of my VM : 192.160.0.*
on IP1 ==> User 1 on CWP ==> the main domain(hostname) of server ==> SSL valid, is Ok.
on IP2 ==> User 2 on CWP ==> a domain (with subdomains) that handle my App. ==> SSL not valid, Common Name (CN) problem, in certificate appeared the hostname of the server, so the SSL is not Ok.
I tested the ports of both IP, and they are Ok.
I attached a pic, with the result of scanning. Also a result of the SSL testing result


Hope u got any idea what to test next, or what to do

Thanks
30
SSL / SSL: 2nd user
« on: March 13, 2021, 08:31:29 AM »
Hi.
I think I did something wrong, or I don't know how to config correctly.
I have a server with 2 public IP, let say Ip1 & Ip2.
Ip1:
=> is used for hostname, access CWP panel, etc
=> is used for shared Ip for server
=> I create a user that handle the main domain that is mapped on this
=> the auto SSL created for this domain is Ok, valid, etc
Ip2:
=> I create a another user for another domain
=> That domain have multiple subdomains
=> my web app is for this second domain
The auto SSL for the second user, mapped on Ip2, is not valid, I got a Common Name (CN) mismatch, the hostname for server appeared in certificate.
What i did wrong, or what i didn't config correctly.
Please advice.
Thanks
I think I did something wrong, or I don't know how to config correctly.
I have a server with 2 public IP, let say Ip1 & Ip2.
Ip1:
=> is used for hostname, access CWP panel, etc
=> is used for shared Ip for server
=> I create a user that handle the main domain that is mapped on this
=> the auto SSL created for this domain is Ok, valid, etc
Ip2:
=> I create a another user for another domain
=> That domain have multiple subdomains
=> my web app is for this second domain
The auto SSL for the second user, mapped on Ip2, is not valid, I got a Common Name (CN) mismatch, the hostname for server appeared in certificate.
What i did wrong, or what i didn't config correctly.
Please advice.
Thanks
Pages: 1 [2]

