@echo off
set /p kaynakdosyayol=Full path to the source img file :
set /p kaynakdosya=Full name of source img file :
cd C:\Program Files\Oracle\VirtualBox 
VBoxManage convertdd %kaynakdosyayol%\%kaynakdosya% %homepath%\Desktop\%kaynakdosya%.vdi
echo VDI file saved to your desktop


zmprov mcf zimbraMtaSmtpdRejectUnlistedRecipient yes
zmprov mcf zimbraMtaSmtpdRejectUnlistedSender yes
zmprov mcf zimbraMtaSmtpdSenderLoginMaps  proxy:ldap:/opt/zimbra/conf/ldap-slm.cf +zimbraMtaSmtpdSenderRestrictions reject_authenticated_sender_login_mismatch

vi /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf

Add reject_sender_login_mismatch to the the line

permit_mynetworks, reject_sender_login_mismatch

zmmtactl restart 
zmconfigdctl restart

Test your SMTP Configuration from this site https://www.wormly.com/test-smtp-server

Adding ntfs to usbmount

  1. Install usbmount with sudo apt-get install usbmount.
  2. Install NTFS driver package ntfs-3g with sudo apt-get install ntfs-3g.

  3. Configure usbmount to mount specified filesystems by opening the usbmount file with sudo nano /etc/usbmount/usbmount.conf.

In here there is a line called FILESYSTEMS="". Only filesystems specified in this line are mounted via usbmount, so we change it to : FILESYSTEMS="vfat ntfs fuseblk ext2 ext3 ext4 hfsplus"

If you want usbmount to mount NTFS Filesystems, be sure to add ntfs and fuseblk to the line. NTFS devices are sometimes listed as fusblk by the ntfs-3g package, so...