Is it possible to add domains and or manage mail accounts from command line?
More specifically, if i wanted to just setup a mail forward for a domain i havent added yet, how difficult would that be?
Is it possible to add domains and or manage mail accounts from command line?
More specifically, if i wanted to just setup a mail forward for a domain i havent added yet, how difficult would that be?
You can easily setup a mail forwarder by editing /etc/valiases/domain.com and adding in the line there:
from@domain.com: to@otherdomain.com
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com