How To Stop Auto Generator DKIM Key Or Hostname
Hello Postal Team,
How Can I stop automatic dkim generator key or hostname.
I need to stop this automatic generator.
So Please help me on my Query.
Best Regards,
Zeba
I'm not sure you can or should, Postal should still be signing the emails with it so needs this information.
You may be able to set it to what you want in the database if you already have something you want but I'm not sure how well that would work.
Hello @willpower232
I have to try pass dns records on default domain or existing domain in postal.
If the sender send mail with existing domain so the dns records pass on the existing domain.
If the sender send mail without existing domain then the dns records pass with default domain.
check this i have edit in this file
https://github.com/postalhq/postal/blob/master/lib/postal/smtp_server/client.rb line no. 394

I have try this but when the sender send mail with existing domain so the dns records doesn't pass on the existing domain.
Or when the sender send mail without existing or not existing domain then the dns records pass with default domain.
Thank You
I'm not completely familiar with the process but the DKIM functionality relies on a private key amongst other things.
You can access this private key in your postal database if you connect directly to it with a program such as heidisql.
Can you explain what you're trying to accomplish and why? The DKIM record generated by Postal uses a separate identifier so should not interfere with anything already existing.
Hello @willpower232
Because i want to send mail without existing or existing domain in Postal but the dns records pass on both of condition same, that's why i want to try this.
Postal has to know at least one domain to allow you to send from it but you can make use of the Sender header to allow you to send from other domains, have a look at https://github.com/postalhq/postal/issues/277#issuecomment-316034829
Hello @willpower232 ,
https://github.com/postalhq/postal/issues/277#issuecomment-316034829
i have do this but its not according to my need.
1st Point
I want do this:-


If the domain is not fetching the dkim is pass on Default Domain

2nd Point
Whenever we delete the domain, the SPF and other records are not changed, only the dkim key changed. so i want to fixed the dkim value for every domain.
So that the dkim value is always fixed and whenever I add the domain then all the records become active.
If It is Possible any so please help me on this.
Thank You
I think I understand, if you remove the additional domain from your Postal and send using it anyway, which DKIM domain does it use?
No I want send both condition if we have add additional domain or remove domain from postal.
Then I probably don't understand what you're doing sorry
Whenever we delete the domain, the SPF and other records are not changed, only the dkim key changed. so i want to fixed the dkim value for every domain.
So that the dkim value is always fixed and whenever I add the domain then all the records become active.
If It is Possible.
Hi @willpower232,
My issue are same as describe in this case,
I just want that i have one dkim key which are applied all my server domain in the postal.
In theory you can update the database manually so that the DKIM private key is the same for your domains which I believe would make the values match.
Thanks for reply @willpower232
i already change private key according to #616 But when i send a mail using postal to my gmail account, the dkim are not finding key https://prnt.sc/q8s0od
after that i can check dkim status in domain setting in postal... it's show varified...https://prnt.sc/q8s2m6
and also i generate dkim key using online tools,