[Intranet] On désactive le module quota. Ah, et on committe les trucs que les autres n'ont pas commité.

Ignore-this: 57875a22b7c26a01dcd51b9331c93997

darcs-hash:20121031171234-b6762-b3c312f180024717569702a58bd59ed8a3cc0a83.gz
This commit is contained in:
Pierre-Elliott Bécue 2012-10-31 18:12:34 +01:00
parent 823e52de6c
commit a74d31de0e
9 changed files with 9 additions and 8 deletions

View file

@ -48,12 +48,13 @@ par le script.
cprint(u"%d adhérent(s) a/ont été trouvé(s)..." % len(adherents))
time.sleep(3) # On dort un peu, ctrl-c welcome
opt = commands.getoutput("/usr/sbin/postconf smtpd_client_message_rate_limit")
limit = int(opt.split()[-1])
if limit > 0 and len(adherents) >= 10:
limit_risen = True
postconf(0)
else: limit_risen = False
# opt = commands.getoutput("/usr/sbin/postconf smtpd_client_message_rate_limit")
# limit = int(opt.split()[-1])
# if limit > 0 and len(adherents) >= 10:
# limit_risen = True
# postconf(0)
# else: limit_risen = False
limit_risen = False
try:
try: