Qpsmtpd:http config

From SME Server
Jump to navigation Jump to search

Qpsmtpd#Plugins

NAME

http_config

DESCRIPTION

Example config plugin. Gets configuration data via http requests.

CONFIG

http_config is configured at plugin loading time via the plugins config. Load the plugin with a list of urls like the following (on one line)

  http_config http://localhost/~smtpd/config/ http://www.example.com/cgi-bin/qp?config=

Looking to config "me", qpsmtpd will try loading http://localhost/~smtpd/config/me and if failing that try http://www.example.com/cgi-bin/qp?config=me

BUGS

http_config doesn't do any caching. It should do some simple caching to be used in production.