All Classes Files Functions Variables Enumerations Enumerator Groups Pages
SenderPolicy.idl
Go to the documentation of this file.
1 /**
2  * @file SenderPolicy.idl
3  * @brief Set options for sender policy.
4  *
5  * @author Vaclav Bystricky
6  *
7  * @copyright Copyright © 2017 Kerio Technologies s.r.o.
8  */
9 
10 #import <kerio/web/idl/SharedStructures.idl>
11 
12 module kerio {
13 module jsonapi {
14 module admin {
15 
17  boolean authenticationRequired; ///< Require sender authentication for local domains
18  boolean antiSpoofingEnabled; ///< Is Antispoofing enabled
19  kerio::web::OptionalEntity IPWhiteList; ///< Trusted senders (Not chceked by anti-spoofing)
20 };
21 
22 interface SenderPolicy {
23  /**
24  * Obtain Sender Policy options.
25  *
26  * @param options - current sender options
27  */
28  void get(out SenderPolicyOptions options);
29 
30  /**
31  * Set Sender Policy options.
32  *
33  * @param options - options to be updated
34  */
35  void set(in SenderPolicyOptions options);
36 };
37 
38 }; }; };//end of namespace