Package: clamsmtp Version: 1.10-1 Severity: minor Tags: patch Hi,
When attempting to use the ScanHeader option as defined in /etc/clamsmtpd.conf (initially commented), clamsmtpd returns the following upon restart: # invoke-rc.d clamsmtp restart Restarting virus filtering SMTP proxy: clamsmtpdclamsmtpd: please use "Header" option instead of "ScanHeader" clamsmtpd: invalid config line: ScanHeader ClamSMTP is not started. Renaming the option to Header as indicated allows the daemon to start. This setting is described in clamsmtpd.conf(5) and is present in upstream's sample configuration file. Please consider adjusting the ClamSMTP configuration file supplied by the package accordingly. Geoff -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.31-trunk-686 (SMP w/1 CPU core) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages clamsmtp depends on: ii adduser 3.111 add and remove users and groups ii clamav-daemon 0.95.2+dfsg-4 anti-virus utility for Unix - scan ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii dpkg 1.15.4.1 Debian package management system ii libc6 2.10.1-2 GNU C Library: Shared libraries Versions of packages clamsmtp recommends: ii exim4-daemon-light [mail-tran 4.69-11+b1 lightweight Exim MTA (v4) daemon clamsmtp suggests no packages. -- debconf information: clamsmtp/do-fixperms: true * clamsmtp/purge: yes clamsmtp/addusergroup: no
diff -u clamsmtp-1.10/debian/clamsmtpd.conf clamsmtp-1.10/debian/clamsmtpd.conf --- clamsmtp-1.10/debian/clamsmtpd.conf +++ clamsmtp-1.10/debian/clamsmtpd.conf @@ -24,7 +24,7 @@ ClamAddress: /var/run/clamav/clamd.ctl # A header to add to all scanned email -#ScanHeader: X-AV-Checked: ClamAV using ClamSMTP +#Header: X-AV-Checked: ClamAV using ClamSMTP # Directory for temporary files TempDirectory: /var/spool/clamsmtp