Difference between revisions of "Qpsmtpd:http config"
From SME Server
Jump to navigationJump to search (Created page with "<span id="_top">Qpsmtpd#Plugins</span> = NAME = http_config = DESCRIPTION = Example config plugin. Gets configuration data via http requests. =...") |
(No difference)
|
Latest revision as of 14:08, 8 April 2019
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.