Date: Sun, 3 Jul 2005 22:35:17 +0700 (NOVST) From: Dmitry A Grigorovich <odip@bionet.nsc.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/82930: [patch] invalid default config security/drweb-postfix Message-ID: <20050703153517.6230F5565@hydra.bionet.nsc.ru> Resent-Message-ID: <200507031540.j63FeQHT064977@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82930 >Category: ports >Synopsis: [patch] invalid default config security/drweb-postfix >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jul 03 15:40:25 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmitry A Grigorovich >Release: FreeBSD manticore.bionet.nsc.ru 5.4-RELEASE-p2 >Organization: ICiG SB RAS, Russia >Environment: FreeBSD manticore.bionet.nsc.ru 5.4-RELEASE-p2 >Description: Port security/drweb-postfix have invalid default drweb_postfix.conf >How-To-Repeat: Install security/drweb Install security/drweb-postfix Try to test: root@manticore# /usr/local/drweb-postfix/drweb-postfix --conf=/usr/local/etc/drweb-postfix/drweb_postfix.conf --check_only --check_user=drweb dwlib: conf: configuration will be loaded from /usr/local/etc/drweb-postfix/drweb_postfix.conf dwlib: read_conf(/usr/local/etc/drweb-postfix/drweb_postfix.conf): successfully loaded dwlib: check_conf: quarantine test - started dwlib: check_scan: daemon return 0x20 code (known virus is found) dwlib: check_conf: quarantine test - passed dwlib: check_file: cannot open %CONFIDR%/templates/en-ru/postfix/archive-admin.msg - (2) No such file or directory dwlib: check_conf: test for administrator template in archive restriction case - failed >Fix: Apply follow patch Reinstall security/drweb-postfix Try to test: root@manticore# /usr/local/drweb-postfix/drweb-postfix --conf=/usr/local/etc/drweb-postfix/drweb_postfix.conf --check_only --check_user=drweb dwlib: conf: configuration will be loaded from /usr/local/etc/drweb-postfix/drweb_postfix.conf dwlib: read_conf(/usr/local/etc/drweb-postfix/drweb_postfix.conf): successfully loaded dwlib: check_conf: quarantine test - started dwlib: check_scan: daemon return 0x20 code (known virus is found) dwlib: check_conf: quarantine test - passed dwlib: check_conf: mail submit test - started dwlib: check_conf: mail submit test - passed --- patch-drweb begins here --- diff -ur drweb-postfix/files/patch-aa drweb-postfix.new/files/patch-aa --- drweb-postfix/files/patch-aa Thu Feb 10 22:05:53 2005 +++ drweb-postfix.new/files/patch-aa Sun Jul 3 22:26:40 2005 @@ -68,7 +68,7 @@ -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 ++AdminTemplate = %CONFDIR%/templates/en-ru/postfix/archive-admin.msg RcptsTemplate = [ErrorNotifications] --- patch-drweb ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050703153517.6230F5565>