Qpsmtpd:http config

From SME Server
Revision as of 14:08, 8 April 2019 by Mmccarn (talk | contribs) (Created page with "<span id="_top">Qpsmtpd#Plugins</span> = NAME = http_config = DESCRIPTION = Example config plugin. Gets configuration data via http requests. =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump 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.