That's right.  You don't need the www. and you also can type that second line
without the \ ie:


echo "newdomain.com:alias-newdomain" >> var/qmail/control/virtualdomains

Virginia Chism wrote:

> Just to get the syntax right in my mind (and my notes), as I understand from
> the information I have received,
>
> 'echo "newdomain.com:alias-newdomain" >/var/qmail/control/virtualdomains'
> will overwrite virtualdomains, while
>
> 'echo "newdomain.com:alias-newdomain" >> \
> /var/qmail/control/virtualdomains'
> will simply add to virtuals.  And I don't need to put the 'www.' in front of
> the 'newdomain,' is this correct?

Reply via email to