Setting up webmail.domain.com for existing users

The code

Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
 /usr/local/directadmin/dataskq d

affects all domains including existing.

What you should do now is to update DNS zones for existing domains, as it mentioned in the guide:

For existing dns zones, you'll have to manually add the webmail A record to point to the domains IP.

So either do it in directadmin web-interface or do it manually in shell (/var/named). Otherwise you might want to write a script, which would do all necessary changes. For now I do not see any other solution, but maybe anybody else see.
 
Yes, that should work. But if you're hosting your secondary DNS server on another box, you'll need to initiate update of zones on all your secondaries DNS servers.
 
Back
Top