s/qmail 4.3.20
Next generation secure email transport
Loading...
Searching...
No Matches
Macros | Functions | Variables
qmail-vmailuser.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "global.h"
#include "qmail.h"
#include "auto_qmail.h"
#include "stralloc.h"
#include "case.h"
#include "control.h"
#include "constmap.h"
#include "direntry.h"
#include "error.h"
#include "getoptb.h"
#include "str.h"
#include "fmt.h"
#include "open.h"
#include "byte.h"
#include "scan.h"
Include dependency graph for qmail-vmailuser.c:

Go to the source code of this file.

Macros

#define FDAUTH   3
 

Functions

int pam_exit (int fail)
 
int main (int argc, char *const *argv)
 

Variables

char inputbuf [BUFSIZE_AUTH]
 
struct constmap mapvdoms
 
stralloc vdoms = {0}
 
stralloc vdomdir = {0}
 
stralloc vuser = {0}
 
stralloc vuserdir = {0}
 

Detailed Description

Returns
0: virtual user exists 1: virtual user dir not accessible 2: qmail-vmailuser is misused 110: can't read controls 111: temporary problem

Definition in file qmail-vmailuser.c.

Macro Definition Documentation

◆ FDAUTH

#define FDAUTH   3

Definition at line 22 of file qmail-vmailuser.c.

Function Documentation

◆ main()

int main ( int  argc,
char *const *  argv 
)

Definition at line 48 of file qmail-vmailuser.c.

Here is the call graph for this function:

◆ pam_exit()

int pam_exit ( int  fail)

Definition at line 39 of file qmail-vmailuser.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ inputbuf

char inputbuf[BUFSIZE_AUTH]

Definition at line 32 of file qmail-vmailuser.c.

◆ mapvdoms

struct constmap mapvdoms

Definition at line 33 of file qmail-vmailuser.c.

◆ vdomdir

stralloc vdomdir = {0}

Definition at line 35 of file qmail-vmailuser.c.

◆ vdoms

stralloc vdoms = {0}

Definition at line 34 of file qmail-vmailuser.c.

◆ vuser

stralloc vuser = {0}

Definition at line 36 of file qmail-vmailuser.c.

◆ vuserdir

stralloc vuserdir = {0}

Definition at line 37 of file qmail-vmailuser.c.