diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-24 20:16:53 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-24 20:16:53 +0300 |
commit | 1cd34f5283bcf1d4973a351dc5235094608e3d2d (patch) | |
tree | 2d6185294cfea7c3c062c8d2123df96f5e02e1b0 /src/lmtp.h | |
parent | 606128de4cb33a2727d6609df46ecf0c72006a73 (diff) | |
download | rspamd-1cd34f5283bcf1d4973a351dc5235094608e3d2d.tar.gz rspamd-1cd34f5283bcf1d4973a351dc5235094608e3d2d.zip |
* Add initial LMTP support and LDA delivery to rspamd
Diffstat (limited to 'src/lmtp.h')
-rw-r--r-- | src/lmtp.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lmtp.h b/src/lmtp.h new file mode 100644 index 000000000..d7c13c497 --- /dev/null +++ b/src/lmtp.h @@ -0,0 +1,20 @@ +#ifndef RSPAMD_LMTP_H +#define RSPAMD_LMTP_H + +#include "config.h" +#include "main.h" + +#define LMTP_GREETING 220 +#define LMTP_QUIT 221 +#define LMTP_OK 250 +#define LMTP_DATA 354 +#define LMTP_ERROR_PROCESS 500 +#define LMTP_FAILURE 530 +#define LMTP_AUTH_ERROR 503 +#define LMTP_BAD_CMD 503 +#define LMTP_NO_RCPT 554 +#define LMTP_TEMP_FAIL 421 + +void start_lmtp_worker (struct rspamd_worker *worker); + +#endif |