/*+ ** MX_FILTERDEF.H ** ** Constants and structures defining the Router filter callout interface. ** Copyright (c) 2008, Matthew Madison. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright owner nor the names of any other contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ** ** N.B.: This is an undocumented interface and may change at any time. -*/ #ifndef __MX_FILTERDEF #define __MX_FILTERDEF #define FLTR_K_SOURCE_LOCAL 51 #define FLTR_K_SOURCE_SMTP 93 #define FLTR_K_SOURCE_JNET 67 #define FLTR_K_SOURCE_UUCP 82 #define FLTR_K_SOURCE_SITE 79 #define FLTR_K_SOURCE_DNSMTP 38 #define FLTR_K_SOURCE_X25SMTP 18 #define FLTR_K_SOURCE_BSMTP 66 #define FLTR__ENV_MSGSIZE 101 #define FLTR__ENV_SOURCE 102 #define FLTR__ENV_SENDER 103 #define FLTR__ENV_RECIPIENT 104 #define FLTR__HDR_FROM 1 #define FLTR__HDR_SENDER 2 #define FLTR__HDR_TO 3 #define FLTR__HDR_R_TO 4 #define FLTR__HDR_CC 5 #define FLTR__HDR_R_CC 6 #define FLTR__HDR_BCC 7 #define FLTR__HDR_R_BCC 8 #define FLTR__HDR_MESSAGE_ID 9 #define FLTR__HDR_R_MESSAGE_ID 10 #define FLTR__HDR_IN_REPLY_TO 11 #define FLTR__HDR_REFERENCES 12 #define FLTR__HDR_KEYWORDS 13 #define FLTR__HDR_SUBJECT 14 #define FLTR__HDR_ENCRYPTED 15 #define FLTR__HDR_DATE 16 #define FLTR__HDR_REPLY_TO 17 #define FLTR__HDR_RECEIVED 18 #define FLTR__HDR_R_REPLY_TO 19 #define FLTR__HDR_R_FROM 20 #define FLTR__HDR_R_SENDER 21 #define FLTR__HDR_R_DATE 22 #define FLTR__HDR_RETURN_PATH 23 #define FLTR__HDR_OTHER 24 #define FLTR__HDR_X_WARNING 25 #define FLTR__HDR_X_TO 26 #define FLTR__HDR_X_R_TO 27 #define FLTR__HDR_X_CC 28 #define FLTR__HDR_X_R_CC 29 #define FLTR__HDR_X_BCC 30 #define FLTR__HDR_X_R_BCC 31 #define FLTR__HDR_MIME_VERSION 32 #define FLTR__HDR_MIME_C_T_E 33 #define FLTR__HDR_MIME_C_TYPE 34 #define FLTR__HDR_LIST_SUB 35 #define FLTR__HDR_LIST_UNSUB 36 #define FLTR__HDR_LIST_HELP 37 #define FLTR__HDR_LIST_OTHER 38 #define FLTR__NOCHANGE 0 #define FLTR__REWRITE 1 #define FLTR__REJECT 2 #define FLTR__DELETE 3 #endif /* __MX_FILTERDEF */