May 25 2009 by
Barry in
Linux |
Use VI to edit /usr/syno/mailstation/etc/main.cf
Find the line
mydestination = $myhostname (this will be the domain you entered in the gui)
For additional domains, just add them to this line, ie:
mydestination = $myhostname mydomain1.com mydomain2.com
Note: Every user will receive mail for all domain names, so johndoe@mydomain1.com, johndoe@mydomain2.com, etc
May 11 2009 by
Barry in
Linux |
Add
trap clear 0
to the top of /etc/profile
Sometimes you want to have a static address, for testing purposes or something else.
I really dislike going through control panel, network connections, etc just to have a static ip address for a simple action which will take me 10 minutes and then changing it back.
Here is how to automate it, I created a batch file which will set a static ip, subnetmask, default gateway and dns
With this command you will connect to virtual center and create a file-level mount over the network (no san mode, if you want this (FC or iSCSI) use the option “-m san”).
vcbmounter -h virtualcenter.domain.com -u username -p password -a name:nameofthevm -t file -r c:\mnt\nameofthevm -m nbd
To unmount
vcbmounter -h virtualcenter.domain.com -u username -p password -U c:\mnt\nameofthevm
Although ntbackup is unsupported for use with VCB
Click “start” –> “run”
Type: %windir%\system32\control.exe keymgr.dll