Checking shadowMin and shadowExpire conditions

reported http://bugzilla.padl.com/show_bug.cgi?id=450