Gentoo Archives: gentoo-user

From: Jason Carson <jason@×××××××××××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Postfix and Domainkeys
Date: Wed, 14 Jan 2009 02:52:22
Message-Id: c959029a525b69d98c8a084f1f16b7e5.squirrel@jasoncarson.ca
In Reply to: Re: [gentoo-user] Postfix and Domainkeys by Jason Carson
1 >> On 12.01.2009 17:33, Jason Carson wrote:
2 >> [...]
3 >>> I don't understand what this part below means...
4 >>>
5 >>> Make sure you add these parameters to your dk-filter command line:
6 >>> -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private
7 >>> -S default
8 >>>
9 >>> I tried the following two commands with no luck
10 >>>
11 >>> dk-filter -b sv -d jasoncarson.ca -H -s
12 >>> /etc/mail/dk-filter/default.private -S default
13 >>>
14 >>> ...and...
15 >>>
16 >>> /etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s
17 >>> /etc/mail/dk-filter/default.private -S default
18 >>>
19 >>> ...any other suggestions or am I doing something wrong?
20 >>
21 >> It's been awhile but:
22 >>
23 >> Make the necessary changes:
24 >> vi /etc/mail/dk-filter/dk-filter.conf
25 >>
26 >> and start the milter:
27 >> /etc/init.d/dk-filter start
28 >>
29 >> --
30 >> Eray
31 >
32 > ok, the file is /usr/portage/mail-filter/dk-milter/files/dk-filter.conf or
33 > /etc/conf.d/dk-filter (they both look the same when you open them up)so I
34 > modified /etc/conf.d/dk-filter and started the milter but Postfix still
35 > isn't signing emails. The only two options I was told to add to the
36 > postfix main.cf file was...
37 >
38 > smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
39 > non_smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
40 >
41
42 Here is what I have added to /etc/conf.d/dk-filter
43
44 ADDITIONAL_OPTS="-l -b sv -d jasoncarson.ca -H -s /etc/mail/dk-filter/jason.private -S jason \
45 -C badsignature=reject,dnserror=tempfail,internal=tempfail,nosignature=accept,signaturemissing=reject"
46
47 The emails are now being signed with a domainkey but when I run a test here http://www.mailradar.com/domainkeys/ it comes back as...
48
49 "Domain-Key Status: NOT PASSED"
50
51 Anyone have any suggestions as to what I am doing wrong?