Go to the documentation of this file.
11 #ifndef _SOM_CHECKADDRESS_H
12 #define _SOM_CHECKADDRESS_H
27 #define SOM_FACILITY_CHECKADDRESS (16)
34 #define SOM_CKADR_ATT_X400ADDRESS 1
35 #define SOM_CKADR_ATT_RFC822ADDRESS 2
36 #define SOM_CKADR_ATT_DELIVERED_MTA 3
37 #define SOM_CKADR_ATT_DELIVERED_CHANNEL 4
38 #define SOM_CKADR_ATT_DELIVERED_CHANNEL_WEIGHT 5
39 #define SOM_CKADR_ATT_AUTH 6
40 #define SOM_CKADR_ATT_REDIRECTED_ADDRESS 7
41 #define SOM_CKADR_ATT_REDIRECTED_DN 8
42 #define SOM_CKADR_ATT_REDIRECTED_TIME 9
43 #define SOM_CKADR_ATT_REDIRECTED_REASON 10
44 #define SOM_CKADR_ATT_LOCAL_DELIVERY_UID 11
45 #define SOM_CKADR_ATT_LOCAL_DELIVERY_GID 12
46 #define SOM_CKADR_ATT_LOCAL_DELIVERY_USERNAME 13
47 #define SOM_CKADR_ATT_LOCAL_DELIVERY_DIRECTORY 14
48 #define SOM_CKADR_ATT_LOCAL_DELIVERY_MAILBOX 15
49 #define SOM_CKADR_ATT_LOCAL_DELIVERY_SHELL 16
50 #define SOM_CKADR_ATT_LOCAL_DELIVERY_HOME 17
51 #define SOM_CKADR_ATT_LOCAL_DELIVERY_FORMAT 18
52 #define SOM_CKADR_ATT_LOCAL_DELIVERY_RESTRICTED 19
53 #define SOM_CKADR_ATT_LOCAL_DELIVERY_MAILFILTER 20
54 #define SOM_CKADR_ATT_LOCAL_DELIVERY_SYSMAILFILTER 21
55 #define SOM_CKADR_ATT_LOCAL_DELIVERY_PATH 22
56 #define SOM_CKADR_ATT_LOCAL_DELIVERY_OPTIONS 23
57 #define SOM_CKADR_ATT_LOCAL_DOMAIN 24
66 struct SOMCheckResults;
87 struct SOMCheckResults *data,
89 const char *errstring);
158 #define SOM_CKADR_ORIGINATOR (1)
159 #define SOM_CKADR_RFC822 (1<<1)
160 #define SOM_CKADR_X400 (1<<2)
161 #define SOM_CKADR_DN (1<<3)
162 #define SOM_CKADR_NORMALIZE_ALL (1<<4)
163 #define SOM_CKADR_NO_RESPONSIBILITY (1<<5)
164 #define SOM_CKADR_NO_REDIRECTION (1<<6)
165 #define SOM_CKADR_PARSE_X400 (1<<7)
166 #define SOM_CKADR_PARSE_RFC822 (1<<8)
167 #define SOM_CKADR_PARSE (1<<9)
168 #define SOM_CKADR_DOMAIN (1<<10)
185 const char *sender_name,
186 const char *inmta_name,
187 const char *inchannel_name,
int SOMCheckAddressSetCallback(struct SOMSession *session, SOMCheckAddressCallback *callback, SOMCheckAddressCallback **oldvalue)
Set the Address Check callback function for this session.
int SOMCheckAddressGetStrParam(struct SOMCheckResults *res, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the check results.
void SOMCheckAddressCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMCheckResults *data, int status, const char *errstring)
Prototype for callback for check address completion.
Switch Operation Management Interface.
int SOMCheckAddress(struct SOMSession *session, const char *address, const char *sender_name, const char *inmta_name, const char *inchannel_name, const int flags, void *ophandle, int async)
Perform an address check.
int SOMCheckAddressGetIntParam(struct SOMCheckResults *res, int paramtype, int *valp)
Return an integer-valued parameter from the check results.
All rights reserved © 2002 - 2024 Isode Ltd.