Hi Fatih,
Just got done testing. Here's what I did for domains (non-global).
1) # dknewkey /var/qmail/control/dkim/otherdomain.com.key >
/var/qmail/control/dkim/otherdomain.com.txt
2) # perl -pi -e 's/.key._domainkey//'
/var/qmail/control/dkim/otherdomain.com.txt
3) # cat /var/qmail/control/dkim/otherdomain.com.txt
otherdomain.com IN TXT "k=rsa;
p=******************************"
4) # vi /var/qmail/control/dkim/signconf.xml
Add:
<otherdomain.com domain="otherdomain.com"
keyfile="/var/qmail/control/dkim/otherdomain.com.key"
selector="otherdomain.com">
<types id="dkim" />
<types id="domainkey" method="nofws" />
</otherdomain.com>
So file looks like this:
<dkimsign>
<!-- per default sign all mails using dkim -->
<global algorithm="rsa-sha1" domain="/var/qmail/control/me"
keyfile="/var/qmail/control/dkim/global.key" method="simple"
selector="dkim1">
<types id="dkim" />
</global>
<otherdomain.com domain="otherdomain.com"
keyfile="/var/qmail/control/dkim/otherdomain.com.key"
selector="otherdomain.com">
<types id="dkim" />
<types id="domainkey" method="nofws" />
</otherdomain.com>
</dkimsign>
This worked for me.
Eric
On 12/14/2017 8:34 AM, Eric Broch wrote:
Yes, this option is available, though I've never done it (but should
take this as an opportunity to learn), by configuring your domain in
the signconf.xml file.
I'll take a look at this. If you get it figured out before me, please
post.
On 12/14/2017 2:55 AM, jin&hitman&Barracuda wrote:
Thank you Eric
Before i go further on that guide, let me ask that can i use this
solution to sign different domains ?
On 13 Dec 2017 11:27 p.m., "Eric Broch" <ebr...@whitehorsetc.com
<mailto:ebr...@whitehorsetc.com>> wrote:
Fatih,
DKIM: https://github.com/qmtoaster/dkim/blob/master/README.md
<https://github.com/qmtoaster/dkim/blob/master/README.md>
On 12/13/2017 1:07 PM, jin&hitman&Barracuda wrote:
Hi
I would like to enable dkim on our qmail server. It just serves
up te domain and i found a article how to achieve that. The
article i followed is publishing on :
"http://wiki.qmailtoaster.com/index.php/Domainkeys
<http://wiki.qmailtoaster.com/index.php/Domainkeys>"
My toaster works on CentOS6.8 and build number is 1.03-1.3.20.x86_64
I track down that article and trying to sign only outgoing
mails. I just realize that there are many different ways to
setup dkim support on qmail. Like replacing qmail-remote
executable file with scripted ones.
Can i ask that this wiki article is still usable on nowadays ?
When i finish my setup, i sent some mails and there was no dkim
signature.
How can i go further ?
Fatih
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)
--
Eric Broch
White Horse Technical Consulting (WHTC)