| Server IP : 85.214.239.14 / Your IP : 216.73.216.105 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/cwd/proc/2/root/proc/3/cwd/srv/automx/automx-master/doc/txt/ |
Upload File : |
automx_sql
Date: 02/08/2013
Subtitle: automx SQL backend configuration parameters
Manual Section: 5
Manual Group: automx
Copyright: This document has been placed in the public domain.
Description
The automx_sql(5) man page specifies all parameters that control access from
within automx to a SQL backend.
Parameters
host (default: none)
Specifies one or more SQL servers separated by commas. Each server
specification must provide database driver, username and password to access
a database on a host as shown in the following example:
host = driver://username:password@hostname/database
Important
Subsequent servers to the first serve only for fallback purposes, i.e. a
server to the right will only be queried if the server left to it cannot be
reached. If a server can be reached no further attempts will be made
regardless if the query returned a result or not.
query (default: none)
Specifies the query that should be sent to the database specified with the
host parameter:
query = SELECT displayname, mailaddr FROM mail WHERE mailaddr='%s';
Note
See the section called “Macros and Variables” in automx.conf(5) for a list
of available query macros.
result_attrs (default: none)
Specifies the attributes whose values should be used in an automx account
setup:
result_attrs = displayname, mailaddr
Authors
Christian Roessner <cr@sys4.de>
Wrote the program.
Patrick Ben Koetter <p@sys4.de>
Wrote the documentation.
See also
automx(8), automx.conf(5), automx_ldap(5), automx_script(5), automx_sql(5),
automx-test(1)