Hello, I use Suse 10.1 and quota work perfect except send the mail with LDAP informations. My warnquota.conf ################################################################### # Configuration file for the warnquota utility # # File Format: # ^^^^^^^^^^^^ # (1) lines begining with # or ; are comments # (2) blank lines are ignored # (3) other lines have the form 'value = string' # (4) strings may be quoted (double quotes) but they don't have to # (5) strings may end with backslash in order to continue # on the next line # (6) line breaks are marked with '|' character ################################################################### # # Comment this out or remove it once you have edited this config file # #FAIL = "configure /etc/warnquota.conf before running warnquota" # # command used for sending mails # MAIL_CMD = "/usr/lib/sendmail -t" # # Standard mail fields # FROM = "fabien.chaudier@insa-lyon.fr" SUBJECT = "Your account quota has exceeded!" CC_TO = "fabien.chaudier@insa-lyon.fr" # # If you set this variable CC will be used only when user has less than # specified grace time left (examples of possible times: 5 seconds, 1 minute, # 12 hours, 5 days) # CC_BEFORE = 2 days # # These variables are used in the default signatures, # provided SIGNATURE or GROUP_SIGNATURE is not specified (see below) # SUPPORT = "fabien.chaudier@insa-lyon.fr" PHONE = "89 96" # # Text in the beginning of the mail (if not specified, default text is used) # MESSAGE = Hello, I've noticed you use too much space\ on my disk|Delete your files on following filesystems:| # # Text in the end of the mail. # If not specified, default text using SUPPORT and PHONE is created. # SIGNATURE = See you!| Your admin| # # The following text is used for mails about group exceeding quotas # It should contain string %s exactly once - it will be substituted # for a group name. # GROUP_MESSAGE = Hello, a group '%s' you're member of use too much space.|\ I chose you to do the cleanup.|Delete group files on following filesystems:| # # Text in the end of the mail to the group. # If not specified, default text using SUPPORT and PHONE is created. # GROUP_SIGNATURE = See you!| Your admin| # # If you are running warnquota on a mail server, and don't want bounces # because clients can not receive mail setting this to "any" will cause # warnquota to not send them mail for all devices. If you set this to the # device name (for example /dev/hdb1) then they will not be sent mail if they # are overquota on that device only, and will be sent mail for all other # devices. # #MAILDEV = ############################################################## # Configuration for LDAP (if you are using LDAP mail lookups) # host, port, tls, binddn, and bindpw are straight forward. ############################################################## # # Your search base dn # # LDAP_BASEDN # # The attr for the value you are looking for # # LDAP_SEARCH_ATTRIBUTE # # # The attribute you want used for the mail address # # LDAP_MAIL_ATTRIBUTE # # The default domain if the attribute isn't found # # LDAP_DEFAULT_MAIL_DOMAIN # if binddn and bindpw are blank or left out, an anonymous bind is used # #LDAP_MAIL = true #false # true or false if you don't want to use it LDAP_MAIL = true LDAP_HOST = auth.insa-lyon.fr LDAP_PORT = 389 #LDAP_BINDDN = #LDAP_BINDPW = LDAP_BASEDN = ou=people,dc=insa-lyon,dc=fr LDAP_SEARCH_ATTRIBUTE = uid LDAP_MAIL_ATTRIBUTE = mail LDAP_DEFAULT_MAIL_DOMAIN = insa-lyon.fr # end of warnquota.conf file when I use /usr/sbin/warnquota I have the following message warnquota: Error in config file (line 112), ignoring warnquota: Error in config file (line 113), ignoring warnquota: Error in config file (line 116), ignoring warnquota: Error in config file (line 117), ignoring warnquota: Error in config file (line 118), ignoring warnquota: Error in config file (line 119), ignoring line 112 is LDAP_HOST = auth.insa-lyon.fr line 113 is LDAP_PORT = 389 ... line 119 is LDAP_DEFAULT_MAIL_DOMAIN = insa-lyon.fr Any idea of the problem ? -- Fabien Chaudier INSA - Département Biosciences 11 avenue Jean Capelle 69621 Villeurbanne Cedex Tél. : (33)04 72 43 89 96 Fax. : (33)04 72 43 85 11