Back to index

courier  0.68.2
Functions | Variables
cmaildropmda.c File Reference
#include "courier.h"
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

const char * config_maildropmda ()

Variables

static char * maildrop

Function Documentation

const char* config_maildropmda ( )

Definition at line 15 of file cmaildropmda.c.

{
       if (!maildrop)
       {
       char   *filename=config_localfilename("maildrop");

              maildrop=config_read1l(filename);
              free(filename);

              if (!maildrop)
                     maildrop=MAILDROP;
              if (access(maildrop, 0))
                     maildrop="";
       }
       return (*maildrop ? maildrop:0);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

char* maildrop [static]

Definition at line 13 of file cmaildropmda.c.