10 #import <kerio/web/idl/SharedStructures.idl>
17 enum AttachmentAction {
39 typedef sequence<AttachmentItem> AttachmentItemList;
61 typedef sequence<AntivirusOption> AntivirusOptionList;
69 boolean areOptionsAvailable;
70 AntivirusOptionList options;
73 typedef sequence<AntivirusPlugin> AntivirusPluginList;
83 boolean isLiveProtectionEnabled;
89 enum ReactionOnVirus {
97 enum ReactionOnNotScanned {
105 enum AntivirusStatus {
114 ReactionOnVirus reaction;
170 boolean applyOnTesting;
197 enum GreylistingStatus {
214 enum IntegratedAntiSpamStatus {
218 AntiSpamNotInitialized,
254 boolean useCustomRulesInSmtp;
268 typedef sequence<BlackList> BlackListList;
270 enum CustomRuleKind {
275 enum CustomRuleType {
284 enum CustomRuleAction {
298 CustomRuleAction action;
303 typedef sequence<CustomRule> CustomRuleList;
318 void addBlackLists(out kerio::web::ErrorList errors, in BlackListList items);
339 void getAttachmentRules(out AttachmentItemList filterRules);
354 void getAvailableAttachments(out kerio::web::StringList fileNames, out kerio::web::StringList mimeTypes);
361 void getBlackListList(out BlackListList list);
378 void removeBlackLists(out kerio::web::ErrorList errors, in kerio::web::KIdList ids);
386 void removeUnusedCustomRules(in
long number, in HourOrDay unit);
401 void setAntivirusSetting(out kerio::web::ErrorList errors, in
AntivirusSetting setting);
408 void setAttachmentRules(in AttachmentItemList filterRules);
424 void setBlackLists(out kerio::web::ErrorList errors, in kerio::web::KIdList ids, in
BlackList pattern);
431 void setCustomRuleList(in CustomRuleList list);
436 void testGreylistConnection();
441 void testIntegratedAntiSpamEngine(out IntegratedAntiSpamStatus status);
453 void updateIntegratedAntivirus();