Changeset 3145
- Timestamp:
- 05/03/12 15:46:04 (14 months ago)
- Location:
- alternc/trunk
- Files:
-
- 8 edited
-
debian/alternc.postinst (modified) (1 diff)
-
debian/rules (modified) (1 diff)
-
etc/alternc/alternc-sudoers (modified) (1 diff)
-
etc/alternc/templates/dovecot/dovecot-dict-quota.conf (modified) (1 diff)
-
etc/alternc/templates/dovecot/dovecot-sql.conf (modified) (1 diff)
-
etc/alternc/templates/dovecot/dovecot.conf (modified) (1 diff)
-
install/alternc.install (modified) (1 diff)
-
tools/postfix-add-policy (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/debian/alternc.postinst
r3144 r3145 53 53 fi 54 54 if ! getent passwd vmail; then 55 adduser-g vmail -u 1998 vmail -d /var/alternc/mail -m55 useradd -g vmail -u 1998 vmail -d /var/alternc/mail -m 56 56 fi 57 57 chown -R vmail:vmail /var/alternc/mail -
alternc/trunk/debian/rules
r2965 r3145 80 80 install tools/get_account_by_domain debian/alternc/usr/bin 81 81 install tools/alternc_get_path debian/alternc/usr/bin 82 install tools/postfix-add-policy debian/alternc/usr/bin 82 83 install src/alternc_reload debian/alternc/usr/bin 83 84 install -m 644 po/fr/LC_MESSAGES/alternc-admintools.mo debian/alternc/usr/share/locale/fr/LC_MESSAGES/ -
alternc/trunk/etc/alternc/alternc-sudoers
r3137 r3145 1 1 alterncpanel ALL = NOPASSWD : /usr/bin/quota, /usr/sbin/setquota 2 vmail ALL = NOPASSWD : /usr/lib/dovecot/deliver -
alternc/trunk/etc/alternc/templates/dovecot/dovecot-dict-quota.conf
r3144 r3145 1 1 2 connect host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_mail_pwd%%2 connect=host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_mail_pwd%% 3 3 #connect = host=localhost dbname=mails user=testuser password=pass 4 4 -
alternc/trunk/etc/alternc/templates/dovecot/dovecot-sql.conf
r3144 r3145 117 117 # user_query = SELECT home, 501 AS uid, 501 AS gid FROM users WHERE userid = '%u' 118 118 # 119 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'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' 120 120 121 121 # If you wish to avoid two SQL lookups (passdb + userdb), you can use -
alternc/trunk/etc/alternc/templates/dovecot/dovecot.conf
r3144 r3145 312 312 # Typically this is set to "mail" to give access to /var/mail. 313 313 #mail_privileged_group = 314 mail_privileged_group = mail314 mail_privileged_group = vmail 315 315 316 316 # Grant access to these supplementary groups for mail processes. Typically -
alternc/trunk/install/alternc.install
r3144 r3145 296 296 297 297 # Conviguring delivery used bu Postfix FIXME change script name 298 echo `/usr/bin/postfix-add-policy 2 dovecot pipe DRhu vmail:vmail '/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} '`298 echo `/usr/bin/postfix-add-policy dovecot pipe DRhu vmail:vmail '/usr/bin/sudo /usr/lib/dovecot/deliver -f ${sender} -d ${recipient} '` 299 299 300 300 # Bug #1215: configure mydestination when $FQDN is not in -
alternc/trunk/tools/postfix-add-policy
r3142 r3145 40 40 """ 41 41 policy = ("""%s unix - n n - 0 %s 42 %s user=%s argv=%s42 flags=%s user=%s argv=%s 43 43 """ % (name, method, flags, user, argv)) 44 44 additions = header + policy
Note: See TracChangeset
for help on using the changeset viewer.
