backup Zimbra account pakai zmmailbox

October 16, 2011

Zmmailbox dapat digunakan Untuk membackup user account di zimbra mail server. Berikut adalah contoh untuk pemaikaian backup user menggunakan zmmailbox :

/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL “//?fmt=tgz” > /tmp/account.tgz

misalkan user accountnya joseph23@domain.com maka perintahnya menjadi :

/opt/zimbra/bin/zmmailbox -z -m joseph23@domain.com getRestURL “//?fmt=tgz” > /tmp/joseph23.tgz

Sedangkan perintah untuk merestorenya adalah sebagai berikut :

/opt/zimbra/bin/zmmailbox -z -m user@domain.com postRestURL “//?fmt=tgz&resolve=reset” /tmp/account.tgz

selain “reset” parameter yang lainnya adalah :

  • “skip” ignores duplicates of old items, it’s also the default conflict-resolution.
  • “modify” changes old items.
  • “reset” will delete the old subfolder (or entire mailbox if /).
  • “replace” will delete and re-enter them.

 

reff :

http://blog.zimbra.com/blog/archives/2008/09/zcs-to-zcs-migrations.html


Kumpulan Zimbra CLI

March 11, 2010

Menambah User

Command zmprov ca berguna untuk menambah user pada server zimbra melalui console.

Jika kita akan menambah user pada mail server zimbracontoh.com yang bernama  Ini Budi dengan password 6digit dan alamat email budi@contoh.com maka perintahnya adalah sebagai berikut

zmprov ca budi@contoh.com 6digit sn “Budi” givenName “Ini” displayName “Ini Budi”

Menambahkan Daftar RBL

Untuk menambahkan daftar list RBL pada server zimbra kita dapat menggunakan perintah zmprov mcf .

Sebelum kita tambah daftar list RBL ada baiknya kita check terlebih dahulu settingan defaultnya dengan perintah :

zmprov gacf | grep zimbraMtaRestriction

zimbraMtaRestriction: reject_invalid_hostname
zimbraMtaRestriction: reject_non_fqdn_hostname
zimbraMtaRestriction: reject_non_fqdn_sender
Setelah itu baru kita tambahkan sesuai keinginan kita, jangan lupa untuk diturutsertakan settingan default yang sebelumnya
zmprov mcf \
zimbraMtaRestriction reject_invalid_hostname \
zimbraMtaRestriction reject_non_fqdn_hostname \
zimbraMtaRestriction reject_non_fqdn_sender \
zimbraMtaRestriction  “reject_rbl_client dnsbl.njabl.org” \
zimbraMtaRestriction “reject_rbl_client cbl.abuseat.org” \
zimbraMtaRestriction “reject_rbl_client bl.spamcop.net” \
zimbraMtaRestriction  “reject_rbl_client dnsbl.sorbs.net” \
zimbraMtaRestriction “reject_rbl_client sbl.spamhaus.org”

Listing Account

Untuk melihat list user pada server zimbra dapat menggunakan perintah :

zmaccts



Virus Icon PowerPoint

March 10, 2010

Virus ini dikenal dengan VBS/Agent.T (Norman) memfungsikan autorun dari usb flashdisk, ciri-ciri :

  • Autorun.inf
  • sexy_bo.vbs (icon PowerPoint)
  • permainan_ketangkasan.vbs (icon PowerPoint)
  • skripsi.vbs (icon PowerPoint)
  • Stikom_Bali.vbs (icon PowerPoint)
  • C:\Documents and Settings\%user%\Application Data\svchost.vbs
  • C:\Documents and Settings\%user%\Desktop\STIKOM BALI.vbs
  • C:\Documents and Settings\%user%\Favorites\svchost.lnk

Gejala-gejalanya yaitu :

  • Disable fungsi find, run, folder options
  • Disable System Restore
  • Task Manager, Regedit, MsConfig dirubah ke notepad

Registry yang dirubah :

HKCU\Software\Microsoft\Windows\CurrentVersion\Run
svchost = C:\Documents and Settings\%user%\Favorites\svchost.lnk

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
NoFileAssociate=1
NoFind=1
NoFolderOptions=1
NoRun=1

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System
DisableCMD=1
DisableRegedit=1

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Hidden=0
HideFileExt=1
Start_ShowNetPlaces_ShouldShow=0

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\SystemDisableTaskMgr=1

HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\SystemRestoreDisableSR=1

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\attrib.exe
Debugger = notepad.exe

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe
Debugger = notepad.exe

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msconfig.exe
Debugger = notepad.exe

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit.exe
Debugger = notepad.exe

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit32.exe
Debugger = notepad.exe

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\TaskMgr.exe
Debugger = notepad.exe

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\setup.exe
Debugger = notepad.exe

Registry berikut merubah icon vbs menjadi icon powerpoint :

HKEY_CLASSES_ROOT\VBSFile
(Default)=Microsoft PowerPoint Presentation
FriendlyTypeName = Microsoft PowerPoint Presentation
NeverShowExt = 1

HKEY_CLASSES_ROOT\VBSFile\DefaultIcon
C:\WINDOWS\Installer\{90110409-6000-11D3-8CFE-0150048383C9}\pptico.exe,1

mengalihkan fungsi script :

HKEY_CLASSES_ROOT\inffile\shell\install\command
(Default) = logoff.exe

HKEY_CLASSES_ROOT\regfile\shell\open\command
(Default) = logoff.exe

HKEY_CLASSES_ROOT\VBSFile\shell\edit\command
(Default) = logoff.exe


Follow

Get every new post delivered to your Inbox.