952 bytes added
, 14:08, 8 April 2019
<span id="_top">[[Qpsmtpd#Plugins]]</span>
= [[#___top|NAME]] =
http_config
= [[#___top|DESCRIPTION]] =
Example config plugin. Gets configuration data via http requests.
= [[#___top|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)
<pre> http_config http://localhost/~smtpd/config/ http://www.example.com/cgi-bin/qp?config=</pre>
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
= [[#___top|BUGS]] =
http_config doesn't do any caching. It should do some simple caching to be used in production.
<!-- Generated Mon Apr 8 09:08:23 EDT 2019 using
perldoc -T -ohtml $plugins/$1 \|pandoc -f html -t mediawiki \|sed '1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span>' \|sed -e 's#</d.>##'
-->
----
[[Category:Qpsmtpd|http_config]]