The service ‘freshclam’ on server server.loginroot.com is currently down (Debian 8)

If You are getting mails from DA about:
1 |
The service 'freshclam' on server server.loginroot.com is currently down |
If You are getting mails from DA about:
1 |
The service 'freshclam' on server server.loginroot.com is currently down |
Directadmin doesn’t have possibility to add SSL certificate for a subdomain, unless You add it as a separate domain in domain control. You may also use separate SSL certificates by creating a custom httpd (or nginx, but it would require to change the CAROOT line) file in user configuration dir i.e. loginroot.com.cust_httpd (or loginroot.com.cust_nginx if it’s nginx).
1 2 3 4 5 |
|*if SUB="subdomain"| |?KEY=/usr/local/directadmin/data/users/loginroot/domains/subdomain.loginroot.com.key| |?CERT=/usr/local/directadmin/data/users/loginroot/domains/subdomain.loginroot.com.cert| |?CAROOT=SSLCACertificateFile /usr/local/directadmin/data/users/loginroot/domains/subdomain.loginroot.com.cacert| |*endif| |
Script for populating /etc/virtual/domainips records for the exim. Exim configuration change is described here It takes IP that is assigned to that domain in Directadmin and adds it to the domainsip file. Here is the script (Please note: it always overwrites the domainips file!!!):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#!/bin/sh LIST=`/bin/cat /etc/virtual/domainowners | tr -d ' '` echo -n '' > /etc/virtual/domainips for LINE in $LIST; do USER=`echo $LINE | cut -d: -f2` DOMAIN=`echo $LINE | cut -d: -f1` if [ -f "/usr/local/directadmin/data/users/$USER/domains/$DOMAIN.conf" ]; then IP=`/bin/grep 'ip=' /usr/local/directadmin/data/users/$USER/domains/$DOMAIN.conf | cut -f2 -d=` [ -z $IP ] || echo "$DOMAIN: $IP" >> /etc/virtual/domainips fi done exit 0; |
note: You may add this script to cron, for automatic ‘domainips’ updates.
To be able to send mails via different IP per domain, You need to do the following changes in the /etc/exim.conf file: Find the “remote_smtp:” part, and add line
If got error with owncloud when using owncloud application (custombuild managed structure):
1 2 |
[Mon Mar 24 19:42:39.379283 2014] [access_compat:error] [pid 525512] [client 86.100.237.21:55665] AH01797: client denied by server configuration: /home/admin/domains/domain.tld/ private_html/owncloud/remote.php |
Solution is to enable PUT requests.
Noticed that one squirrelmail sometime hangs. It contained default directadmin installation configs. Straced proccess, and found that it queries DNS servers for a quite long time (only snippet):