Koozali.org: home of the SME Server

Problem with qmail

Offline wolferine

  • *
  • 7
  • +0/-0
Problem with qmail
« on: May 22, 2014, 05:17:29 PM »
Hello everybody,

I'm having a problem with my qmail server. I'm trying to turn on my DomainKeys but I't shows bad signature everytime.

I did the DKIM like is shown on wiki contribs, but I dont know how to get my DomainKeys working at all.

I need it because all my emails go to spam box cause they aren't signed.

I have been looking for some information but I dont get any clear information.

If somebody could help me I'll be gratefull

Thanks to all.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem with qmail
« Reply #1 on: May 22, 2014, 07:52:28 PM »
I don't think your problem has anything to do with qmail, which knows nothing about DKIM or DomainKeys. Perhaps you mean qpsmtpd.

Quote
I did the DKIM like is shown on wiki contrib...

Perhaps you should be more specific about what you did, what you are seeing, and what you expect to see.

http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html#step3

Offline wolferine

  • *
  • 7
  • +0/-0
Re: Problem with qmail
« Reply #2 on: May 22, 2014, 08:16:08 PM »
I followed those steps but isn't enough.

http://wiki.contribs.org/Email#Domain_Authentication


Offline wolferine

  • *
  • 7
  • +0/-0
Re: Problem with qmail
« Reply #4 on: May 22, 2014, 10:10:11 PM »
Yes I saw It but I though it isnt for my problem.

I checked sending an email and it shows this:

Quote
==========================================================
Summary of Results
==========================================================
SPF check:          pass
DomainKeys check:   fail
DKIM check:         pass
Sender-ID check:    pass
SpamAssassin check: ham

----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result:         fail (bad signature)

So, seeing the report, do you still thinking that I need this patch to solve my problem?

Could you explain me how to use this patch exactly?

Thanks a lot.
« Last Edit: May 22, 2014, 10:20:51 PM by wolferine »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem with DKIM
« Reply #5 on: May 22, 2014, 10:32:03 PM »
So, seeing the report, do you still thinking that I need this patch to solve my problem?

I would guess so, but I haven't never tried to set up DKIM and don't care enough to try to find out at present.

Quote
Could you explain me how to use this patch exactly?

No.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Problem with qmail
« Reply #6 on: May 22, 2014, 11:55:55 PM »
wolferine

Quote
I followed those steps but isn't enough.
http://wiki.contribs.org/Email#Domain_Authentication

Did you get your ISP to change your DNS zone records, or change them yourself if you have access to them ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline wolferine

  • *
  • 7
  • +0/-0
Re: Problem with qmail
« Reply #7 on: May 23, 2014, 02:52:16 PM »
I would guess so, but I haven't never tried to set up DKIM and don't care enough to try to find out at present.

No.

Ok, thanks anyways.

http://markmail.org/download.xqy?id=pnpkjovxlizmcwar&number=1

Reading this information from patch I read this:
Quote
Whether to do DKIM or DomainKeys signing.  Currently only DKIM is supported

It means only DKIM is supported before patching or with patch applied?

wolferine

Did you get your ISP to change your DNS zone records, or change them yourself if you have access to them ?

Don't know what you exactly meant with this, my server ISP is fine with a proper RDNS defined.  And DNS records on my domain name are tested and working fine.

Just a last question for all, specially CharlieBrady. Isn't necessary DomainKeys to avoid that my sent mails goes to spam box? I'm just frustrated with this.

Thanks to you for your attention.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Problem with qmail
« Reply #8 on: May 23, 2014, 03:02:42 PM »
There's nothing to patch. DKIM and DomainKey both work nearly out of the box once you follow this: http://wiki.contribs.org/Email#Domain_Authentication

But you also need to publish your public key in your DNS for others to be able to verify your signature. Something like:

Code: [Select]
default._domainkey 10800 IN TXT "v=DKIM1;k=rsa;p=<your public key here in one single line>"
_domainkey 10800 IN TXT "o=~;r=postmaster@firewall-services.com"

This must be done on the public DNS server managing your zone (not your internal DNS hosted on your SME Server)
C'est la fin du monde !!! :lol:

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem with qmail
« Reply #9 on: May 23, 2014, 06:22:41 PM »
Isn't necessary DomainKeys to avoid that my sent mails goes to spam box?

No, it's not necessary.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Problem with qmail
« Reply #10 on: May 23, 2014, 09:31:29 PM »
wolferine

Quote
Don't know what you exactly meant with this, my server ISP is fine with a proper RDNS defined.  And DNS records on my domain name are tested and working fine.

Daniel B's answer is what I mean. Ask your ISP or whoever is in charge of your external DNS zone records eg your Registrar or Domain name host
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.