aboutsummaryrefslogtreecommitdiffstats
path: root/src/lmtp.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-24 20:16:53 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-24 20:16:53 +0300
commit1cd34f5283bcf1d4973a351dc5235094608e3d2d (patch)
tree2d6185294cfea7c3c062c8d2123df96f5e02e1b0 /src/lmtp.h
parent606128de4cb33a2727d6609df46ecf0c72006a73 (diff)
downloadrspamd-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.h20
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