Changes

From SME Server
Jump to navigationJump to search
952 bytes added ,  15:08, 8 April 2019
Created page with "<span id="_top">Qpsmtpd#Plugins</span> = NAME = http_config = DESCRIPTION = Example config plugin. Gets configuration data via http requests. =..."
<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 &quot;me&quot;, 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]]

Navigation menu