home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Src / submit / auth_tb.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-18  |  1.6 KB  |  64 lines

  1. /* auth_tb.c: authorisation tables */
  2.  
  3. # ifndef lint
  4. static char Rcsid[] = "@(#)$Header: /xtel/pp/pp-beta/Src/submit/RCS/auth_tb.c,v 6.0 1991/12/18 20:28:02 jpo Rel $";
  5. # endif
  6.  
  7. /*
  8.  * $Header: /xtel/pp/pp-beta/Src/submit/RCS/auth_tb.c,v 6.0 1991/12/18 20:28:02 jpo Rel $
  9.  *
  10.  * $Log: auth_tb.c,v $
  11.  * Revision 6.0  1991/12/18  20:28:02  jpo
  12.  * Release 6.0
  13.  *
  14.  */
  15.  
  16.  
  17.  
  18. #include        "util.h"
  19. #include    "q.h"
  20. #include    "tb_auth.h"
  21. #include        <isode/cmd_srch.h>
  22.  
  23.  
  24.  
  25.  
  26. CMD_TABLE authtbl_reasons[] = {
  27.     "unknown error",                 AUR_UNKNOWN,
  28.     "This route is prohibited: (policy none)",    AUR_CH_NONE,
  29.     "Authorisation approved: (policy free)",    AUR_CH_FREE,
  30.     "in MTA regex : %s does not include sender",    AUR_IMTA_MISSING_SNDR,
  31.     "in MTA regex : %s excludes sender",        AUR_IMTA_EXCLUDES_SNDR,
  32.     "out MTA regex : %s does not include recip",    AUR_OMTA_MISSING_RECIP,
  33.     "out MTA regex : %s excludes recip",        AUR_OMTA_EXCLUDES_RECIP,
  34.     "msg size %s exceeds channel limit of %s",    AUR_MSGSIZE_FOR_CHAN,
  35.     "msg size %s exceeds mta limit of %s",        AUR_MSGSIZE_FOR_MTA,
  36.     "msg size %s exceeds user limit of %s",        AUR_MSGSIZE_FOR_USR,
  37.     "bad body part : %s (mta restriction)",        AUR_MTA_BPT,
  38.     "bad body part : %s (user restriction)",    AUR_USR_BPT,
  39.     "channel bind failed",                AUR_CHBIND,
  40.     "duplicate recip removed",            AUR_DUPLICATE_REMOVED,
  41.     0,                        -1
  42.     };
  43.  
  44.  
  45.  
  46.  
  47. CMD_TABLE authtbl_loglevel[] = {
  48.     "low",             AUTH_LOGLEVEL_LOW,
  49.     "medium",         AUTH_LOGLEVEL_MEDIUM,
  50.     "high",         AUTH_LOGLEVEL_HIGH,
  51.     0,             -1
  52.     };
  53.  
  54.  
  55.  
  56. CMD_TABLE authtbl_statmsgs [] = {
  57.     "ok",             AUTH_OK,
  58.     "failed",        AUTH_FAILED,
  59.     "ok-testfailed",    AUTH_FAILED_TEST,
  60.     "dr_ok",        AUTH_DR_OK,
  61.     "dr_failed",        AUTH_DR_FAILED,
  62.     0,             -1
  63.     };
  64.