Package: dkimproxy
Version: 1.0.1-8.1
Followup-For: Bug #493816

According to the RFC 4871 DomainKeys Identified Mail (DKIM) Signatures the "d=" 
tag must provide a domain name like 
example.org. 

The init script is calling 'hostname -d' instead of 'hostname -f' which in the 
above case will result in a "d=org" tag 
which is wrong.

A patch for the init script is attached.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dkimproxy depends on:
ii  adduser                       3.110      add and remove users and groups
ii  liberror-perl                 0.17-1     Perl module for error/exception ha
ii  libmail-dkim-perl             0.32-1     cryptographically identify the sen
ii  libnet-server-perl            0.97-1     An extensible, general perl server
ii  libtext-wrapper-perl          1.02-1     Simple word wrapping routine
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  openssl                       0.9.8g-15  Secure Socket Layer (SSL) binary a
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 

Versions of packages dkimproxy recommends:
pn  amavisd-new                   <none>     (no description available)

dkimproxy suggests no packages.

-- no debconf information
--- dkimproxy   2009-03-10 09:10:51.000000000 +0100
+++ dkimproxy.new       2009-03-10 09:11:41.000000000 +0100
@@ -30,7 +30,7 @@
 # Get the host domains dynamically. You can change this to the location where
 # you have your virtual table here, or best: ehance this script to support more
 # situations with packages others than DTC
-HOST_DOMAIN=`hostname -d`
+HOST_DOMAIN=`hostname -f`
 if [ -f /var/lib/dtc/etc/local_domains ] ; then
        DTC_DOMAIN=`cat /var/lib/dtc/etc/local_domains | tr \\\r\\\n ,,`
        DTC_DOMAIN=`echo ${DTC_DOMAIN} | grep -v ^${HOST_DOMAIN}`

Reply via email to