DKIM - stream is not in valid format

Skip to first unread message


Aug 2, 2019, 10:30:35 PM8/2/19

I think I have setup DKIM correctly with the public key published to DNS for as well as the private key in the ArgoSoft mail server GUI under DKIM-outgoing.  I have the selector 55555 entered.  When I click the 'Test Keys' I get 'Stream is not in valid format'.  Anything I can try to get this working?

I validated the DKIM DNS entry for with selector 55555 at

Thank you very much for your support.


Aug 17, 2019, 3:18:11 PM8/17/19
to ArGoSoft Products
What does 'Stream is not in valid format' mean?  I want to get DKIM working.  Thanks.

ArGoSoft Products

Aug 20, 2019, 9:48:00 AM8/20/19
to ArGoSoft Products
So, it happens only when doing test?

Possibly, I am missing something there, the feature is relatively new.  Can you try to regenerate new key pair and try again?  Possibly, there is some extra space or extra character somewhere.


Aug 23, 2019, 12:15:27 PM8/23/19
to ArGoSoft Products
Got it.  DKIM works now.  I had copied a wrong key-pair (from a certificate).  Here is how I generated the working DKIM key-pair...

openssl genrsa -out private.key 1024
openssl rsa -in private.key -pubout -out public.key

I may switch 2048 or higher, but my DNS host requires breaking up into multiple records.

Now I have DMARC working also.

Thanks again.
Reply all
Reply to author
0 new messages