Address Checking operations
Macros | |
| #define | SOM_CKADR_ORIGINATOR (1) |
| #define | SOM_CKADR_RFC822 (1<<1) |
| #define | SOM_CKADR_X400 (1<<2) |
| #define | SOM_CKADR_DN (1<<3) |
| #define | SOM_CKADR_NORMALIZE_ALL (1<<4) |
| #define | SOM_CKADR_NO_RESPONSIBILITY (1<<5) |
| #define | SOM_CKADR_NO_REDIRECTION (1<<6) |
| #define | SOM_CKADR_PARSE_X400 (1<<7) |
| #define | SOM_CKADR_PARSE_RFC822 (1<<8) |
| #define | SOM_CKADR_PARSE (1<<9) |
| #define | SOM_CKADR_DOMAIN (1<<10) |
Functions | |
| 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. | |
Detailed Description
Macro Definition Documentation
◆ SOM_CKADR_ORIGINATOR
| #define SOM_CKADR_ORIGINATOR (1) |
Flag masks for address check operation
Definition at line 158 of file checkaddress.h.
◆ SOM_CKADR_RFC822
| #define SOM_CKADR_RFC822 (1<<1) |
Definition at line 159 of file checkaddress.h.
◆ SOM_CKADR_X400
| #define SOM_CKADR_X400 (1<<2) |
Definition at line 160 of file checkaddress.h.
◆ SOM_CKADR_DN
| #define SOM_CKADR_DN (1<<3) |
Definition at line 161 of file checkaddress.h.
◆ SOM_CKADR_NORMALIZE_ALL
| #define SOM_CKADR_NORMALIZE_ALL (1<<4) |
Definition at line 162 of file checkaddress.h.
◆ SOM_CKADR_NO_RESPONSIBILITY
| #define SOM_CKADR_NO_RESPONSIBILITY (1<<5) |
Definition at line 163 of file checkaddress.h.
◆ SOM_CKADR_NO_REDIRECTION
| #define SOM_CKADR_NO_REDIRECTION (1<<6) |
Definition at line 164 of file checkaddress.h.
◆ SOM_CKADR_PARSE_X400
| #define SOM_CKADR_PARSE_X400 (1<<7) |
Definition at line 165 of file checkaddress.h.
◆ SOM_CKADR_PARSE_RFC822
| #define SOM_CKADR_PARSE_RFC822 (1<<8) |
Definition at line 166 of file checkaddress.h.
◆ SOM_CKADR_PARSE
| #define SOM_CKADR_PARSE (1<<9) |
Definition at line 167 of file checkaddress.h.
◆ SOM_CKADR_DOMAIN
| #define SOM_CKADR_DOMAIN (1<<10) |
Definition at line 168 of file checkaddress.h.
Function Documentation
◆ SOMCheckAddress()
| 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.
- Parameters
-
session [in] Pointer to address of session object address [in] Target address or domain sender_name [in] Sender address (optional) inmta_name [in] Inbound MTA Name (optional) inchannel_name [in] Inbound channel name (optional) flags [in] Command flags ophandle [in] Value passed to callback async [in] Operation is asynchronous if TRUE
- Returns
- zero on success; non-zero on error