HOME LINKS SAL PUBLIC SOFTWARE SEARCH MADE UP

SAGATOR



webq()
  Web service for sagator's quaratine access.
  
  This service can be used to access email collected by sagator via
  web interface.
  
  Requirements: python-genshi-0.4 or higher
  
  Usage: webq(host='0.0.0.0', port=8008, db, log='/var/log/sagator/webq.log',
              scanner, userconv)
  
  Where: host is an string, which defines IP address to bind,
           default: 0.0.0.0
         port is an integer, which defines tcp port to listen, default: 8008
         db is a database connection. For description see Databases.txt.
         log is defining a log file name, by default /var/log/sagator/webq.log
         scanner is a scanner to use for checking (only one scanner
           can be used here and it must be a buffer scanner!)
         userconv is an array, which defines regular expression
           and substitution strings. Usernames from login prompt
           are marched against this regular expression and substitued
           by substitution string.
  
  It is recommended to use apache mod_proxy module to redirect standard
  web traffic from port 80 to webq()'s 8008. For example:
      ProxyPass /webq http://localhost:8008
      ProxyPassReverse /webq http://localhost:8008
  
  Example: See default config file for example.
  
  New in version 0.9.0.
  Obsolete since 1.3.0, use webq_jinja() instead.