aboutsummaryrefslogtreecommitdiff
path: root/security/drweb-postfix
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-02-10 16:05:53 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-02-10 16:05:53 +0000
commit40f090461835019673790ad0b0232cf5f2ddb54f (patch)
treea9bd2e7b2a5ab61fc87e09b10cb0131b676a5a7a /security/drweb-postfix
parentd737d46fa2af462515a11073fd4758bdcad7317d (diff)
downloadports-40f090461835019673790ad0b0232cf5f2ddb54f.tar.gz
ports-40f090461835019673790ad0b0232cf5f2ddb54f.zip
Notes
Diffstat (limited to 'security/drweb-postfix')
-rw-r--r--security/drweb-postfix/Makefile115
-rw-r--r--security/drweb-postfix/distinfo6
-rw-r--r--security/drweb-postfix/files/patch-aa110
-rw-r--r--security/drweb-postfix/files/patch-ab112
-rw-r--r--security/drweb-postfix/pkg-plist208
5 files changed, 331 insertions, 220 deletions
diff --git a/security/drweb-postfix/Makefile b/security/drweb-postfix/Makefile
index bf39c1916593..2302f56c9f3d 100644
--- a/security/drweb-postfix/Makefile
+++ b/security/drweb-postfix/Makefile
@@ -5,92 +5,85 @@
# $FreeBSD$
#
-PORTNAME= drweb_postfix
-PORTVERSION= 4.31
+PORTNAME= drweb-postfix
+PORTVERSION= 4.32.1
CATEGORIES= security mail
-MASTER_SITES= ftp://ftp.drweb.ru/pub/unix/ \
- ftp://ftp.drweb.ru/pub/unix/archive/ \
- ftp://ftp.drweb.ru/pub/unix/archive/drweb-clients-${PORTVERSION}/
-DISTNAME= drweb-clients-${PORTVERSION}-sources
+MASTER_SITES= ftp://ftp.drweb.ru/pub/unix/FreeBSD/49/ \
+ ftp://ftp.drweb.ru/pub/unix/FreeBSD/53/
-MAINTAINER= zaa@ulstu.ru
+MAINTAINER= support@spectrum.ru
COMMENT= Postfix message filter for virus processing through DrWeb daemon
-BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2
RUN_DEPENDS= ${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb
-WRKSRC= ${WRKDIR}/${DISTNAME}
+NO_BUILD= yes
-INST_PREFIX= ${PREFIX}/${PORTNAME}
+.include <bsd.port.pre.mk>
-LANGS=en-ru
-CONFS=drweb_postfix users viruses addresses
-TMPLS=archive-admin archive-sender error-admin error-sender skip-sender \
- virus-admin virus-rcpts virus-sender rule-admin
-PORTDOCS= FAQ.rus.txt addresses_list.rus.txt addresses_list.txt conf_file.rus.txt \
- conf_file.txt notify.rus.txt notify.txt readme readme.rus \
- users_list.rus.txt users_list.txt viruses_list.rus.txt viruses_list.txt
+.if ${OSVERSION} < 500000
+DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd49
+.else
+DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd53
+.endif
-post-patch:
- cd ${WRKSRC} && \
- ${SED} "s#%PREFIX%#${PREFIX}#g" < dw_options.c > ndwo.c && \
- ${MV} ndwo.c dw_options.c
- cd ${WRKSRC}/etc && \
- ${SED} -e "s#%PREFIX%#${PREFIX}#g" -e "s#%HOSTNAME%#${HOST}#g" \
- < drweb_postfix.conf > nconf && \
- ${MV} nconf drweb_postfix.conf
+WRKSRC= ${WRKDIR}/${PORTNAME}
+INST_PREFIX= ${PREFIX}/${PORTNAME}
+DOC_DIR= ${PREFIX}/share/doc/${PORTNAME}
+CONFDIR= ${PREFIX}/etc/${PORTNAME}
-post-configure:
- cd ${WRKSRC} && { \
- ${ECHO_CMD} ${PORTVERSION}; \
- ${ECHO_CMD} n; \
- ${ECHO_CMD} n; \
- ${ECHO_CMD} n; \
- ${ECHO_CMD} n; \
- ${ECHO_CMD} y; \
- ${ECHO_CMD} n; \
- ${ECHO_CMD} n; \
- ${ECHO_CMD} y; \
- ${ECHO_CMD} ${CFLAGS} ; \
- ${ECHO_CMD} y; \
- } | ./configure
+LANGS= en en-ru en-pl en-jp
+CONFS= drweb_postfix users viruses addresses
+TMPLS= archive-admin archive-sender cured-admin cured-sender error-admin \
+ error-sender rule-admin skip-sender virus-admin virus-rcpts \
+ virus-sender license-admin
do-install:
+ ${MKDIR} ${INST_PREFIX}
+ ${MKDIR} ${INST_PREFIX}/run
+ ${CHOWN} drweb:drweb ${INST_PREFIX}/run
+ ${MKDIR} ${CONFDIR}
+ ${MKDIR} ${DOC_DIR}
+ ${MKDIR} ${DOC_DIR}/postfix
+ ${INSTALL_PROGRAM} ${WRKSRC}/usr/local/drweb/drweb-postfix.static \
+ ${INST_PREFIX}/drweb-postfix
+ ${SED} 's#%INSTALL%#${INST_PREFIX}#g' \
+ < ${FILESDIR}/01.drweb-postfix.sh \
+ > ${PREFIX}/etc/rc.d/01.drweb-postfix.sh-dist
+ ${CHMOD} 750 ${PREFIX}/etc/rc.d/01.drweb-postfix.sh-dist
.for LANG in ${LANGS}
- ${MKDIR} ${PREFIX}/etc/drweb/templates/${LANG}/postfix
+ ${MKDIR} ${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix
.endfor
.for CONF in ${CONFS}
- ${INSTALL_DATA} -m 640 -o drweb -g drweb ${WRKSRC}/etc/${CONF}.conf \
- ${PREFIX}/etc/drweb/${CONF}.conf-dist
- if [ ! -f ${PREFIX}/etc/drweb/${CONF}.conf ]; then \
- ${INSTALL_DATA} -m 640 -o drweb -g drweb ${WRKSRC}/etc/${CONF}.conf \
- ${PREFIX}/etc/drweb/${CONF}.conf; \
- fi
+ ${SED} 's#%CONFDIR%#${CONFDIR}#g' \
+ < ${WRKSRC}/usr/local/etc/drweb/${CONF}.conf \
+ > ${CONFDIR}/${CONF}.conf-dist
+ ${CHMOD} 640 ${CONFDIR}/${CONF}.conf-dist
+.if !exists( ${PREFIX}/etc/${PORTNAME}/${CONF}.conf )
+ ${CP} ${CONFDIR}/${CONF}.conf-dist ${CONFDIR}/${CONF}.conf
+ ${CHMOD} 600 ${CONFDIR}/${CONF}.conf
+.endif
.endfor
.for LANG in ${LANGS}
.for TMPL in ${TMPLS}
- cd ${WRKSRC}/etc/templates/${LANG}/postfix && \
- ${INSTALL_DATA} ${TMPL}.msg \
- ${PREFIX}/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg-dist
- if [ ! -f ${PREFIX}/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg ]; then \
- cd ${PREFIX}/etc/drweb/templates/${LANG}/postfix && \
- ${CP} ${TMPL}.msg-dist ${TMPL}.msg; \
- fi
+ ${INSTALL_DATA} ${WRKSRC}/usr/local/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg \
+ ${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix/${TMPL}.msg-dist
+.if !exists( ${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix/${TMPL}.msg )
+ ${INSTALL_DATA} -o drweb -g drweb -m 640 ${WRKSRC}/usr/local/etc/drweb/templates/${LANG}/postfix/${TMPL}.msg \
+ ${PREFIX}/etc/${PORTNAME}/templates/${LANG}/postfix/${TMPL}.msg
+.endif
.endfor
.endfor
- ${INSTALL_PROGRAM} ${WRKSRC}/drweb-postfix ${PREFIX}/sbin/
- ${INSTALL_PROGRAM} ${WRKSRC}/drwebdc ${PREFIX}/sbin/
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc/postfix && \
- ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${CP} ${WRKSRC}/usr/local/drweb/doc/postfix/*.txt \
+ ${DOC_DIR}/postfix/
+ ${CP} ${WRKSRC}/usr/local/drweb/doc/postfix/read* \
+ ${DOC_DIR}/postfix/
post-install:
+ @${ECHO}
@${CAT} ${PKGMESSAGE}
@${ECHO}
@${ECHO} "Read documentation about additional Postfix tuning needed"
@${ECHO} "in ${DOCSDIR}."
@${ECHO}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/drweb-postfix/distinfo b/security/drweb-postfix/distinfo
index 003369aeb2b6..1049d670f213 100644
--- a/security/drweb-postfix/distinfo
+++ b/security/drweb-postfix/distinfo
@@ -1,2 +1,4 @@
-MD5 (drweb-clients-4.31-sources.tar.gz) = 7215ff50a75d088eab210bcdb257effe
-SIZE (drweb-clients-4.31-sources.tar.gz) = 537926
+MD5 (drweb-postfix-4.32.1-freebsd49.tar.gz) = 2beb13632fc2be2ab4885a631f3a0918
+SIZE (drweb-postfix-4.32.1-freebsd49.tar.gz) = 312129
+MD5 (drweb-postfix-4.32.1-freebsd53.tar.gz) = f1c5a37d51cb120ba043f38d10220262
+SIZE (drweb-postfix-4.32.1-freebsd53.tar.gz) = 397819
diff --git a/security/drweb-postfix/files/patch-aa b/security/drweb-postfix/files/patch-aa
index 9ec4d924cd7d..514057a10b06 100644
--- a/security/drweb-postfix/files/patch-aa
+++ b/security/drweb-postfix/files/patch-aa
@@ -1,11 +1,99 @@
---- dw_options.c.orig Tue Dec 9 01:23:55 2003
-+++ dw_options.c Tue Mar 2 20:54:56 2004
-@@ -117,7 +117,7 @@
- #if defined(__UNIX_DW)
- #if !defined(EMX_DW)
- #if defined(FreeBSD_DW)
--#define OS_SPEC_CONFNAME "/usr/local/etc/drweb/"CONF_FNAME
-+#define OS_SPEC_CONFNAME "%PREFIX%/etc/drweb/"CONF_FNAME
- #else /* FreeBSD */
- #define OS_SPEC_CONFNAME "/opt/drweb/"CONF_FNAME
- #endif /* FreeBSD */
+--- usr/local/etc/drweb/drweb_postfix.conf.orig Tue Dec 21 12:16:19 2004
++++ usr/local/etc/drweb/drweb_postfix.conf Tue Dec 21 12:25:01 2004
+@@ -87,10 +87,10 @@
+ DenyByDefault = no
+
+ # List with rules for users or domains to block scanning
+-DenyList = /usr/local/etc/drweb/users.conf
++DenyList = %CONFDIR%/users.conf
+
+ # Directory used to store temporary files
+-Spool = /var/drweb/spool
++Spool = /tmp
+
+ # Permissions for created spool files
+ SpoolFilesMode = 0600
+@@ -269,16 +269,16 @@
+ FilterMail = DrWEB-DAEMON
+
+ # List of unnotificable viruses
+-UnnotificableVirusesList = /usr/local/etc/drweb/viruses.conf
++UnnotificableVirusesList = %CONFDIR%/viruses.conf
+
+ # List of unnotificable addresses
+-UnnotificableAddressesList = /usr/local/etc/drweb/addresses.conf
++UnnotificableAddressesList = %CONFDIR%/addresses.conf
+
+ # Quarantine directory.
+ # The infected files could be moved in that dir
+ # if you leave this field empty or commented out then
+ # infected messages will not be stored
+-Quarantine = /var/drweb/infected
++Quarantine = /usr/local/drweb/infected
+
+ # Permissions for quarantined files
+ QuarantineFilesMode = 0660
+@@ -302,21 +302,21 @@
+ RcptsNotify = yes
+
+ # Files with notification templates
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-admin.msg
+-RcptsTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/postfix/virus-sender.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/postfix/virus-admin.msg
++RcptsTemplate = %CONFDIR%/templates/en-ru/postfix/virus-rcpts.msg
+
+ [CuredNotifications]
+ SenderNotify = yes
+ AdminNotify = yes
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/cured-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/cured-admin.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/postfix/cured-sender.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/postfix/cured-admin.msg
+
+ [SkipNotifications]
+ SenderNotify = yes
+ AdminNotify = no
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/skip-sender.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/postfix/skip-sender.msg
+ AdminTemplate =
+ RcptsTemplate =
+
+@@ -324,16 +324,16 @@
+ SenderNotify = yes
+ AdminNotify = yes
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/archive-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/archive-admin.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/postfix/archive-sender.msg
++AdminTemplate = %CONFIDR%/templates/en-ru/postfix/archive-admin.msg
+ RcptsTemplate =
+
+ [ErrorNotifications]
+ SenderNotify = yes
+ AdminNotify = yes
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/error-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/error-admin.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/postfix/error-sender.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/postfix/error-admin.msg
+ RcptsTemplate =
+
+ [RuleFilterNotifications]
+@@ -341,12 +341,12 @@
+ AdminNotify = yes
+ RcptsNotify = no
+ SenderTemplate =
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/rule-admin.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/postfix/rule-admin.msg
+ RcptsTemplate =
+
+ [LicenseLimitNotifications]
+ AdminNotify = yes
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/license-admin.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/postfix/license-admin.msg
+
+ ###################
+ # Logging section #
diff --git a/security/drweb-postfix/files/patch-ab b/security/drweb-postfix/files/patch-ab
deleted file mode 100644
index b47c064941fb..000000000000
--- a/security/drweb-postfix/files/patch-ab
+++ /dev/null
@@ -1,112 +0,0 @@
---- etc/drweb_postfix.conf.orig Sun Jul 18 14:55:55 2004
-+++ etc/drweb_postfix.conf Sun Jul 18 15:00:45 2004
-@@ -18,14 +18,14 @@
- # Address = local:/usr/local/drweb/run/drwebd.skt
- # Address = pid:/usr/local/drweb/run/drwebd.pid
- # Address = pid:/var/drweb/run/drwebd.pid, inet:3000@backup_server.example.com
--Address = inet:3000@localhost
-+Address = local:%PREFIX%/drweb/run/drwebd.sock
-
- # Enable/disable caching of the resolved daemon host
- # (useful only if daemon uses TCP/IP communications)
- Cache = yes
-
- # Timeout for the whole scanning session (seconds)
--Timeout = 120
-+Timeout = 160
-
- ########################
- # Scan options section #
-@@ -83,10 +83,10 @@
- DenyByDefault = no
-
- # List with rules for users or domains to block scanning
--DenyList = /etc/drweb/users.conf
-+DenyList = %PREFIX%/etc/drweb/users.conf
-
- # Directory used to store temporary files
--Spool = /var/drweb/spool
-+Spool = /tmp
-
- # Permissions for created spool files
- SpoolFilesMode = 0600
-@@ -237,7 +237,7 @@
- # pass - pass such messages
- # reject - reject such messages with permanent error
- # tempfail - reject such message with temporary error
--ProcessingErrors = reject
-+ProcessingErrors = tempfail
-
- # Admin mail address (may be unix-local address)
- AdminMail = postmaster
-@@ -249,16 +249,16 @@
- FilterMail = DrWEB-DAEMON
-
- # List of unnotificable viruses
--UnnotificableVirusesList = /etc/drweb/viruses.conf
-+UnnotificableVirusesList = %PREFIX%/etc/drweb/viruses.conf
-
- # List of unnotificable addresses
--UnnotificableAddressesList = /etc/drweb/addresses.conf
-+UnnotificableAddressesList = %PREFIX%/etc/drweb/addresses.conf
-
- # Quarantine directory.
- # The infected files could be moved in that dir
- # if you leave this field empty or commented out then
- # infected messages will not be stored
--Quarantine = /var/drweb/infected
-+Quarantine = %PREFIX%/drweb/infected
-
- # Permissions for quarantined files
- QuarantineFilesMode = 0660
-@@ -282,15 +282,16 @@
- RcptsNotify = yes
-
- # Files with notification templates
--SenderTemplate = /etc/drweb/templates/en-ru/postfix/virus-sender.msg
--AdminTemplate = /etc/drweb/templates/en-ru/postfix/virus-admin.msg
--RcptsTemplate = /etc/drweb/templates/en-ru/postfix/virus-rcpts.msg
-+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-sender.msg
-+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-admin.msg
-+RcptsTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-rcpts.msg
-+
-
- [SkipNotifications]
- SenderNotify = yes
- AdminNotify = no
- RcptsNotify = no
--SenderTemplate = /etc/drweb/templates/en-ru/postfix/skip-sender.msg
-+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/skip-sender.msg
- AdminTemplate =
- RcptsTemplate =
-
-@@ -298,16 +299,16 @@
- SenderNotify = yes
- AdminNotify = yes
- RcptsNotify = no
--SenderTemplate = /etc/drweb/templates/en-ru/postfix/archive-sender.msg
--AdminTemplate = /etc/drweb/templates/en-ru/postfix/archive-admin.msg
-+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/archive-sender.msg
-+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/archive-admin.msg
- RcptsTemplate =
-
- [ErrorNotifications]
- SenderNotify = yes
- AdminNotify = yes
- RcptsNotify = no
--SenderTemplate = /etc/drweb/templates/en-ru/postfix/error-sender.msg
--AdminTemplate = /etc/drweb/templates/en-ru/postfix/error-admin.msg
-+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/error-sender.msg
-+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/error-admin.msg
- RcptsTemplate =
-
- [RuleFilterNotifications]
-@@ -315,7 +316,7 @@
- AdminNotify = yes
- RcptsNotify = no
- SenderTemplate =
--AdminTemplate = /etc/drweb/templates/en-ru/postfix/rule-admin.msg
-+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/rule-admin.msg
- RcptsTemplate =
-
- ###################
diff --git a/security/drweb-postfix/pkg-plist b/security/drweb-postfix/pkg-plist
index 32ac153402f8..0b3307cfa60b 100644
--- a/security/drweb-postfix/pkg-plist
+++ b/security/drweb-postfix/pkg-plist
@@ -1,46 +1,186 @@
-@comment $FreeBSD$
-@unexec if [ -f %D/etc/drweb/addresses.conf ] && cmp -s %D/etc/drweb/addresses.conf %D/etc/drweb/addresses.conf-dist; then rm -f %D/etc/drweb/addresses.conf; fi
-etc/drweb/addresses.conf-dist
+drweb-postfix/drweb-postfix
+@unexec if [ -f %D/etc/drweb-postfix/addresses.conf ] && cmp -s %D/etc/drweb-postfix/addresses.conf %D/etc/drweb-postfix/addresses.conf-dist; then rm -f %D/etc/drweb-postfix/addresses.conf; fi
+etc/drweb-postfix/addresses.conf-dist
@exec [ -f %B/addresses.conf ] || cp %B/%f %B/addresses.conf
-@unexec if [ -f %D/etc/drweb/drweb_postfix.conf ] && cmp -s %D/etc/drweb/drweb_postfix.conf %D/etc/drweb/drweb_postfix.conf-dist; then rm -f %D/etc/drweb/drweb_postfix.conf; fi
-etc/drweb/drweb_postfix.conf-dist
+@unexec if [ -f %D/etc/drweb-postfix/drweb_postfix.conf ] && cmp -s %D/etc/drweb-postfix/drweb_postfix.conf %D/etc/drweb-postfix/drweb_postfix.conf-dist; then rm -f %D/etc/drweb-postfix/drweb_postfix.conf; fi
+etc/drweb-postfix/drweb_postfix.conf-dist
@exec [ -f %B/drweb_postfix.conf ] || cp %B/%f %B/drweb_postfix.conf
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/archive-admin.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/archive-admin.msg %D/etc/drweb/templates/en-ru/postfix/archive-admin.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/archive-admin.msg; fi
-etc/drweb/templates/en-ru/postfix/archive-admin.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/archive-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/archive-admin.msg %D/etc/drweb-postfix/templates/en-jp/postfix/archive-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/archive-admin.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/archive-admin.msg-dist
@exec [ -f %B/archive-admin.msg ] || cp %B/%f %B/archive-admin.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/archive-sender.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/archive-sender.msg %D/etc/drweb/templates/en-ru/postfix/archive-sender.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/archive-sender.msg; fi
-etc/drweb/templates/en-ru/postfix/archive-sender.msg-dist
-@exec [ -f %B/archive-sender.msg ] || cp %B/%f %B/archive-sender.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/error-admin.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/error-admin.msg %D/etc/drweb/templates/en-ru/postfix/error-admin.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/error-admin.msg; fi
-etc/drweb/templates/en-ru/postfix/error-admin.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/archive-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/archive-sender.msg %D/etc/drweb-postfix/templates/en-jp/postfix/archive-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/archive-sender.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/archive-sender.msg-dist
+@exec [ -f %B/archive-sender.msg ] || cp %B/%f %B/archive-sender.msg.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/cured-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/cured-admin.msg %D/etc/drweb-postfix/templates/en-jp/postfix/cured-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/cured-admin.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/cured-admin.msg-dist
+@exec [ -f %B/cured-admin.msg ] || cp %B/%f %B/cured-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/cured-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/cured-sender.msg %D/etc/drweb-postfix/templates/en-jp/postfix/cured-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/cured-sender.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/cured-sender.msg-dist
+@exec [ -f %B/cured-sender.msg ] || cp %B/%f %B/cured-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/error-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/error-admin.msg %D/etc/drweb-postfix/templates/en-jp/postfix/error-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/error-admin.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/error-admin.msg-dist
@exec [ -f %B/error-admin.msg ] || cp %B/%f %B/error-admin.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/error-sender.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/error-sender.msg %D/etc/drweb/templates/en-ru/postfix/error-sender.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/error-sender.msg; fi
-etc/drweb/templates/en-ru/postfix/error-sender.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/error-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/error-sender.msg %D/etc/drweb-postfix/templates/en-jp/postfix/error-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/error-sender.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/error-sender.msg-dist
@exec [ -f %B/error-sender.msg ] || cp %B/%f %B/error-sender.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/rule-admin.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/rule-admin.msg %D/etc/drweb/templates/en-ru/postfix/rule-admin.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/rule-admin.msg; fi
-etc/drweb/templates/en-ru/postfix/rule-admin.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/license-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/license-admin.msg %D/etc/drweb-postfix/templates/en-jp/postfix/license-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/license-admin.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/license-admin.msg-dist
+@exec [ -f %B/license-admin.msg ] || cp %B/%f %B/license-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/rule-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/rule-admin.msg %D/etc/drweb-postfix/templates/en-jp/postfix/rule-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/rule-admin.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/rule-admin.msg-dist
@exec [ -f %B/rule-admin.msg ] || cp %B/%f %B/rule-admin.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/skip-sender.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/skip-sender.msg %D/etc/drweb/templates/en-ru/postfix/skip-sender.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/skip-sender.msg; fi
-etc/drweb/templates/en-ru/postfix/skip-sender.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/skip-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/skip-sender.msg %D/etc/drweb-postfix/templates/en-jp/postfix/skip-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/skip-sender.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/skip-sender.msg-dist
@exec [ -f %B/skip-sender.msg ] || cp %B/%f %B/skip-sender.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/virus-admin.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/virus-admin.msg %D/etc/drweb/templates/en-ru/postfix/virus-admin.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/virus-admin.msg; fi
-etc/drweb/templates/en-ru/postfix/virus-admin.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/virus-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/virus-admin.msg %D/etc/drweb-postfix/templates/en-jp/postfix/virus-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/virus-admin.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/virus-admin.msg-dist
@exec [ -f %B/virus-admin.msg ] || cp %B/%f %B/virus-admin.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg %D/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg; fi
-etc/drweb/templates/en-ru/postfix/virus-rcpts.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/virus-rcpts.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/virus-rcpts.msg %D/etc/drweb-postfix/templates/en-jp/postfix/virus-rcpts.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/virus-rcpts.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/virus-rcpts.msg-dist
@exec [ -f %B/virus-rcpts.msg ] || cp %B/%f %B/virus-rcpts.msg
-@unexec if [ -f %D/etc/drweb/templates/en-ru/postfix/virus-sender.msg ] && cmp -s %D/etc/drweb/templates/en-ru/postfix/virus-sender.msg %D/etc/drweb/templates/en-ru/postfix/virus-sender.msg-dist; then rm -f %D/etc/drweb/templates/en-ru/postfix/virus-sender.msg; fi
-etc/drweb/templates/en-ru/postfix/virus-sender.msg-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-jp/postfix/virus-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-jp/postfix/virus-sender.msg %D/etc/drweb-postfix/templates/en-jp/postfix/virus-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-jp/postfix/virus-sender.msg; fi
+etc/drweb-postfix/templates/en-jp/postfix/virus-sender.msg-dist
@exec [ -f %B/virus-sender.msg ] || cp %B/%f %B/virus-sender.msg
-@unexec if [ -f %D/etc/drweb/users.conf ] && cmp -s %D/etc/drweb/users.conf %D/etc/drweb/users.conf-dist; then rm -f %D/etc/drweb/users.conf; fi
-etc/drweb/users.conf-dist
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/archive-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/archive-admin.msg %D/etc/drweb-postfix/templates/en-pl/postfix/archive-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/archive-admin.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/archive-admin.msg-dist
+@exec [ -f %B/archive-admin.msg ] || cp %B/%f %B/archive-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/archive-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/archive-sender.msg %D/etc/drweb-postfix/templates/en-pl/postfix/archive-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/archive-sender.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/archive-sender.msg-dist
+@exec [ -f %B/archive-sender.msg ] || cp %B/%f %B/archive-sender.msg.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/cured-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/cured-admin.msg %D/etc/drweb-postfix/templates/en-pl/postfix/cured-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/cured-admin.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/cured-admin.msg-dist
+@exec [ -f %B/cured-admin.msg ] || cp %B/%f %B/cured-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/cured-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/cured-sender.msg %D/etc/drweb-postfix/templates/en-pl/postfix/cured-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/cured-sender.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/cured-sender.msg-dist
+@exec [ -f %B/cured-sender.msg ] || cp %B/%f %B/cured-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/error-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/error-admin.msg %D/etc/drweb-postfix/templates/en-pl/postfix/error-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/error-admin.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/error-admin.msg-dist
+@exec [ -f %B/error-admin.msg ] || cp %B/%f %B/error-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/error-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/error-sender.msg %D/etc/drweb-postfix/templates/en-pl/postfix/error-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/error-sender.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/error-sender.msg-dist
+@exec [ -f %B/error-sender.msg ] || cp %B/%f %B/error-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/license-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/license-admin.msg %D/etc/drweb-postfix/templates/en-pl/postfix/license-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/license-admin.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/license-admin.msg-dist
+@exec [ -f %B/license-admin.msg ] || cp %B/%f %B/license-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/rule-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/rule-admin.msg %D/etc/drweb-postfix/templates/en-pl/postfix/rule-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/rule-admin.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/rule-admin.msg-dist
+@exec [ -f %B/rule-admin.msg ] || cp %B/%f %B/rule-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/skip-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/skip-sender.msg %D/etc/drweb-postfix/templates/en-pl/postfix/skip-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/skip-sender.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/skip-sender.msg-dist
+@exec [ -f %B/skip-sender.msg ] || cp %B/%f %B/skip-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/virus-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/virus-admin.msg %D/etc/drweb-postfix/templates/en-pl/postfix/virus-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/virus-admin.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/virus-admin.msg-dist
+@exec [ -f %B/virus-admin.msg ] || cp %B/%f %B/virus-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/virus-rcpts.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/virus-rcpts.msg %D/etc/drweb-postfix/templates/en-pl/postfix/virus-rcpts.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/virus-rcpts.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/virus-rcpts.msg-dist
+@exec [ -f %B/virus-rcpts.msg ] || cp %B/%f %B/virus-rcpts.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-pl/postfix/virus-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-pl/postfix/virus-sender.msg %D/etc/drweb-postfix/templates/en-pl/postfix/virus-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-pl/postfix/virus-sender.msg; fi
+etc/drweb-postfix/templates/en-pl/postfix/virus-sender.msg-dist
+@exec [ -f %B/virus-sender.msg ] || cp %B/%f %B/virus-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/archive-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/archive-admin.msg %D/etc/drweb-postfix/templates/en-ru/postfix/archive-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/archive-admin.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/archive-admin.msg-dist
+@exec [ -f %B/archive-admin.msg ] || cp %B/%f %B/archive-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/archive-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/archive-sender.msg %D/etc/drweb-postfix/templates/en-ru/postfix/archive-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/archive-sender.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/archive-sender.msg-dist
+@exec [ -f %B/archive-sender.msg ] || cp %B/%f %B/archive-sender.msg.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/cured-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/cured-admin.msg %D/etc/drweb-postfix/templates/en-ru/postfix/cured-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/cured-admin.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/cured-admin.msg-dist
+@exec [ -f %B/cured-admin.msg ] || cp %B/%f %B/cured-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/cured-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/cured-sender.msg %D/etc/drweb-postfix/templates/en-ru/postfix/cured-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/cured-sender.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/cured-sender.msg-dist
+@exec [ -f %B/cured-sender.msg ] || cp %B/%f %B/cured-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/error-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/error-admin.msg %D/etc/drweb-postfix/templates/en-ru/postfix/error-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/error-admin.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/error-admin.msg-dist
+@exec [ -f %B/error-admin.msg ] || cp %B/%f %B/error-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/error-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/error-sender.msg %D/etc/drweb-postfix/templates/en-ru/postfix/error-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/error-sender.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/error-sender.msg-dist
+@exec [ -f %B/error-sender.msg ] || cp %B/%f %B/error-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/license-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/license-admin.msg %D/etc/drweb-postfix/templates/en-ru/postfix/license-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/license-admin.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/license-admin.msg-dist
+@exec [ -f %B/license-admin.msg ] || cp %B/%f %B/license-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/rule-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/rule-admin.msg %D/etc/drweb-postfix/templates/en-ru/postfix/rule-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/rule-admin.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/rule-admin.msg-dist
+@exec [ -f %B/rule-admin.msg ] || cp %B/%f %B/rule-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/skip-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/skip-sender.msg %D/etc/drweb-postfix/templates/en-ru/postfix/skip-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/skip-sender.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/skip-sender.msg-dist
+@exec [ -f %B/skip-sender.msg ] || cp %B/%f %B/skip-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/virus-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/virus-admin.msg %D/etc/drweb-postfix/templates/en-ru/postfix/virus-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/virus-admin.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/virus-admin.msg-dist
+@exec [ -f %B/virus-admin.msg ] || cp %B/%f %B/virus-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/virus-rcpts.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/virus-rcpts.msg %D/etc/drweb-postfix/templates/en-ru/postfix/virus-rcpts.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/virus-rcpts.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/virus-rcpts.msg-dist
+@exec [ -f %B/virus-rcpts.msg ] || cp %B/%f %B/virus-rcpts.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en-ru/postfix/virus-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en-ru/postfix/virus-sender.msg %D/etc/drweb-postfix/templates/en-ru/postfix/virus-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en-ru/postfix/virus-sender.msg; fi
+etc/drweb-postfix/templates/en-ru/postfix/virus-sender.msg-dist
+@exec [ -f %B/virus-sender.msg ] || cp %B/%f %B/virus-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/archive-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/archive-admin.msg %D/etc/drweb-postfix/templates/en/postfix/archive-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/archive-admin.msg; fi
+etc/drweb-postfix/templates/en/postfix/archive-admin.msg-dist
+@exec [ -f %B/archive-admin.msg ] || cp %B/%f %B/archive-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/archive-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/archive-sender.msg %D/etc/drweb-postfix/templates/en/postfix/archive-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/archive-sender.msg; fi
+etc/drweb-postfix/templates/en/postfix/archive-sender.msg-dist
+@exec [ -f %B/archive-sender.msg ] || cp %B/%f %B/archive-sender.msg.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/cured-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/cured-admin.msg %D/etc/drweb-postfix/templates/en/postfix/cured-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/cured-admin.msg; fi
+etc/drweb-postfix/templates/en/postfix/cured-admin.msg-dist
+@exec [ -f %B/cured-admin.msg ] || cp %B/%f %B/cured-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/cured-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/cured-sender.msg %D/etc/drweb-postfix/templates/en/postfix/cured-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/cured-sender.msg; fi
+etc/drweb-postfix/templates/en/postfix/cured-sender.msg-dist
+@exec [ -f %B/cured-sender.msg ] || cp %B/%f %B/cured-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/error-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/error-admin.msg %D/etc/drweb-postfix/templates/en/postfix/error-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/error-admin.msg; fi
+etc/drweb-postfix/templates/en/postfix/error-admin.msg-dist
+@exec [ -f %B/error-admin.msg ] || cp %B/%f %B/error-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/error-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/error-sender.msg %D/etc/drweb-postfix/templates/en/postfix/error-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/error-sender.msg; fi
+etc/drweb-postfix/templates/en/postfix/error-sender.msg-dist
+@exec [ -f %B/error-sender.msg ] || cp %B/%f %B/error-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/license-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/license-admin.msg %D/etc/drweb-postfix/templates/en/postfix/license-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/license-admin.msg; fi
+etc/drweb-postfix/templates/en/postfix/license-admin.msg-dist
+@exec [ -f %B/license-admin.msg ] || cp %B/%f %B/license-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/rule-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/rule-admin.msg %D/etc/drweb-postfix/templates/en/postfix/rule-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/rule-admin.msg; fi
+etc/drweb-postfix/templates/en/postfix/rule-admin.msg-dist
+@exec [ -f %B/rule-admin.msg ] || cp %B/%f %B/rule-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/skip-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/skip-sender.msg %D/etc/drweb-postfix/templates/en/postfix/skip-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/skip-sender.msg; fi
+etc/drweb-postfix/templates/en/postfix/skip-sender.msg-dist
+@exec [ -f %B/skip-sender.msg ] || cp %B/%f %B/skip-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/virus-admin.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/virus-admin.msg %D/etc/drweb-postfix/templates/en/postfix/virus-admin.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/virus-admin.msg; fi
+etc/drweb-postfix/templates/en/postfix/virus-admin.msg-dist
+@exec [ -f %B/virus-admin.msg ] || cp %B/%f %B/virus-admin.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/virus-rcpts.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/virus-rcpts.msg %D/etc/drweb-postfix/templates/en/postfix/virus-rcpts.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/virus-rcpts.msg; fi
+etc/drweb-postfix/templates/en/postfix/virus-rcpts.msg-dist
+@exec [ -f %B/virus-rcpts.msg ] || cp %B/%f %B/virus-rcpts.msg
+@unexec if [ -f %D/etc/drweb-postfix/templates/en/postfix/virus-sender.msg ] && cmp -s %D/etc/drweb-postfix/templates/en/postfix/virus-sender.msg %D/etc/drweb-postfix/templates/en/postfix/virus-sender.msg-dist; then rm -f %D/etc/drweb-postfix/templates/en/postfix/virus-sender.msg; fi
+etc/drweb-postfix/templates/en/postfix/virus-sender.msg-dist
+@exec [ -f %B/virus-sender.msg ] || cp %B/%f %B/virus-sender.msg
+@unexec if [ -f %D/etc/drweb-postfix/users.conf ] && cmp -s %D/etc/drweb-postfix/users.conf %D/etc/drweb-postfix/users.conf-dist; then rm -f %D/etc/drweb-postfix/users.conf; fi
+etc/drweb-postfix/users.conf-dist
@exec [ -f %B/users.conf ] || cp %B/%f %B/users.conf
-@unexec if [ -f %D/etc/drweb/viruses.conf ] && cmp -s %D/etc/drweb/viruses.conf %D/etc/drweb/viruses.conf-dist; then rm -f %D/etc/drweb/viruses.conf; fi
-etc/drweb/viruses.conf-dist
+@unexec if [ -f %D/etc/drweb-postfix/viruses.conf ] && cmp -s %D/etc/drweb-postfix/viruses.conf %D/etc/drweb-postfix/viruses.conf-dist; then rm -f %D/etc/drweb-postfix/viruses.conf; fi
+etc/drweb-postfix/viruses.conf-dist
@exec [ -f %B/viruses.conf ] || cp %B/%f %B/viruses.conf
-sbin/drweb-postfix
-sbin/drwebdc
-@dirrm etc/drweb/templates/en-ru/postfix
-@dirrm etc/drweb/templates/en-ru
-@dirrm etc/drweb/templates
-@dirrm etc/drweb
+etc/rc.d/01.drweb-postfix.sh-dist
+%%DOCSDIR%%/postfix/FAQ.rus.txt
+%%DOCSDIR%%/postfix/FAQ.txt
+%%DOCSDIR%%/postfix/addresses_list.rus.txt
+%%DOCSDIR%%/postfix/addresses_list.txt
+%%DOCSDIR%%/postfix/conf_file.rus.txt
+%%DOCSDIR%%/postfix/conf_file.txt
+%%DOCSDIR%%/postfix/notify.rus.txt
+%%DOCSDIR%%/postfix/notify.txt
+%%DOCSDIR%%/postfix/readme
+%%DOCSDIR%%/postfix/readme.rus
+%%DOCSDIR%%/postfix/users_list.rus.txt
+%%DOCSDIR%%/postfix/users_list.txt
+%%DOCSDIR%%/postfix/viruses_list.rus.txt
+%%DOCSDIR%%/postfix/viruses_list.txt
+@dirrm %%DOCSDIR%%/postfix
+@dirrm %%DOCSDIR%%
+@dirrm etc/drweb-postfix/templates/en/postfix
+@dirrm etc/drweb-postfix/templates/en-ru/postfix
+@dirrm etc/drweb-postfix/templates/en-ru
+@dirrm etc/drweb-postfix/templates/en-pl/postfix
+@dirrm etc/drweb-postfix/templates/en-pl
+@dirrm etc/drweb-postfix/templates/en-jp/postfix
+@dirrm etc/drweb-postfix/templates/en-jp
+@dirrm etc/drweb-postfix/templates/en
+@dirrm etc/drweb-postfix/templates
+@dirrm etc/drweb-postfix
+@dirrm drweb-postfix/run
+@dirrm drweb-postfix