ALT Linux repos
S: | 2.3.21-alt1 |
D: | 1.1-alt0.hg20070530 |
5.0: | 1.1.6-alt2 |
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 |
Other repositories
Upstream: | 1.0.13 |
Group :: System/Servers
RPM: dovecot
Main Changelog Spec Patches Sources Download 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