Changeset 3146
- Timestamp:
- 05/04/12 10:57:23 (13 months ago)
- Location:
- alternc/trunk
- Files:
-
- 4 edited
-
etc/alternc/postfix.cf (modified) (4 diffs)
-
etc/alternc/templates/dovecot/dovecot-sql.conf (modified) (2 diffs)
-
install/alternc.install (modified) (1 diff)
-
tools/postfix-add-policy (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/etc/alternc/postfix.cf
r3142 r3146 1 # Postfix Configuration options 1 2 # Used by alternc.install with postconf 2 3 home_mailbox = Maildir/ … … 6 7 local_destination_concurrency_limit = 8 7 8 default_destination_concurrency_limit = 10 9 # TLS options 8 10 smtpd_use_tls = yes 9 11 smtpd_tls_dcert_file = /etc/alternc/apache.pem … … 15 17 smtpd_tls_received_header = yes 16 18 smtpd_tls_session_cache_timeout = 3600s 17 smtp_use_tls = yes18 19 smtp_tls_dcert_file = $smtpd_tls_dcert_file 19 20 smtp_tls_dkey_file = $smtpd_tls_dcert_file 20 21 smtp_tls_CApath = $smtpd_tls_CApath 21 22 smtpd_tls_auth_only = yes 23 #SASL options 22 24 smtpd_sasl_auth_enable = yes 23 25 smtpd_sasl_local_domain = postfix … … 25 27 enable_sasl_authentification = yes 26 28 broken_sasl_auth_clients = yes 29 smtpd_sasl_type=dovecot 30 smtpd_sasl_path=private/auth 31 smtpd_sasl_auth_enable=yes 32 #Virtual Maping 27 33 alias_maps = hash:/etc/aliases 28 34 alias_database = hash:/etc/aliases -
alternc/trunk/etc/alternc/templates/dovecot/dovecot-sql.conf
r3145 r3146 117 117 # user_query = SELECT home, 501 AS uid, 501 AS gid FROM users WHERE userid = '%u' 118 118 # 119 user_query = SELECT mailbox.path AS home, domaines.compte AS uid, domaines.compteAS gid FROM mailbox JOIN address ON address.id = mailbox.address_id JOIN domaines on domaines.id = address.domain_id WHERE address.address = '%n'119 user_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' 120 120 121 121 # If you wish to avoid two SQL lookups (passdb + userdb), you can use … … 123 123 # also have to return userdb fields in password_query prefixed with "userdb_" 124 124 # string. For example: 125 password_query = SELECT user, password, userdb_home, userdb_uid, userdb_gid,userdb_quota_rule FROM dovecot_view where user= '%u';125 password_query = SELECT user, password, userdb_home, userdb_uid, 1998 AS userdb_gid,userdb_quota_rule FROM dovecot_view where user= '%u'; 126 126 -
alternc/trunk/install/alternc.install
r3145 r3146 291 291 postfix_conf=/etc/alternc/postfix.cf 292 292 fi 293 while read line ; do293 grep -v '^\ *#' $postfix_conf |while read line ; do 294 294 postconf -e "$line" 295 done < "$postfix_conf"295 done 296 296 297 297 # Conviguring delivery used bu Postfix FIXME change script name -
alternc/trunk/tools/postfix-add-policy
r3145 r3146 53 53 54 54 Adds the following to master.cf: 55 """ + makepolicy('policyd','method','flags', ' nobody', '/usr/bin/policyd') + """55 """ + makepolicy('policyd','method','flags', 'user', '/usr/bin/policyd') + """ 56 56 To output this usage message: 57 57 % postfix-add-policy … … 90 90 '/etc/postfix/master.cf.working') 91 91 # Add stuff in 92 stuff = makepolicy(policyname, user, method, flags, argv)92 stuff = makepolicy(policyname, method, flags, user, argv) 93 93 # Append stuff to the working copy: 94 94
Note: See TracChangeset
for help on using the changeset viewer.
