s/qmail 4.2.29a
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"
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_starttls () |
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 9 of file smtpdlog.c.
void die_alarm | ( | void | ) |
Definition at line 63 of file smtpdlog.c.
void die_control | ( | void | ) |
void die_ipme | ( | void | ) |
Definition at line 66 of file smtpdlog.c.
void die_nomem | ( | void | ) |
void die_read | ( | void | ) |
void die_recipients | ( | void | ) |
Definition at line 68 of file smtpdlog.c.
void die_starttls | ( | void | ) |
Definition at line 67 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 122 of file smtpdlog.c.
int err_authinput | ( | void | ) |
void err_authinvalid | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 144 of file smtpdlog.c.
void err_authmail | ( | void | ) |
void err_authreq | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 126 of file smtpdlog.c.
void err_authsetup | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 109 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 166 of file smtpdlog.c.
void err_brt | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 223 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 265 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 99 of file smtpdlog.c.
void err_mav | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 159 of file smtpdlog.c.
void err_mfdns | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 173 of file smtpdlog.c.
int err_noauth | ( | void | ) |
Definition at line 149 of file smtpdlog.c.
void err_nogateway | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 216 of file smtpdlog.c.
void err_noop | ( | void | ) |
Definition at line 72 of file smtpdlog.c.
void err_notorious | ( | void | ) |
Definition at line 254 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 230 of file smtpdlog.c.
void err_recipient | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 235 of file smtpdlog.c.
void err_size | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 260 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 183 of file smtpdlog.c.
int err_starttls | ( | void | ) |
Definition at line 86 of file smtpdlog.c.
void err_submission | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
void err_syntax | ( | void | ) |
Definition at line 71 of file smtpdlog.c.
void err_tlsreq | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 91 of file smtpdlog.c.
void err_unimpl | ( | void | ) |
void err_vrfy | ( | void | ) |
Definition at line 73 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 209 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 | ||
) |
Definition at line 49 of file smtpdlog.c.
void smtp_logb | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 51 of file smtpdlog.c.
void smtp_logg | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7 | ||
) |
Definition at line 53 of file smtpdlog.c.
void smtp_logh | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5 | ||
) |
Definition at line 55 of file smtpdlog.c.
void smtp_logi | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8 | ||
) |
Definition at line 57 of file smtpdlog.c.
void smtp_logr | ( | char * | s1, |
char * | s2, | ||
char * | s3, | ||
char * | s4, | ||
char * | s5, | ||
char * | s6, | ||
char * | s7, | ||
char * | s8 | ||
) |
Definition at line 59 of file smtpdlog.c.
void smtpdlog_init | ( | void | ) |
void straynewline | ( | void | ) |
Definition at line 248 of file smtpdlog.c.
Definition at line 24 of file smtpdlog.c.
char* reply421pgl |
Definition at line 11 of file smtpdlog.c.
char* reply550hlo |
Definition at line 12 of file smtpdlog.c.
char* reply550mbx |
Definition at line 13 of file smtpdlog.c.
char* reply552siz |
Definition at line 14 of file smtpdlog.c.
char* reply553bmf |
Definition at line 15 of file smtpdlog.c.
char* reply553brt |
Definition at line 16 of file smtpdlog.c.
char* reply553env |
Definition at line 18 of file smtpdlog.c.
char* reply553inv |
Definition at line 19 of file smtpdlog.c.
char* reply553ngw |
Definition at line 17 of file smtpdlog.c.
char* reply554cnt |
Definition at line 20 of file smtpdlog.c.