I'm getting ready to install vqadmin. Whenever I add or delete a domain I run this command : ls /home/vpopmail/domains/ | cat | sed '/^\..*/d' > /usr/local/share/sqwebmail/logindomainlist so that sqwebmail has an updated list of domains to use for the loging screen.
Is there a way to modify vqadmin to run that shell command , or any other for that matter, ( say like emailing an administrator every time a domain is added ) whenever a domain is added or removed? If I have to modify the source code, which file and where in that file do I put what commands? ( I'm an extreme c rookie, but pretty good w/ perl and sh ) Thanks million Dan
