1 .\" This file is in the public domain.
7 .Nd FastCGI mail archive query server
19 is a server which implements the FastCGI Protocol to provide search
20 facilities for the mail archive.
23 .Pa /var/www/run/msearchd.sock ,
24 owned by www:www with permissions 0660.
29 and drop privileges to user
31 Three child processes are ran to handle the incoming traffic on the
35 the database is closed and re-opened.
36 The default database used is at
37 .Pa /msearchd/mails.sqlite3
40 The options are as follows:
44 If this option is specified,
46 will run in the foreground and log to standard error.
59 effectively disables the chroot.
61 Create an bind to the local socket at
64 Path to a directory containing the template files.
70 instead of default user www and
72 to their home directory.
74 Enable more verbose (debug) logging.
77 options increase the verbosity.
81 .It Pa /etc/smarc/foot.html
82 Template with the trailing part of the page.
83 .It Pa /etc/smarc/head.html
84 Template with the first part of the page.
88 .It Pa /etc/smarc/search-header.html
89 Template for the start of the search page.
90 .It Pa /etc/smarc/search.html
91 Template for the search form.
93 is replaced with the search query.
94 .It Pa /var/www/msearchd/mails.sqite3
96 .It Pa /var/www/run/msearchd.sock
97 .Ux Ns -domain socket.
100 Example configuration for
102 .Bd -literal -offset -indent
109 fastcgi socket "/run/msearchd.sock"
116 .An Omar Polo Aq Mt op@openbsd.org