POSTFIX – How to fix “warning: mail_queue_enter: create file maildrop/XXXXXXXX: Permission denied”

Following a server crash I started receiving errors as listed. Here is how I fixed it:

service postfix stop
 killall -9 postdrop
 postfix check
 service postfix start

If ‘postfix check’ returns errors – look through them and fix them one by one then run that command again to verify if everything is OK.

If you still having problems try:

chgrp -R postdrop /var/spool/postfix/public
chgrp -R postdrop /var/spool/postfix/maildrop/
/etc/postfix/post-install upgrade-permissions
/usr/sbin/postfix set-permissions


UDOO – Debian -fixing Heartbleed Bug

The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).

The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.


Unfortunately my server was running one of the affected versions:

quick fix – add

deb jessie main

to /etc/apt/source.list

then I run:

apt-get update
apt-get -y install openssl

WMI repair

For Windows XP Service Pack 2

Click Start, Run and type the following command:

rundll32 wbemupgd, UpgradeRepository

For Windows Server 2003

Use the following command to detect and repair a corrupted WMI Repository:

rundll32 wbemupgd, RepairWMISetup

Re-registering the WMI components (Ref WMI FAQ)

The .DLL and .EXE files used by WMI are located in %windir%system32wbem. You might need to re-register all the .DLL and .EXE files in this directory. If you are running a 64-bit system you might also need to check for .DLLs and .EXE files in %windir%sysWOW64wbem.
To re-register the WMI components, run the following commands at the command prompt:

  • cd /d %windir%system32wbem
  • for %i in (*.dll) do RegSvr32 -s %i
  • for %i in (*.exe) do %i /RegServer