On default Debian8 installation /var/run/clamav has wrong permissions.
ERROR: Can't save PID in file /var/run/clamav/clamd.pid
Owner was a root.
This is a fix for it.
Well known Exim4 issue.
Skurudo gave a solution - https://forum.vestacp.com/viewtopic.php?t=11220#p42605
And, btw, you could think about adding:
disable_ipv6=true
... because GMail and many others mail servers consider sending from ipv6 as spammy email.
(very stupid logic, but it's simply true, if you are sending from ipv6 GMail will mark it as SPAM 100%)
I'm not commiting this, I'll leave to you about this.
In this commit I'm just fixing well known issue with keep_enviroment.
Roundcube is not able to write to /var/log/roundcube
This is a fix for it.
Reported as a bug long time ago - https://forum.vestacp.com/viewtopic.php?f=12&t=10114&p=39648#p38630
See last line at this post.
In v16 you accepted my pull request for password driver, but that was just a partial fix, because it needs to fix log permissions too.
Now here is a fix for roundcube log permissions.
''Vesta Password Driver for Roundcube'' will try to make a HTTPS request to Vesta, in order to change mail password.
In /etc/roundcube/plugins/password/config.inc.php you have:
$rcmail_config['password_vesta_host'] = 'localhost';
That 'localhost' must be changed to server hostname, because HTTPS to localhost will not works if your server hostname is not 'localhost', because SSL certs are not for 'localhost' but for server hostname.
This line will change localhost to server hostname, and 'Vesta Password driver for Roundcube' will works.
better for security:
using 022 for local_umask and anon_umask is better than 002 ,
it will create default 755 folders and 644 files (instead of 775) :
777 - 775 = 002
777 - 755 = 022
i think it's better to change in all vsftpd.conf files (all in install folder)
regards
better for security
using 022 for local_umask and anon_umask is better than 002 ,
it will create default 755 folders and 644 files (instead of 775) :
777 - 775 = 002
777 - 755 = 022
i think this must change in all vsftpd.conf files in install folder
regards