* [gentoo-user] Postfix and Domainkeys
@ 2009-01-11 22:13 Jason Carson
2009-01-12 8:35 ` Eray Aslan
0 siblings, 1 reply; 8+ messages in thread
From: Jason Carson @ 2009-01-11 22:13 UTC (permalink / raw
To: gentoo-user
Greetings,
I am trying to setup postfix with domainkeys. I installed dk-milter and
ran the following as I was told to do after emerging it ...
emerge --config mail-filter/dk-milter
...which told me to do the following...
Configuring pkg...
Enter the selector name (default penguin): default
* The private key for this selector already exists.
* Make sure you add these parameters to your dk-filter command line:
* -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private -S
default
* If you are using Postfix, add following lines to your main.cf:
* smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
* non_smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
* After you configured your MTA, publish your key by adding this TXT
record to your domain:
* default._domainkey IN TXT "g=; k=rsa; t=y; o=~; p=keygoeshere"
* t=y signifies you only test the DK on your domain.
* See the DomainKeys specification for more info.
but I don't understand what this part mean...
* Make sure you add these parameters to your dk-filter command line:
* -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private -S
default
...Anyone know what to do?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Postfix and Domainkeys
2009-01-11 22:13 [gentoo-user] Postfix and Domainkeys Jason Carson
@ 2009-01-12 8:35 ` Eray Aslan
2009-01-12 15:33 ` Jason Carson
2009-01-14 4:24 ` Jason Carson
0 siblings, 2 replies; 8+ messages in thread
From: Eray Aslan @ 2009-01-12 8:35 UTC (permalink / raw
To: gentoo-user
On 12.01.2009 00:13, Jason Carson wrote:
> Greetings,
>
> I am trying to setup postfix with domainkeys. I installed dk-milter and
> ran the following as I was told to do after emerging it ...
DomainKeys is deprecated and is replaced by DKIM. You are much better
off using mail-filter/dkim-milter. If you are using amavisd-new with
your postfix, I suggest you use amavisd-new to check and sign your mail
and do not use milters at all.
[...]
> * After you configured your MTA, publish your key by adding this TXT
> record to your domain:
> * default._domainkey IN TXT "g=; k=rsa; t=y; o=~; p=keygoeshere"
>
> * t=y signifies you only test the DK on your domain.
> * See the DomainKeys specification for more info.
>
> but I don't understand what this part mean...
You need to publish your public key in your DNS server so that others
can check your signature.
> * Make sure you add these parameters to your dk-filter command line:
> * -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private -S
> default
>
> ...Anyone know what to do?
You need to read up on DKIM (or domainkeys if you want to go that way).
Links below should get you started:
http://www.dkim.org/
http://en.wikipedia.org/wiki/DomainKeys
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim
http://www.postfix.org/MILTER_README.html
--
Eray
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Postfix and Domainkeys
2009-01-12 8:35 ` Eray Aslan
@ 2009-01-12 15:33 ` Jason Carson
2009-01-12 20:24 ` Eray Aslan
2009-01-14 4:24 ` Jason Carson
1 sibling, 1 reply; 8+ messages in thread
From: Jason Carson @ 2009-01-12 15:33 UTC (permalink / raw
To: gentoo-user
> On 12.01.2009 00:13, Jason Carson wrote:
>> Greetings,
>>
>> I am trying to setup postfix with domainkeys. I installed dk-milter and
>> ran the following as I was told to do after emerging it ...
>
> DomainKeys is deprecated and is replaced by DKIM. You are much better
> off using mail-filter/dkim-milter. If you are using amavisd-new with
> your postfix, I suggest you use amavisd-new to check and sign your mail
> and do not use milters at all.
>
> [...]
>> * After you configured your MTA, publish your key by adding this TXT
>> record to your domain:
>> * default._domainkey IN TXT "g=; k=rsa; t=y; o=~; p=keygoeshere"
>>
>> * t=y signifies you only test the DK on your domain.
>> * See the DomainKeys specification for more info.
>>
>> but I don't understand what this part mean...
I don't understand what this part below means...
Make sure you add these parameters to your dk-filter command line:
-b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private
-S default
I tried the following two commands with no luck
dk-filter -b sv -d jasoncarson.ca -H -s
/etc/mail/dk-filter/default.private -S default
...and...
/etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s
/etc/mail/dk-filter/default.private -S default
...any other suggestions or am I doing something wrong?
> http://www.dkim.org/
> http://en.wikipedia.org/wiki/DomainKeys
> http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim
> http://www.postfix.org/MILTER_README.html
Thanks for the links, I will check them out.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Postfix and Domainkeys
2009-01-12 15:33 ` Jason Carson
@ 2009-01-12 20:24 ` Eray Aslan
2009-01-12 21:04 ` Jason Carson
0 siblings, 1 reply; 8+ messages in thread
From: Eray Aslan @ 2009-01-12 20:24 UTC (permalink / raw
To: gentoo-user
On 12.01.2009 17:33, Jason Carson wrote:
[...]
> I don't understand what this part below means...
>
> Make sure you add these parameters to your dk-filter command line:
> -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private
> -S default
>
> I tried the following two commands with no luck
>
> dk-filter -b sv -d jasoncarson.ca -H -s
> /etc/mail/dk-filter/default.private -S default
>
> ...and...
>
> /etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s
> /etc/mail/dk-filter/default.private -S default
>
> ...any other suggestions or am I doing something wrong?
It's been awhile but:
Make the necessary changes:
vi /etc/mail/dk-filter/dk-filter.conf
and start the milter:
/etc/init.d/dk-filter start
--
Eray
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Postfix and Domainkeys
2009-01-12 20:24 ` Eray Aslan
@ 2009-01-12 21:04 ` Jason Carson
2009-01-14 2:52 ` Jason Carson
0 siblings, 1 reply; 8+ messages in thread
From: Jason Carson @ 2009-01-12 21:04 UTC (permalink / raw
To: gentoo-user
> On 12.01.2009 17:33, Jason Carson wrote:
> [...]
>> I don't understand what this part below means...
>>
>> Make sure you add these parameters to your dk-filter command line:
>> -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private
>> -S default
>>
>> I tried the following two commands with no luck
>>
>> dk-filter -b sv -d jasoncarson.ca -H -s
>> /etc/mail/dk-filter/default.private -S default
>>
>> ...and...
>>
>> /etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s
>> /etc/mail/dk-filter/default.private -S default
>>
>> ...any other suggestions or am I doing something wrong?
>
> It's been awhile but:
>
> Make the necessary changes:
> vi /etc/mail/dk-filter/dk-filter.conf
>
> and start the milter:
> /etc/init.d/dk-filter start
>
> --
> Eray
ok, the file is /usr/portage/mail-filter/dk-milter/files/dk-filter.conf or
/etc/conf.d/dk-filter (they both look the same when you open them up)so I
modified /etc/conf.d/dk-filter and started the milter but Postfix still
isn't signing emails. The only two options I was told to add to the
postfix main.cf file was...
smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
non_smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Postfix and Domainkeys
2009-01-12 21:04 ` Jason Carson
@ 2009-01-14 2:52 ` Jason Carson
0 siblings, 0 replies; 8+ messages in thread
From: Jason Carson @ 2009-01-14 2:52 UTC (permalink / raw
To: gentoo-user
>> On 12.01.2009 17:33, Jason Carson wrote:
>> [...]
>>> I don't understand what this part below means...
>>>
>>> Make sure you add these parameters to your dk-filter command line:
>>> -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private
>>> -S default
>>>
>>> I tried the following two commands with no luck
>>>
>>> dk-filter -b sv -d jasoncarson.ca -H -s
>>> /etc/mail/dk-filter/default.private -S default
>>>
>>> ...and...
>>>
>>> /etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s
>>> /etc/mail/dk-filter/default.private -S default
>>>
>>> ...any other suggestions or am I doing something wrong?
>>
>> It's been awhile but:
>>
>> Make the necessary changes:
>> vi /etc/mail/dk-filter/dk-filter.conf
>>
>> and start the milter:
>> /etc/init.d/dk-filter start
>>
>> --
>> Eray
>
> ok, the file is /usr/portage/mail-filter/dk-milter/files/dk-filter.conf or
> /etc/conf.d/dk-filter (they both look the same when you open them up)so I
> modified /etc/conf.d/dk-filter and started the milter but Postfix still
> isn't signing emails. The only two options I was told to add to the
> postfix main.cf file was...
>
> smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
> non_smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
>
Here is what I have added to /etc/conf.d/dk-filter
ADDITIONAL_OPTS="-l -b sv -d jasoncarson.ca -H -s /etc/mail/dk-filter/jason.private -S jason \
-C badsignature=reject,dnserror=tempfail,internal=tempfail,nosignature=accept,signaturemissing=reject"
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...
"Domain-Key Status: NOT PASSED"
Anyone have any suggestions as to what I am doing wrong?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Postfix and Domainkeys
2009-01-12 8:35 ` Eray Aslan
2009-01-12 15:33 ` Jason Carson
@ 2009-01-14 4:24 ` Jason Carson
2009-01-15 6:34 ` Eray Aslan
1 sibling, 1 reply; 8+ messages in thread
From: Jason Carson @ 2009-01-14 4:24 UTC (permalink / raw
To: gentoo-user
> On 12.01.2009 00:13, Jason Carson wrote:
>> Greetings,
>>
>> I am trying to setup postfix with domainkeys. I installed dk-milter and
>> ran the following as I was told to do after emerging it ...
>
> DomainKeys is deprecated and is replaced by DKIM. You are much better
> off using mail-filter/dkim-milter. If you are using amavisd-new with
> your postfix, I suggest you use amavisd-new to check and sign your mail
> and do not use milters at all.
Can I use both dk-milter and dkim-milter simultaneously?
> [...]
>> * After you configured your MTA, publish your key by adding this TXT
>> record to your domain:
>> * default._domainkey IN TXT "g=; k=rsa; t=y; o=~; p=keygoeshere"
>>
>> * t=y signifies you only test the DK on your domain.
>> * See the DomainKeys specification for more info.
>>
>> but I don't understand what this part mean...
>
> You need to publish your public key in your DNS server so that others
> can check your signature.
>
>> * Make sure you add these parameters to your dk-filter command line:
>> * -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private -S
>> default
>>
>> ...Anyone know what to do?
>
> You need to read up on DKIM (or domainkeys if you want to go that way).
> Links below should get you started:
>
> http://www.dkim.org/
> http://en.wikipedia.org/wiki/DomainKeys
> http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim
> http://www.postfix.org/MILTER_README.html
>
> --
> Eray
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Postfix and Domainkeys
2009-01-14 4:24 ` Jason Carson
@ 2009-01-15 6:34 ` Eray Aslan
0 siblings, 0 replies; 8+ messages in thread
From: Eray Aslan @ 2009-01-15 6:34 UTC (permalink / raw
To: gentoo-user
On 14.01.2009 06:24, Jason Carson wrote:
>> On 12.01.2009 00:13, Jason Carson wrote:
>>> Greetings,
>>>
>>> I am trying to setup postfix with domainkeys. I installed dk-milter and
>>> ran the following as I was told to do after emerging it ...
>> DomainKeys is deprecated and is replaced by DKIM. You are much better
>> off using mail-filter/dkim-milter. If you are using amavisd-new with
>> your postfix, I suggest you use amavisd-new to check and sign your mail
>> and do not use milters at all.
>
> Can I use both dk-milter and dkim-milter simultaneously?
Yes you can use both simultaneously. First sign with domainkeys and
then with DKIM.
--
Eray
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-01-15 6:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-11 22:13 [gentoo-user] Postfix and Domainkeys Jason Carson
2009-01-12 8:35 ` Eray Aslan
2009-01-12 15:33 ` Jason Carson
2009-01-12 20:24 ` Eray Aslan
2009-01-12 21:04 ` Jason Carson
2009-01-14 2:52 ` Jason Carson
2009-01-14 4:24 ` Jason Carson
2009-01-15 6:34 ` Eray Aslan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox