ezmlmx 0.68
ezmlmx
|
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "error.h"
#include "case.h"
#include "stralloc.h"
#include "str.h"
#include "env.h"
#include "sig.h"
#include "wait.h"
#include "readclose.h"
#include "getconf.h"
#include "logmsg.h"
#include "byte.h"
#include "getln.h"
#include "qmail.h"
#include "buffer.h"
#include "readwrite.h"
#include "seek.h"
#include "quote.h"
#include "datetime.h"
#include "now.h"
#include "fmt.h"
#include "getoptb.h"
#include "cookie.h"
#include "errtxt.h"
#include "ezcopy.h"
#include "hdr.h"
#include "mime.h"
#include "open.h"
#include "lock.h"
#include "idx.h"
#include "wrap.h"
#include "auto_version.h"
#include "lockfile.h"
#include "ezmlm.h"
Go to the source code of this file.
Macros | |
#define | WHO "ezmlm-moderate" |
Functions | |
void | code_qput (char *s, unsigned int n) |
int | checkfile (char *fn) |
ssize_t | qqwrite (int fd, char *buf, unsigned int len) |
void | maketo () |
expects line to be a return-path line. If it is and the format is valid to is set to to the sender. Otherwise, to is left untouched. Assuming to is empty to start with, it will remain empty if no sender is found. | |
int | main (int argc, char **argv) |
Variables | |
int | flagmime = MOD_MIME |
char | flagcd = '\0' |
stralloc | outhost = {0} |
stralloc | outlocal = {0} |
stralloc | key = {0} |
stralloc | mydtline = {0} |
stralloc | mailinglist = {0} |
stralloc | accept = {0} |
stralloc | reject = {0} |
stralloc | to = {0} |
stralloc | send = {0} |
stralloc | sendopt = {0} |
stralloc | comment = {0} |
stralloc | charset = {0} |
datetime_sec | when |
char | strnum [FMT_ULONG] |
char | hash [COOKIE] |
char | hboundary [COOKIE] |
stralloc | line = {0} |
stralloc | qline = {0} |
stralloc | text = {0} |
stralloc | quoted = {0} |
stralloc | fnbase = {0} |
stralloc | fnmsg = {0} |
stralloc | fnnew = {0} |
stralloc | fnsub = {0} |
char | subbuf [256] |
buffer | bs |
char * | dir |
struct stat | st |
struct qmail | |
char | qqbuf [1] |
buffer | bq = BUFFER_INIT(qqwrite,-1,qqbuf,sizeof(qqbuf)) |
buffer | bt |
char | textbuf [1024] |
Definition in file ezmlm-moderate.c.
#define WHO "ezmlm-moderate" |
Definition at line 39 of file ezmlm-moderate.c.
int checkfile | ( | char * | fn | ) |
Definition at line 115 of file ezmlm-moderate.c.
void code_qput | ( | char * | s, |
unsigned int | n ) |
Definition at line 89 of file ezmlm-moderate.c.
int main | ( | int | argc, |
char ** | argv ) |
void maketo | ( | void | ) |
expects line to be a return-path line. If it is and the format is valid to is set to to the sender. Otherwise, to is left untouched. Assuming to is empty to start with, it will remain empty if no sender is found.
Definition at line 166 of file ezmlm-moderate.c.
ssize_t qqwrite | ( | int | fd, |
char * | buf, | ||
unsigned int | len ) |
stralloc accept = {0} |
Definition at line 60 of file ezmlm-moderate.c.
buffer bq = BUFFER_INIT(qqwrite,-1,qqbuf,sizeof(qqbuf)) |
Definition at line 152 of file ezmlm-moderate.c.
buffer bs |
Definition at line 82 of file ezmlm-moderate.c.
buffer bt |
Definition at line 154 of file ezmlm-moderate.c.
stralloc charset = {0} |
Definition at line 66 of file ezmlm-moderate.c.
stralloc comment = {0} |
Definition at line 65 of file ezmlm-moderate.c.
char* dir |
Definition at line 84 of file ezmlm-moderate.c.
char flagcd = '\0' |
Definition at line 48 of file ezmlm-moderate.c.
int flagmime = MOD_MIME |
Definition at line 47 of file ezmlm-moderate.c.
stralloc fnbase = {0} |
Definition at line 77 of file ezmlm-moderate.c.
stralloc fnmsg = {0} |
Definition at line 78 of file ezmlm-moderate.c.
stralloc fnnew = {0} |
Definition at line 79 of file ezmlm-moderate.c.
stralloc fnsub = {0} |
Definition at line 80 of file ezmlm-moderate.c.
char hash[COOKIE] |
Definition at line 70 of file ezmlm-moderate.c.
char hboundary[COOKIE] |
Definition at line 71 of file ezmlm-moderate.c.
stralloc key = {0} |
Definition at line 57 of file ezmlm-moderate.c.
stralloc line = {0} |
Definition at line 73 of file ezmlm-moderate.c.
stralloc mailinglist = {0} |
Definition at line 59 of file ezmlm-moderate.c.
stralloc mydtline = {0} |
Definition at line 58 of file ezmlm-moderate.c.
stralloc outhost = {0} |
Definition at line 54 of file ezmlm-moderate.c.
stralloc outlocal = {0} |
Definition at line 55 of file ezmlm-moderate.c.
stralloc qline = {0} |
Definition at line 74 of file ezmlm-moderate.c.
struct qmail qq |
Definition at line 87 of file ezmlm-moderate.c.
char qqbuf[1] |
Definition at line 151 of file ezmlm-moderate.c.
stralloc quoted = {0} |
Definition at line 76 of file ezmlm-moderate.c.
stralloc reject = {0} |
Definition at line 61 of file ezmlm-moderate.c.
stralloc send = {0} |
Definition at line 63 of file ezmlm-moderate.c.
stralloc sendopt = {0} |
Definition at line 64 of file ezmlm-moderate.c.
struct stat st |
Definition at line 86 of file ezmlm-moderate.c.
char strnum[FMT_ULONG] |
Definition at line 69 of file ezmlm-moderate.c.
char subbuf[256] |
Definition at line 81 of file ezmlm-moderate.c.
stralloc text = {0} |
Definition at line 75 of file ezmlm-moderate.c.
char textbuf[1024] |
Definition at line 155 of file ezmlm-moderate.c.
stralloc to = {0} |
Definition at line 62 of file ezmlm-moderate.c.
datetime_sec when |
Definition at line 67 of file ezmlm-moderate.c.