![]() |
s/qmail 4.3.20
Next generation secure email transport
|
#include <unistd.h>
#include "buffer.h"
#include "str.h"
#include "byte.h"
#include "env.h"
#include "fmt.h"
#include "exit.h"
#include "smtpdlog.h"
#include "qmail.h"
Go to the source code of this file.
Macros | |
#define | FDLOG 2 |
Functions | |
void | smtpdlog_init () |
void | smtp_loga (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8, char *s9) |
void | smtp_logb (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | smtp_logg (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | smtp_logh (char *s1, char *s2, char *s3, char *s4, char *s5) |
void | smtp_logi (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8) |
void | smtp_logr (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8) |
void | die_read () |
void | die_alarm () |
void | die_nomem () |
void | die_control () |
void | die_ipme () |
void | die_tls () |
void | die_recipients () |
void | err_unimpl () |
void | err_syntax () |
void | err_noop () |
void | err_vrfy () |
void | err_qqt () |
int | err_child () |
int | err_fork () |
int | err_pipe () |
int | err_write () |
int | err_postgl () |
int | err_forkgl () |
int | err_starttls () |
void | err_tlsreq (char *s1, char *s2, char *s3, char *s4, char *s5) |
void | err_helo (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8) |
void | err_authsetup (char *s1, char *s2, char *s3, char *s4, char *s5) |
void | err_authd () |
void | err_authmail () |
void | err_authfail (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_authreq (char *s1, char *s2, char *s3, char *s4, char *s5) |
void | err_submission (char *s1, char *s2, char *s3, char *s4, char *s5) |
int | err_authabort () |
int | err_authinput () |
void | err_authinvalid (char *s1, char *s2, char *s3, char *s4, char *s5) |
int | err_noauth () |
void | err_wantmail () |
void | err_mav (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_bmf (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8) |
void | err_mfdns (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_spf (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *msg) |
void | err_wantrcpt () |
void | postgrey (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_nogateway (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_brt (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_rcpts (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_recipient (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | straynewline () |
void | err_notorious () |
void | err_size (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7) |
void | err_data (char *s1, char *s2, char *s3, char *s4, char *s5, char *s6, char *s7, char *s8) |
Variables | |
char * | reply421pgl |
char * | reply550hlo |
char * | reply550mbx |
char * | reply552siz |
char * | reply553bmf |
char * | reply553brt |
char * | reply553ngw |
char * | reply553env |
char * | reply553inv |
char * | reply554cnt |
buffer | bo2 = BUFFER_INIT(write,FDLOG,logbuf,sizeof(logbuf)) |
#define FDLOG 2 |
Definition at line 11 of file smtpdlog.c.
void die_alarm | ( | void | ) |
Definition at line 65 of file smtpdlog.c.
void die_control | ( | void | ) |
void die_ipme | ( | void | ) |
Definition at line 68 of file smtpdlog.c.
void die_nomem | ( | void | ) |
void die_read | ( | void | ) |
void die_recipients | ( | void | ) |
Definition at line 70 of file smtpdlog.c.
void die_tls | ( | ) |
Definition at line 69 of file smtpdlog.c.
int err_authabort | ( | void | ) |
void err_authd | ( | void | ) |
void err_authfail | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 124 of file smtpdlog.c.
int err_authinput | ( | void | ) |
void err_authinvalid | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 146 of file smtpdlog.c.
void err_authmail | ( | void | ) |
void err_authreq | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 128 of file smtpdlog.c.
void err_authsetup | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 111 of file smtpdlog.c.
void err_bmf | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8 | ||
) |
Definition at line 168 of file smtpdlog.c.
void err_brt | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 225 of file smtpdlog.c.
int err_child | ( | void | ) |
void err_data | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8 | ||
) |
Definition at line 267 of file smtpdlog.c.
int err_fork | ( | void | ) |
int err_forkgl | ( | void | ) |
void err_helo | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8 | ||
) |
Definition at line 101 of file smtpdlog.c.
void err_mav | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 161 of file smtpdlog.c.
void err_mfdns | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 175 of file smtpdlog.c.
int err_noauth | ( | void | ) |
Definition at line 151 of file smtpdlog.c.
void err_nogateway | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 218 of file smtpdlog.c.
void err_noop | ( | void | ) |
Definition at line 74 of file smtpdlog.c.
void err_notorious | ( | void | ) |
Definition at line 256 of file smtpdlog.c.
int err_pipe | ( | void | ) |
int err_postgl | ( | void | ) |
void err_qqt | ( | void | ) |
void err_rcpts | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 232 of file smtpdlog.c.
void err_recipient | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 237 of file smtpdlog.c.
void err_size | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 262 of file smtpdlog.c.
void err_spf | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | msg | ||
) |
Definition at line 185 of file smtpdlog.c.
int err_starttls | ( | void | ) |
Definition at line 88 of file smtpdlog.c.
void err_submission | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
void err_syntax | ( | void | ) |
void err_tlsreq | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 93 of file smtpdlog.c.
void err_unimpl | ( | void | ) |
Definition at line 72 of file smtpdlog.c.
void err_vrfy | ( | void | ) |
Definition at line 75 of file smtpdlog.c.
void err_wantmail | ( | void | ) |
void err_wantrcpt | ( | void | ) |
int err_write | ( | void | ) |
void postgrey | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 211 of file smtpdlog.c.
void smtp_loga | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8, | ||
char * | s9 | ||
) |
void smtp_logb | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
void smtp_logg | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
void smtp_logh | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
void smtp_logi | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8 | ||
) |
void smtp_logr | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8 | ||
) |
void smtpdlog_init | ( | void | ) |
void straynewline | ( | void | ) |
Definition at line 250 of file smtpdlog.c.
Definition at line 26 of file smtpdlog.c.
char* reply421pgl |
Definition at line 13 of file smtpdlog.c.
char* reply550hlo |
Definition at line 14 of file smtpdlog.c.
char* reply550mbx |
Definition at line 15 of file smtpdlog.c.
char* reply552siz |
Definition at line 16 of file smtpdlog.c.
char* reply553bmf |
Definition at line 17 of file smtpdlog.c.
char* reply553brt |
Definition at line 18 of file smtpdlog.c.
char* reply553env |
Definition at line 20 of file smtpdlog.c.
char* reply553inv |
Definition at line 21 of file smtpdlog.c.
char* reply553ngw |
Definition at line 19 of file smtpdlog.c.
char* reply554cnt |
Definition at line 22 of file smtpdlog.c.