aboutsummaryrefslogtreecommitdiffstats
path: root/src/lmtp.h
blob: b784eed3b014329ee19b0be8dced3587578abaa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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, int listen_sock);

#endif