Show Posts

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.


Messages - Wonder

Pages: 1 ... 4 5 [6] 7 8 9
76
E-Mail / Re: Transfer server from cPanel, problems with mail-SSL
« on: June 26, 2021, 11:23:13 AM »
Yes, I am aware that Cloudflare maintains a cache, so I do not start the tests until I see that it has cached the new IP (with a simple ping you can see it).

About it ... well it is true that I did not explain myself well, I am not native English and my English is not very fluent, as I said, I used a translator and the result is not very good.

On the contrary, SAN must be used, it is not that there was a bug and I put a patch, the explanation is difficult because I cannot find the English word that describes what I wanted to express.

It is not about going back to cPanel or hiring an advanced systems administrator, this is another panel, a sys admin can be very good and not know CWP then ...
In my job I am a sys admin, neither the best nor the worst, I only do my job the best I can.

Here, in any case, it would have been hiring a CWP administrator, but as I mentioned before, I did everything exactly the same and, the first time it did not work, the second it worked perfectly.
Difference? None, the whole process was the same.

What I did the first time that it didn't work, what do I say I didn't like? (I mean I didn't like the kind of solution I did), create a subdomain mail.mydomain.com
With it, then fine.

Now, as I did rollback, I made the transfer and I didn't need it, from the first moment, everything was fine.

Not trying or trying to go back to cPanel or sys admin advanced ...
This problem is like the AutoSSL of cPanel, the difference is the type of support, and I understand it, the price difference is also huge!

Having said all that, I like CWP and I hope to continue for a long time and migrate more servers that I have spread over the wide width of the internet ...

77
E-Mail / Re: Transfer server from cPanel, problems with mail-SSL
« on: June 25, 2021, 06:58:30 AM »
That's right, it works, and I'm happy about it too.

As I mentioned, I made the rollback and left the VPS in the starting state just to start transfer from cPanel (everything else was already configured) I made the transfer and the cPanel certificate had 3 days left.
As I mentioned, the only difference is that, this time, I did not give it to renew, but I did it automatically, when I realized it I added the SAN's .... once everything was configured, the first thing I did was change the MX record and the A "mail" record .... surprise to me that it worked ...
I did not make any other changes, well yes, the first time some change in the CWP dns records (I changed the cname of the mail record for an A record) this time no, but it lacks value when the dns from domain point, in this case , to cloudflare, then the dns are handled from there, and there all I did was change the ip of the old vps to the ip of the new one.

If it is something that I have never touched or do not know or similar, it is not difficult for me to indicate that it access CWP but it was so strange that ... either there was a bug or I had to fix it (I like to see the problem and solve it). Be careful, in a "patch" mode I had fixed it, but it was not the best option nor did I like it, having the possibility of SAN ...

Thanks for your reply.

Regards.

78
E-Mail / Re: Transfer server from cPanel, problems with mail-SSL
« on: June 24, 2021, 02:22:29 PM »
In a way I don't agree that opening new threads doesn't help. I have configured many things thanks to threads that exist.

Another thing is that the policy of CWP is that, in the face of a problem of this type, a ticket is opened and not a thread, then, there I have nothing to say because it is the policy of CWP-Studio4Host.

Surprisingly I managed to solve it, as I said at the beginning, I solved it by making a configuration that I did not like at all, I could not say the exact word in English that describes it, I am going to use a translator, so I do not know how it will be: In my language it will be I'd say "botched" but it worked.

Well, I was doing the migration tests, so just before starting the migration I had a snapshot of the VPS, they were tests because the dns in cloudflare still pointed to the old ip (except in the moments of tests that it pointed to the new one) and there I saw that problem ...

Last night, I rolled back the snapshot to make the final transfer / migration ...

Before continuing, I had the snapshot with everything configured but without any migrated accounts. SW. installed from 0, CWP installed from 0 and the necessary settings for php-fpm and php.ini.

Well, my surprise comes when, doing exactly the same as the previous time ... now yes, mail.mydomain.com now works without any problem!
I start to look for the differences, the only one, when I did tests, I renewed the SSL certificate by pressing the renew button now, this time not, as the cPanel certificate had 2 days left, shortly after finishing the migration the system automatically renewed for 90 days, I just had to add SAN for mail and webmail and .... it works! Now it works well.
Yes, between my testing and last night, there was a CWP update but ... I highly doubt it.

Maybe it was that clicking on renew now affects something? I don't think so, but it's the only thing different ...

The rest of the process, identical, first I changed dns in cloudflare pointing to the new server in the mx record and mail.mydomain.com, I saw that everything was going well and .... I already changed the rest of the dns's.

For my part there is no explanation, I do not know if when there is a transfer it is different than if we create an account of 0 in CWP, for example, if I go to Domains-List Domains none appears (and I have two active accounts-domains ), but to think something ...

For the rest, what I mentioned (and this post is long) I did the process exactly the same as the other time, except that I let the certificate renew itself and ... it worked ...

Greetings!

79
E-Mail / Re: Mail server different as Hostname
« on: June 22, 2021, 08:43:57 AM »
Good thread this for me.
But for me, not work.
Hostname: server.mydomain.com
MX record: mail.mydomain.com
A record: mail.mydomain.com

Can't connect to mail with SSL, appears a certificate of CWP not of my domain.

If I configured my client mail with hostname, then, works fine, if configured with mail.mydomain.com appears a certificate of CWP.

SAN create for mail,.mydomain.com

This is my thread: http://forum.centos-webpanel.com/index.php?topic=10971.new;topicseen#new

80
E-Mail / Re: Transfer server from cPanel, problems with mail-SSL
« on: June 20, 2021, 06:53:50 PM »
After much reading, I came to the conclusion that email with SSL only works if we indicate the hostname.
Check with the sysadmin ... I'm the sysadmin of this VPS/site.
With CWP support ... what I have commented, after much reading in this forum, only works if we indicate the hostname.
That yes, it does not have any logic.
If I knew that CWP support solves it for me, I pay the support ticket (although I have put the Pro license on this server).
I have been able to do a "botch" to make it work, but I don't like it at all ...
I have a few days to make the decision, transfer from cPanel to CWP or transfer from cPanel to cPanel.
Currently I am in those days that I can do tests, but in a few days it will end where it is currently hosted and on the new host, or CWP or cPanel.
Funny because this, with cPanel does not happen, as I said in the first post, the dns point to Cloudflare, that is where I change the ip for the A records and for the A Mail record.
In CWP I have this problem, configured mail.mydomain.com does not see the certificate, it indicates that it is generated for my hostname (not for mail.mydomain.com) and my hostname is: server.domain.com
Despite the SAN, and as seen in the image, this for MAIL in SAN, it does not work (SSL is created and is only operational with server.mydomain.com).

If I do not get another solution, I will indicate how I "solved" it ...

Greetings.

81
E-Mail / Re: Transfer server from cPanel, problems with mail-SSL
« on: June 20, 2021, 11:19:19 AM »
Thanks for the reply.
If you referer a Module SSL Certificate in List Installed - Services - Admin Services, yes, I have installed this for mail.
And not work, the ssl generated is only for hostname (in this case: server.mydomain.com) and when configured DNS for point to mail.mydomain.com not work, appears a self signed certificate of/from CWP.

If you referer at other point, thanks if you can indicate to me.

This is my config:





I view all ok, I don't understand for what reasson not work with mail.mydomain.com...

82
E-Mail / Transfer server from cPanel, problems with mail-SSL
« on: June 20, 2021, 01:07:18 AM »
I know the post is long, but for me it is important.

I have been using CWP for a few months, in principle, on test servers, by the time this day arrives.
Yesterday I started a transfer from cPanel to CWP Pro, this server is no longer testing, it is in production.
All good except the mail ...
The dns are in cloudflare, but both the hostname and the mail field are grayed out, that is, not proxy and they point directly to my VPS.
I create A register with the name "mail" and the ip of my VPS.
In MX Record I indicate: mail.mydomain.com
I ping mail.mydomain.com and it returns the ip of my VPS.
I use Thunderbird, I open it and .... it does not connect, no error but it stays connecting all the time ....
I check SSL, despite enabling LetsTry in mail service, it keeps crashing.
If I try to send an email it tells me that the self-signed server is invalid and shows me the CWP ...
Through the CWP panel I make a change of hostname, I indicate exactly the same as before.
Everything remains the same...
I want to change my mail server in Thunderbird from mail.mydomain.com to server.mydomain.com (which is the hostname), voila, then it works !!
Return to mail.mydomain.com ... stops working ...

The strange thing about all this is that, in cPanel it works, I just change the ip in the cloudflare dns records and it works perfectly through mail.mydomain.com.
(Right now I have the two VPS's, one with cPanel the other with CWP Pro).

The answer would be: Leave the hostname configured.

But no, I need it to work with mail.mydomain.com, I manage the VPS, the web is not mine, and the owners of the web need it to work this way.

Apart from that, I do not understand where the problem is, the SSL generated by Lets is only for the hostname?
I have activated the mail in SSL Admin services and it keeps failing.

Where is the problem? I'm starting to go crazy ... and I need to fix it relatively quickly or else you'll have to follow that site in cPanel ...

The fact is that, in one of the test VPS with CWP if I tried this and if I remember correctly, it worked.

I have read some threads, confirm me if I am not mistaken, CWP does not allow it? Doesn't allow SSL with mail.mydomain.com, only with the hostname?

Thanks and regards.

83
CWP supports almalinux, Rocky Linux and official centos-stream you can choose them to install your server.
Thanks for this reply and this topic.

In the next days I go to migrate one account of one of my client, from cPanel to CWP, this account cPanel is in Centos7. I have others servers (personals) with CWP in Centos 8 but no problem for me change to centos 7 or better, made this step:http://wiki.centos-webpanel.com/the-future-of-centos-stream-with-cwp

But my question; At today day, CWP recommended Centos 7? Better than other like almalinux, for example?

This account, that I go to transfer from cPanel to CWP in the next days, is very important, and I can't change very, my personals...no problem, I have the same site in 3 servers, using load balancer can made tests and change centos version, distro....

Again, thanks for this thread and thanks in advanced!

84
Installation / Restore cPanel account / transfer mails
« on: June 14, 2021, 06:27:32 PM »
Hello,
At the moment, I have 4 servers with CWP and I am going to move a client from a cPanel to CWP.
I have performed the restoration of the other cPanel accounts and I saw that it was better not to select the database and thus everything else was restored well (then I restored the database manually) since the database was large.

Well, this account of a client of mine, their email accounts occupy ... I estimate that about 75 gigabytes in total, an outrage.

And here my question, would it be possible to restore cPanel account, excluding email accounts, then create them by hand, and with rsync transfer all emails from the server with cpanel to the new one with CWP?

Thanks in advance.

85
E-Mail / Re: Problem mails from server / postfix.
« on: June 11, 2021, 06:11:01 PM »
having at this moment 3 servers and only passing in 1, after searching and looking, I saw where the problem was.
On the server that I had this problem, the repos were different, there were more ... now I don't remember, but when I installed postfix-mysql I saw that it was calling a repo that now I don't remember the name (then I can access and see).
Curious because the 3 are installed, in principle, from the same image, image that my hosting provides me.
What I did was clone the repos of the servers that did not have this problem on the server with the problem.
At that time I installed postfix (I had uninstalled it) and postfix-mysql installed it automatically, and I noticed that the versions of postfix were the same in all of them, which was not the case at the time of having the problem, the version of postfix on the server with the problem it was superior to the others.

The solution of installing postfix-mysql solves the mail problem but not the anacron update problem.

86
E-Mail / Problem mails from server / postfix.
« on: June 05, 2021, 11:38:38 PM »
For a few days I have detected that my server does not send me emails from root (ssh access, firewall warning) ... after reviewing several things I find that, if I execute:
postconf -m
Mysql does not appear (in other servers that I have it does appear, I see this after executing tail -n 30 / var / log / maillog and looking for info online).
So I install postfix-mysql and after restarting postfix, it works again but .... now I have a different version of postfix than in the other servers that I have.
If I run the cwp update script:
sh / usr / local / cwpsrv / htdocs / resources / scripts / update_cwp
I get this error:
Redirecting to / bin / systemctl restart cwpsrv.service
Redirecting to / bin / systemctl restart httpd.service
Redirecting to / bin / systemctl reload httpd.service
curl: (22) The requested URL returned error: 404 Not Found
error: skipping http://repo.centos-webpanel.com/repo/8/x86_64/postfix-3.4.14-1.el8.x86_64.rpm - transfer failed
Redirecting to / bin / systemctl reload httpd.service

On the other servers, of course, I don't have that error.

If I run yum remove postfix-mysql on the other servers it tells me that it is not installed, but in this one if I uninstall it, after that, I have the mail problems again.

It is as if it had been installed through a different channel than the others (channel other than cwp).

All my servers are the same, same characteristics, same centos version, they are identical in everything, and I have not done anything about it.

Thanks in advance.

87
I view today, are downgrade phpmyadmin to 4.7.9  and now, we don't need insert password root for access.

88
Hello.

You referer to edit php.ini of usr/local/php or /usr/local/php71?

I read and I view that, indicate edit config.inc.php of PMA.

php.ini of cwp or also, we can made a .htaccess file for pma folder and set php_value session.gc_maxlifetime 36000

Post this because, I preferer only made change to lifetime of PMA any other system, if I made the change in php.ini, can affect to other parts...


89
Hi,

After install cwp, always, when I go to access to phpmyadmin from cwp, automatic made login without need insert password root.

A few hours, cwp was updated phpmyadmin to 5.0.4, after this update, after 1440 seconds need insert password root when access to phpmyadmin.

After search info, are a file we can edit for this, but if...after install cwp I don't was need login every time, now I think its possible not for this config...

Thanks.

90
Updates / Re: Anacron / system update / notifications disabled modules.
« on: December 31, 2020, 08:24:25 AM »
As I mentioned before, I have repeated the process in case there was any doubt:

Quote
nano /etc/cron.daily/cwp

Edit with:

Quote
0 8 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
0 8 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php

Results of the informative email from anacrontab:
Quote
/etc/cron.daily/cwp:

/etc/cron.daily/cwp: line 1: 0: command not found
/etc/cron.daily/cwp: line 2: 0: command not found
/etc/cron.daily/cwp_bandwidth:

sh: repquota: command not found
sh: repquota: command not found

Happy New Year!

Pages: 1 ... 4 5 [6] 7 8 9