Improved: If quarantine is turned off (mail.ipQuarantinePeriod=0) no SQL queries for quarantine checking are executed.