public bool SaveData()
{
hMailServer.Settings settings = APICreator.Application.Settings;
hMailServer.AntiSpam antiSpamSettings = settings.AntiSpam;
antiSpamSettings.GreyListingEnabled = checkEnable.Checked;
antiSpamSettings.GreyListingInitialDelay = textGreyListingInitialDelay.Number;
antiSpamSettings.GreyListingInitialDelete = textGreyListingInitialDelete.Number * 24;
antiSpamSettings.GreyListingFinalDelete = textGreyListingFinalDelete.Number * 24;
antiSpamSettings.BypassGreylistingOnMailFromMX = checkBypassGreyListingOnMailFromMX.Checked;
antiSpamSettings.BypassGreylistingOnSPFSuccess = checkBypassGreylistingOnSPFSuccess.Checked;
Marshal.ReleaseComObject(settings);
Marshal.ReleaseComObject(antiSpamSettings);
DirtyChecker.SetClean(this);
return true;
}