I don’t know why, but at one of my servers the domains.list file gets erased every x weeks. So after some weeks they are missing in the httpd.conf and the domains will not work.
Before I figure out what causes it, this is a little piece of code to fix the list and rewrite httpd:
for d in `ls /home/user/domains`; do echo $d >> /usr/local/directadmin/data/users/user/domains.list; done
Since DirectAdmin works with ‘per e-mail account send limits’ some things can work out pretty annoying.
In this case the customer sent 1000 e-mails (not SPAM) and want to send e-mail number 1001. But, changing the limit to 2000 will result in a
Please set a limit between 1 and 1000
Despite the fact of the “Zero is unlimited”, if you enter 0 it will give:
You cannot set an unlimited send limit
So I ended up to search in the files and remove the usage by hand:
rm -f /etc/virtual/domain.com/usage/info
Now the usage is removed and the customer is able to send another 1000 e-mails. Which still is not solved but for now it’s done.