ze-filter
(ze-filter-0.8.0-develop-180218)
|
#include <ze-reply-local.h>
Go to the source code of this file.
Macros | |
#define | MSG_LANG LANG_EN |
#define | MSG_NO_PEER_HOSTNAME "*** No peer hostname when connecting" |
#define | MSG_XFILE "*** A suspicious file (executable code) was found in the message !" |
#define | MSG_NO_FROM_HEADER "No From header field" |
#define | MSG_NO_RCPT_HEADER "No To, CC or Bcc header field" |
#define | MSG_NO_SUBJECT_HEADER "No Subject Header" |
#define | MSG_NO_HEADERS "No headers at all" |
#define | MSG_INTRANET_USER "Mail to intranet user from extranet..." |
#define | MSG_LOCAL_USER "*** %s can receive mail only from local network" |
#define | MSG_BINARY_MESSAGE "*** Message with binary body !" |
#define | MSG_VIRUS "*** A virus was detected in your message" |
#define | MSG_POLICY "This message violates our policy" |
#define | MSG_TOO_MUCH_RCPT "Too many recipients for this message" |
#define | MSG_RESOLVE_FAIL "RESOLVE : SMTP client IP address doesn't resolve" |
#define | MSG_RESOLVE_FORGED "RESOLVE : SMTP client hostname seems to be forged" |
#define | MSG_EMPTY_MSG "Empty or too short message" |
#define | MSG_TOO_MUCH_EMPTY "Too many empty connections" |
#define | MSG_TOO_MUCH_BADRCPT "Too many errors ! Come back later." |
#define | MSG_TOO_MUCH_OPEN "Too many open connections" |
#define | MSG_CONN_RATE "Connection Rate" |
#define | MSG_RCPT_RATE "Recipient Rate" |
#define | MSG_MSG_RATE "Message Rate" |
#define | MSG_TOO_MUCH_MSGS "Too many messages for this connection" |
#define | MSG_SIZE_EXCEED_LIMIT "Message size exceeds limit allowed in this transaction" |
#define | MSG_SINGLE_MESSAGE "Messages per connection limit reached" |
#define | MSG_FROM_CONTENTS "From contents violates site policy" |
#define | MSG_SUBJECT_CONTENTS "Subject contents violates site policy" |
#define | MSG_HEADERS_CONTENTS "Header contents violates site policy" |
#define | MSG_BODY_CONTENTS "Sorry, this message is being rejected as it seems to be a spam !" |
#define | MSG_HELO_CONTENTS "HELO contents : strange !!!" |
#define | MSG_TEXT_NOT_ALLOWED "MESSAGE CONTENTS VIOLATE SITE POLICY" |
#define | MSG_ENCODED_BODY "We don't accept encoded messages" |
#define | MSG_BODY_ENCODED_BINARY "No BINARY messages !" |
#define | MSG_BODY_ENCODED_BASE64 "No BASE 64 messages !" |
#define | MSG_BODY_ENCODED_QP "No QUOTED PRINTABLE messages !" |
#define | MSG_BAD_NULL_SENDER "Bad NULL sender" |
#define | MSG_BADHELO "Invalid HELO/EHLO parameter" |
#define | MSG_GREYLIST "Greylist is ON !!!" |
#define | MSG_SHORT_VIRUS "*** VIRUS" |
#define | MSG_SHORT_ATTACHMENT "*** ATTACHMENT" |
#define | MSG_SHORT_XFILE "*** XFILES" |
#define | MSG_SHORT_RESOLVE_FORGED "*** Client address resolve : forged" |
#define | MSG_SHORT_RESOLVE_FAIL "*** Client address resolve : fail" |
#define | MSG_SHORT_CONN_RATE "Connection Rate : too high" |
#define | MSG_SHORT_RCPT_RATE "Recipient Rate : too high" |
#define | MSG_SHORT_MSG_RATE "Message Rate : too high" |
#define | MSG_SHORT_SINGLE_MESSAGE "Messages per connection limit reached" |
#define | MSG_SHORT_POLICY "*** POLICY..." |
#define | MSG_SHORT_TOO_MUCH_OPEN "Open connections : too high" |
#define | MSG_SHORT_TOO_MUCH_EMPTY "Empty connections : too high : %s : %d [%02X]" |
#define | MSG_SHORT_TOO_MUCH_BADRCPT "Bad recipients : too high" |
#define | MSG_SHORT_SPAMTRAP "Message to spamtrap" |
#define | MSG_SHORT_GREYLIST "Message delayed by Greylisting" |
#define | __ZE_REPLY_H |
Functions | |
bool | get_reply_msg (SMFICTX *, char *, char *, size_t, char *, char *) |
#define __ZE_REPLY_H |
Definition at line 264 of file ze-reply.h.
#define MSG_BAD_NULL_SENDER "Bad NULL sender" |
Definition at line 191 of file ze-reply.h.
#define MSG_BADHELO "Invalid HELO/EHLO parameter" |
Definition at line 195 of file ze-reply.h.
#define MSG_BINARY_MESSAGE "*** Message with binary body !" |
Definition at line 85 of file ze-reply.h.
#define MSG_BODY_CONTENTS "Sorry, this message is being rejected as it seems to be a spam !" |
Definition at line 161 of file ze-reply.h.
#define MSG_BODY_ENCODED_BASE64 "No BASE 64 messages !" |
Definition at line 183 of file ze-reply.h.
#define MSG_BODY_ENCODED_BINARY "No BINARY messages !" |
Definition at line 179 of file ze-reply.h.
#define MSG_BODY_ENCODED_QP "No QUOTED PRINTABLE messages !" |
Definition at line 187 of file ze-reply.h.
#define MSG_CONN_RATE "Connection Rate" |
Definition at line 125 of file ze-reply.h.
#define MSG_EMPTY_MSG "Empty or too short message" |
Definition at line 109 of file ze-reply.h.
#define MSG_ENCODED_BODY "We don't accept encoded messages" |
Definition at line 175 of file ze-reply.h.
#define MSG_FROM_CONTENTS "From contents violates site policy" |
Definition at line 149 of file ze-reply.h.
#define MSG_GREYLIST "Greylist is ON !!!" |
Definition at line 199 of file ze-reply.h.
#define MSG_HEADERS_CONTENTS "Header contents violates site policy" |
Definition at line 157 of file ze-reply.h.
#define MSG_HELO_CONTENTS "HELO contents : strange !!!" |
Definition at line 165 of file ze-reply.h.
#define MSG_INTRANET_USER "Mail to intranet user from extranet..." |
Definition at line 77 of file ze-reply.h.
#define MSG_LANG LANG_EN |
Definition at line 43 of file ze-reply.h.
#define MSG_LOCAL_USER "*** %s can receive mail only from local network" |
Definition at line 81 of file ze-reply.h.
#define MSG_MSG_RATE "Message Rate" |
Definition at line 133 of file ze-reply.h.
#define MSG_NO_FROM_HEADER "No From header field" |
Definition at line 61 of file ze-reply.h.
#define MSG_NO_HEADERS "No headers at all" |
Definition at line 73 of file ze-reply.h.
#define MSG_NO_PEER_HOSTNAME "*** No peer hostname when connecting" |
Definition at line 53 of file ze-reply.h.
#define MSG_NO_RCPT_HEADER "No To, CC or Bcc header field" |
Definition at line 65 of file ze-reply.h.
#define MSG_NO_SUBJECT_HEADER "No Subject Header" |
Definition at line 69 of file ze-reply.h.
#define MSG_POLICY "This message violates our policy" |
Definition at line 93 of file ze-reply.h.
#define MSG_RCPT_RATE "Recipient Rate" |
Definition at line 129 of file ze-reply.h.
#define MSG_RESOLVE_FAIL "RESOLVE : SMTP client IP address doesn't resolve" |
Definition at line 101 of file ze-reply.h.
#define MSG_RESOLVE_FORGED "RESOLVE : SMTP client hostname seems to be forged" |
Definition at line 105 of file ze-reply.h.
#define MSG_SHORT_ATTACHMENT "*** ATTACHMENT" |
Definition at line 207 of file ze-reply.h.
#define MSG_SHORT_CONN_RATE "Connection Rate : too high" |
Definition at line 223 of file ze-reply.h.
#define MSG_SHORT_GREYLIST "Message delayed by Greylisting" |
Definition at line 259 of file ze-reply.h.
#define MSG_SHORT_MSG_RATE "Message Rate : too high" |
Definition at line 231 of file ze-reply.h.
#define MSG_SHORT_POLICY "*** POLICY..." |
Definition at line 239 of file ze-reply.h.
#define MSG_SHORT_RCPT_RATE "Recipient Rate : too high" |
Definition at line 227 of file ze-reply.h.
#define MSG_SHORT_RESOLVE_FAIL "*** Client address resolve : fail" |
Definition at line 219 of file ze-reply.h.
#define MSG_SHORT_RESOLVE_FORGED "*** Client address resolve : forged" |
Definition at line 215 of file ze-reply.h.
#define MSG_SHORT_SINGLE_MESSAGE "Messages per connection limit reached" |
Definition at line 235 of file ze-reply.h.
#define MSG_SHORT_SPAMTRAP "Message to spamtrap" |
Definition at line 255 of file ze-reply.h.
#define MSG_SHORT_TOO_MUCH_BADRCPT "Bad recipients : too high" |
Definition at line 251 of file ze-reply.h.
#define MSG_SHORT_TOO_MUCH_EMPTY "Empty connections : too high : %s : %d [%02X]" |
Definition at line 247 of file ze-reply.h.
#define MSG_SHORT_TOO_MUCH_OPEN "Open connections : too high" |
Definition at line 243 of file ze-reply.h.
#define MSG_SHORT_VIRUS "*** VIRUS" |
Definition at line 203 of file ze-reply.h.
#define MSG_SHORT_XFILE "*** XFILES" |
Definition at line 211 of file ze-reply.h.
#define MSG_SINGLE_MESSAGE "Messages per connection limit reached" |
Definition at line 145 of file ze-reply.h.
#define MSG_SIZE_EXCEED_LIMIT "Message size exceeds limit allowed in this transaction" |
Definition at line 141 of file ze-reply.h.
#define MSG_SUBJECT_CONTENTS "Subject contents violates site policy" |
Definition at line 153 of file ze-reply.h.
#define MSG_TEXT_NOT_ALLOWED "MESSAGE CONTENTS VIOLATE SITE POLICY" |
Definition at line 170 of file ze-reply.h.
#define MSG_TOO_MUCH_BADRCPT "Too many errors ! Come back later." |
Definition at line 117 of file ze-reply.h.
#define MSG_TOO_MUCH_EMPTY "Too many empty connections" |
Definition at line 113 of file ze-reply.h.
#define MSG_TOO_MUCH_MSGS "Too many messages for this connection" |
Definition at line 137 of file ze-reply.h.
#define MSG_TOO_MUCH_OPEN "Too many open connections" |
Definition at line 121 of file ze-reply.h.
#define MSG_TOO_MUCH_RCPT "Too many recipients for this message" |
Definition at line 97 of file ze-reply.h.
#define MSG_VIRUS "*** A virus was detected in your message" |
Definition at line 89 of file ze-reply.h.
#define MSG_XFILE "*** A suspicious file (executable code) was found in the message !" |
Definition at line 57 of file ze-reply.h.
bool get_reply_msg | ( | SMFICTX * | , |
char * | , | ||
char * | , | ||
size_t | , | ||
char * | , | ||
char * | |||
) |
Definition at line 105 of file ze-reply.c.