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 - dukkha

Pages: [1]
1
SSL / Re: [SOLVED] TLS Problem messing up Dovecot & ClamAV
« on: December 07, 2016, 10:31:12 PM »
Rebuild of email server overwite any change made in .config files. The name of the certificate HAS to match server Hostname. The only way to pemenently fix the issue is to have to hostname matching the certificate or the TLS Matching the Hostname.

E.g. test.server.com will not work with tls like server.crt
      test.server.com will work with test.server.crt
      server.com will not work with test,server.crt
      server.com will work with sever.crt

It is frustrating and confining not to be able to modify conf files permenantly

2
CentOS 6 Problems / Re: CLAMAV update problem
« on: December 07, 2016, 09:04:51 PM »
Where exactly in the config did you go to change the path ?? I am having the same issue. I also have an issue with dovecot that points to wrong path. I can manually edit the .conf files but everytime i rebuild or restart mail services, the old config that points to wrong certificate comes back.  >:(

Hi,
Had same errors after CWP or Centos update.. could not receive emails from google some kind TLS error cant remember but there are paths changed to crt files. After fixed that in config had to change user from clam to root because clam could not scan any mail. Then I got that error since nothing with permissions didnt help I changed name of log file in config. Try that and see

Regards

3
CentOS-WebPanel GUI / Re: how to secure login ip
« on: December 07, 2016, 08:55:04 PM »
This is caused by apache default CWP redirect rules

Go to

-Apache Settings
--Apache Redirects

Delete any redirects pointing to your IP addresses or simply replace IP by Domain name.

Hope it helps.

4
SSL / [SOLVED] TLS Problem messing up Dovecot & ClamAV
« on: December 07, 2016, 08:42:29 PM »
I recently tried to install Letsenycrpt but it gave me a bunch of Error message, so i resorted to the good old self signed certificates. I generated certificate the usual way but it was giving me error message that my .crt were empty. I noticed that my attempt to install Letsencrypt created a whole bunch of dummy certificates. I had to delete all of them, start all over and it worked.

Now i have a problem. Here is the error message.

Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 105: ssl_cert: Can't open file /etc/pki/tls/certs/CPWeb1.******.***.crt: No such file or directory
[FAILED]

So dovecot is trying to opên with the old certificate so it wont start. I manually edited dovecot.conf with the correct path and file name and now dovecot start and works just fine, but ClamAV crashes and gives permission errors.

If i rebuild or restart all Mail services, the config with the old certificate comes back and i am back to the same old problem. So here is my question. where do i go to update the certificate path to the proper one ??

Please help, i am banging my head against the wall.

Pages: [1]