Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37566583
en ru br
Репозитории ALT
S:2.3.21-alt1
D:1.1-alt0.hg20070530
5.1: 1.2.4-alt5
4.1: 1.0.13-alt1
4.0: 1.0.3.hg20070801-alt1
+updates:1.0.3.hg20070801-alt1
3.0: 0.99.14-alt2
www.altlinux.org/Changes

Другие репозитории
Upstream:1.0.13

Группа :: Система/Серверы
Пакет: dovecot

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

#!/bin/sh

. /etc/control.d/functions

CONFIG=/etc/dovecot/dovecot.conf
EXE=/etc/init.d/dovecot

sp="[[:space:]]"
start_section="${sp}\+client${sp}*{${sp}*#postfix${sp}*"
grep_section="${sp}*client${sp}+\{${sp}*#postfix${sp}*"
stop_section="${sp}*}${sp}*#postfix${sp}*"

new_summary "Dovecot auth server"

new_subst postfix \
"^$grep_section$" \
"/^#$start_section$/,/^#$stop_section$/ s,^#\(.*\),\1,"

new_subst none \
"^#$grep_section$" \
"/^$start_section$/,/^$stop_section$/ s,^\(.*\),#\1,"

new_help postfix "Enable auth socket for postfix, see smtpd(8)"
new_help none "Disable auth socket for postfix, see smtpd(8)"

is_builtin_mode "$*" ||
[ "$*" != "`control_subst "$CONFIG" status`" ] || exit 0

control_subst "$CONFIG" "$*"

is_builtin_mode "$*" ||
[ ! -x "$EXE" ] || "$EXE" condreload || exit 0
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin