1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
# The attributes are:
#
# mail - The full email address of the user (ie user@yourdomain.com)
# This is the primary attribute searched upon by maildrop.
#
# maildir - The location (full path including name) of the users
# mail directory (Maildir)
#
# homedirectory - The location (full path including name) of the
# users home directory. This may be the same as the
# users maildir.
#
# uidnumber - The uid of the user that owns the mail files for
# this user. This may be a specific uid per user,
# or a single uid for every user (full 'virtual' user
# configuration), or a combination.
#
# gidnumber - The gid of the user that owns the mail files for
# this user. This may be a specific gid per user,
# or a single gid for every user (full 'virtual' user
# configuration), or a combination.
#
# quota - *OPTIONAL* The quota for this user. If blank, or
# non-existent defaults to no quota.
# mailstatus - account status
#
# A sample LDAP entry is given at the end of this file.
#
# --- Actual configuration begins here -----------------------------
# hostname - host name of your ldap server
hostname mysql.server.yourdomain.com
port 3306
socket /var/lib/mysql/mysql.sock
database sendmail
dbuser maildrop
dbpw maildroppw
dbtable maildrop
#not used now
#timeout 5
# default_uid - default uid (number only) to use incase uidnumber attribute not
# found in users mysql entry
default_uidnumber 450
# default_gid - default gid (number only) to use incase gidnumber attribute not
# found in users ldap entry
default_gidnumber 450
# MySQL Field definitions
#
# This section allows you to specify the actual attributes you
# use in your Mysql record
#
# The example attribute mapping shown below is also the default
# mapping used by maildrop in the case that any are missing
# UID_FIELD - MySQL attribute which contains the users name (w or w/o domain)
uid_field uid
# UIDNUMBER_FIELD - MySQL attribute which contains the system uid to deliver
# mail as
uidnumber_field uidnumber
# GIDNUMBER_FIELD - MySQL attribute which contains the system gid to deliver
# mail as
gidnumber_field gidnumber
# MAILDIR_FIELD - MySQL attribute which contains the path to the users
# custom maildir
maildir_field maildir
# HOMEDIRECTORY_FIELD - MySQL attribute which contains the path to the users
# home directory
homedirectory_field homedir
# QUOTA_FIELD - MySQL attribute which contains the users quota
quota_field quota
# MYSQL_DEFAULT_STATUS_FIELD - MySQL attribute which could be created in the
# MySQL entry to set whether or not the user is allowed to receive email on
# this box..
# -- looks unused for now; but must be valid column ! (2001-11-03)
mailstatus_field vmailstatus
# MYSQL_DEFAULT_WHERE_CLAUSE - This is optional !
# It can be set to any fixed string starting with keyword 'AND'.
# It will then be appended to the WHERE clause of our query.
where_clause ""
|