clamav: milter: Add Debug option
authorPaul Donald <newtwen+github@gmail.com>
Tue, 8 Oct 2024 20:59:56 +0000 (22:59 +0200)
committerRosen Penev <rosenp@gmail.com>
Sun, 27 Oct 2024 22:59:04 +0000 (15:59 -0700)
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
net/clamav/files/clamav-milter.config
net/clamav/files/clamav-milter.init

index 7db1bf2643736c893eafee75510aa1b47281cdeb..9729db8ce06efb684fd16a7bb5527c62f17d839b 100644 (file)
@@ -12,6 +12,7 @@ config clamav-milter 'clamav_milter'
        option LogVerbose 'true'
        option LogTime 'true'
        option LogSyslog 'true'
+       option Debug 'false'
        option LogFacility 'LOG_LOCAL6'
        option LogInfected 'Full'
        option LogClean 'Basic'
index 4b0a94a504207994c2026dbfa0e12a82d310e72f..603e2a1af53e18fdd9f9994a0aa048be049cafa1 100644 (file)
@@ -23,6 +23,7 @@ validate_clamav_milter_section() {
                'LogVerbose:string' \
                'LogTime:string' \
                'LogSyslog:string' \
+               'Debug:string' \
                'LogFacility:string' \
                'LogInfected:string' \
                'LogClean:string' \
@@ -62,6 +63,7 @@ start_clamav_milter_instance() {
        echo "LogVerbose " "$LogVerbose"
        echo "LogTime " "$LogTime"
        echo "LogSyslog " "$LogSyslog"
+       echo "Debug " "$Debug"
        echo "LogFacility " "$LogFacility"
        echo "LogInfected " "$LogInfected"
        echo "LogClean " "$LogClean"