Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AUTOMX_SQL(5)			    automx			 AUTOMX_SQL(5)

NAME
       automx_sql - automx SQL backend configuration parameters

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  follow-
	      ing example:

		 host =	driver://username:password@hostname/database

	      IMPORTANT:
		 Subsequent  servers to	the first serve	only for fallback pur-
		 poses,	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	speci-
	      fied with	the host parameter:
		 query	=  SELECT  displayname,	 mailaddr  FROM	  mail	 WHERE
		 mailaddr='%s';

	      NOTE:
		 See   the  section  called  aMacros  and  Variablesa  in  au-
		 tomx.conf(5) for a list of available query macros.

       result_attrs (default: none)
	      Specifies	the attributes whose values should be used in  an  au-
	      tomx 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)

COPYRIGHT
       This document has been placed in	the public domain.

				  02/08/2013			 AUTOMX_SQL(5)

NAME | DESCRIPTION | PARAMETERS | AUTHORS | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=automx_sql&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help