What is happened has strange connotations but I would share with you the experience and understand WHY it happens.
Since a couple of days, let say a week, emails don’t work. Ok, NO problem, experience teached me to have a solid email and use the website-related emails as ‘collateral’, not main.
The problem was that I have a booking system based on an email of a site that I hold on my virtualmin, and I had great issues. Eventually today I saw that Dovecot mail server was down, and as I had in the past same similar problem, used the same command to have a diagnostic response:
The unique was:
Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 1: Expecting '{'
I watched in the related file 10-ssl.conf but I saw only a CA inside, such as:
-----BEGIN CERTIFICATE-----
MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw
TvZaBFOvV2z0gp35Z0+L4WPlbuEjN/lxPFin+
HlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv
MldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX
nLRbwHOoq7hHwg==
-----END CERTIFICATE-----
(of course changed the 50% of the encryption above)This was very strange, I was watching something differend. From 3pm to now (10:15pm), watchin almost allover the files but nothing. Dovecot didn’t restart. Dead, Same error always.
Luckily I do have a backup system that allows me to find file systems, not all, but I’ve been so happy to see that a copy of the compromised file was inthere and copied and pasted. Saved applied the configuration and now it turned to work. Almost perplex for what is happened, do someone can give me a valid explaination and why this happens? I mean: a encrypted certificate instead of a configuration file…who changed it?
Please let me know, problem is solved, but it could happen again and again.
And last but no least: Dovecot can be replaced by some other software, due the pain that every time gives to me? OF course always integrated with Virtualmin.
Thank you.
SYSTEM INFORMATION | |
---|---|
OS type and version | Almalinux 9.3 |
Webmin version | 2111 |
Virtualmin version | 7.10.0 pro |
Related packages | Dovecot |