![]() |
s/qmail 4.3.23
Next generation secure email transport
|
forwarding mails with SRS enhanced addresss More...
#include <unistd.h>#include <sys/types.h>#include "control.h"#include "sig.h"#include "constmap.h"#include "readwrite.h"#include "exit.h"#include "env.h"#include "qmail.h"#include "auto_qmail.h"#include "getoptb.h"#include "buffer.h"#include "str.h"#include "fmt.h"#include "stralloc.h"#include "logmsg.h"#include "srs2.h"
Go to the source code of this file.
Macros | |
| #define | WHO "srsforward" |
Functions | |
| void | die_nomem () |
| void | die_control () |
| ssize_t | mywrite (int fd, char *buf, size_t len) |
| int | main (int argc, char *const *argv) |
Variables | |
| struct qmail | qqt |
| char * | srsdomaininfo = 0 |
| stralloc | srsdomains = {0} |
| struct constmap | mapsrsdomains |
| stralloc | srshost = {0} |
| stralloc | srserror = {0} |
| int | flagforward = 1 |
| int | flagpassthrough = 1 |
| char | inbuf [BUFSIZE_LINE] |
| char | outbuf [BUFSIZE_LINE] |
| buffer | bi = BUFFER_INIT(buffer_unixread,0,inbuf,sizeof(inbuf)) |
| buffer | bo = BUFFER_INIT(mywrite,-1,outbuf,sizeof(outbuf)) |
| char | num [FMT_ULONG] |
forwarding mails with SRS enhanced addresss
Definition in file srsforward.c.
| #define WHO "srsforward" |
Definition at line 20 of file srsforward.c.
| void die_control | ( | void | ) |
| void die_nomem | ( | void | ) |
| ssize_t mywrite | ( | int | fd, |
| char * | buf, | ||
| size_t | len ) |
Definition at line 59 of file srsforward.c.
Definition at line 60 of file srsforward.c.
| int flagforward = 1 |
Definition at line 33 of file srsforward.c.
| int flagpassthrough = 1 |
Definition at line 34 of file srsforward.c.
| char inbuf[BUFSIZE_LINE] |
Definition at line 57 of file srsforward.c.
| struct constmap mapsrsdomains |
Definition at line 29 of file srsforward.c.
| char num[FMT_ULONG] |
Definition at line 62 of file srsforward.c.
| char outbuf[BUFSIZE_LINE] |
Definition at line 58 of file srsforward.c.
| struct qmail qqt |
Definition at line 25 of file srsforward.c.
| char* srsdomaininfo = 0 |
Definition at line 27 of file srsforward.c.
| stralloc srsdomains = {0} |
Definition at line 28 of file srsforward.c.
| stralloc srserror = {0} |
Definition at line 31 of file srsforward.c.
| stralloc srshost = {0} |
Definition at line 30 of file srsforward.c.