Changeset 3146 for alternc/trunk


Ignore:
Timestamp:
05/04/12 10:57:23 (13 months ago)
Author:
squidly
Message:

Correction template dovecot + configuration d'installation

Location:
alternc/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/etc/alternc/postfix.cf

    r3142 r3146  
     1# Postfix Configuration options 
    12# Used by alternc.install with postconf 
    23home_mailbox = Maildir/ 
     
    67local_destination_concurrency_limit = 8 
    78default_destination_concurrency_limit = 10 
     9# TLS options 
    810smtpd_use_tls = yes 
    911smtpd_tls_dcert_file = /etc/alternc/apache.pem 
     
    1517smtpd_tls_received_header = yes 
    1618smtpd_tls_session_cache_timeout = 3600s 
    17 smtp_use_tls = yes 
    1819smtp_tls_dcert_file = $smtpd_tls_dcert_file 
    1920smtp_tls_dkey_file = $smtpd_tls_dcert_file 
    2021smtp_tls_CApath = $smtpd_tls_CApath 
    2122smtpd_tls_auth_only = yes 
     23#SASL options 
    2224smtpd_sasl_auth_enable = yes 
    2325smtpd_sasl_local_domain = postfix 
     
    2527enable_sasl_authentification = yes 
    2628broken_sasl_auth_clients = yes 
     29smtpd_sasl_type=dovecot 
     30smtpd_sasl_path=private/auth 
     31smtpd_sasl_auth_enable=yes 
     32#Virtual Maping 
    2733alias_maps = hash:/etc/aliases 
    2834alias_database = hash:/etc/aliases 
  • alternc/trunk/etc/alternc/templates/dovecot/dovecot-sql.conf

    r3145 r3146  
    117117#   user_query = SELECT home, 501 AS uid, 501 AS gid FROM users WHERE userid = '%u' 
    118118# 
    119 user_query = SELECT mailbox.path AS home, domaines.compte AS uid, domaines.compte AS gid FROM mailbox JOIN address ON address.id = mailbox.address_id JOIN domaines on domaines.id = address.domain_id WHERE address.address = '%n' 
     119user_query = SELECT mailbox.path AS home, domaines.compte AS uid, 1998 AS gid FROM mailbox JOIN address ON address.id = mailbox.address_id JOIN domaines on domaines.id = address.domain_id WHERE address.address = '%n' 
    120120 
    121121# If you wish to avoid two SQL lookups (passdb + userdb), you can use 
     
    123123# also have to return userdb fields in password_query prefixed with "userdb_" 
    124124# string. For example: 
    125 password_query = SELECT user, password, userdb_home, userdb_uid, userdb_gid,userdb_quota_rule FROM dovecot_view where user= '%u';  
     125password_query = SELECT user, password, userdb_home, userdb_uid, 1998 AS userdb_gid,userdb_quota_rule FROM dovecot_view where user= '%u';  
    126126 
  • alternc/trunk/install/alternc.install

    r3145 r3146  
    291291    postfix_conf=/etc/alternc/postfix.cf 
    292292fi 
    293 while read line ; do 
     293grep -v '^\ *#' $postfix_conf |while read line ; do 
    294294   postconf -e "$line" 
    295 done < "$postfix_conf" 
     295done  
    296296 
    297297# Conviguring delivery used bu Postfix FIXME change script name 
  • alternc/trunk/tools/postfix-add-policy

    r3145 r3146  
    5353 
    5454Adds the following to master.cf: 
    55 """ + makepolicy('policyd','method','flags', 'nobody', '/usr/bin/policyd') + """ 
     55""" + makepolicy('policyd','method','flags', 'user', '/usr/bin/policyd') + """ 
    5656To output this usage message: 
    5757    % postfix-add-policy 
     
    9090                '/etc/postfix/master.cf.working') 
    9191            # Add stuff in 
    92             stuff = makepolicy(policyname, user, method, flags, argv) 
     92            stuff = makepolicy(policyname, method, flags, user, argv) 
    9393            # Append stuff to the working copy: 
    9494 
Note: See TracChangeset for help on using the changeset viewer.