GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TABLE-SQLITE (5)

NAME

table_sqlite - format description for smtpd sqlite tables

CONTENTS

Description
Sqlite Table
Sqlite Table Config File
See Also

DESCRIPTION

This manual page documents the file format of sqlite tables used by the smtpd(8) mail daemon.

The format described here applies to tables as defined in smtpd.conf(5).

SQLITE TABLE

A SQLite table allows the storing of usernames, passwords, aliases, and domains in a format that is shareable across various machines that support SQLite3

The table is used by smtpd(8) when authenticating a user, when user information such as user-id and/or home directory is required for a delivery, when a domain lookup may be required, and/or when looking for an alias.

A SQLite table consists of one or more SQLite3 Databases with one or more tables.

If the table is used for authentication, the password should be encrypted using the crypt(3) function. Such passwords can be generated using the encrypt(1) utility or smtpctl(8) encrypt command.

SQLITE TABLE CONFIG FILE


.Cd dbpath

    This is the path to where the DB is located with the dbname.


.Cd query_alias

    This is used to provide a query to look up aliases. All the question marks are replaced

    with the appropriate data, in this case it would be the left hand side of the SMTP address.

    This expects one varchar to be returned with the user name the alias resolves to.


.Cd query_domain

    This is used to provide a query for a domain query call. All the question marks are replaced

    with the appropriate data, in this case it would be the right hand side of the SMTP address.

    This expects one varchar to be returned with a matching domain name.


.Cd query_userinfo

    This is used to provide a query for looking up user information.

    All the question marks are replaced with the appropriate data, in this case it

    would be the left hand side of the SMTP address.

    This expects three fields to be returned an int containing a UID, an int containing a GID

    and a varchar containing the home directory for the user.


.Cd query_credentials

    This is used to provide a query for looking up credentials. All the question marks are replaced

    with the appropriate data, in this case it would be the left hand side of the SMTP address.

    the query expects that there are two varchars returned one with a

    user name one with a password in

encrypt(1)

    format.

SEE ALSO

encrypt(1), smtpd.conf(5), smtpctl(8), smtpd(8)
Search for    or go to Top of page |  Section 5 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.