Questions tagged [dkim]

DomainKeys Identified Mail (DKIM) enables email senders to associate a domain name with a specific email by signing it with a digital signature, verifying that the email hasn't been tampered with in transit and that the sender is authorized to send email on behalf of the domain name owner.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Is it possible to configure dkim signing outgoing emails with msmtp?

Is it possible just install opendkim, generate keys, and specify some options for msmtp to automatically send dkim-signed email? My server (Ubuntu 20.04) uses msmtp-mta with following config. defaults ...
Ivan Doronin's user avatar
0 votes
0 answers
91 views

MS Exchange seems altering inbound email headers - which is then failing DKIM checks

I've recently been trying to implement DMARC for inbound email on our MS exchange server. We are currently using SpamAssassin in a Box to achieve this. Any SPF lookups seem to be working fine now, but ...
Danny.Ando's user avatar
0 votes
1 answer
47 views

Sending email from one domain through the mailbox on a partner domain

We have a domain hosting contract with IONOS (previously 1&1). A little background on the problem at hand. There are two domains, let's call them main.domain and alias.domain because the true ...
GµårÐïåñ's user avatar
0 votes
0 answers
207 views

MS Exchange breaking inbound email DKIM by altering/adding headers

I've recently been trying to implement DMARC for inbound email on our MS exchange server. We are currently using SpamAssassin in a Box to achieve this. Any SPF lookups seem to be working fine now, but ...
Danny.Ando's user avatar
2 votes
3 answers
7k views

GMail SMTP rejects email from my domain, claiming it is a "security risk" if I haven't authenticated

This evening I sent an email to a Cornell University address of someone, following a website interaction; I'd not written him before. I got this in reply from [email protected] (anonymized): &...
einpoklum's user avatar
  • 9,473
0 votes
1 answer
921 views

DKIM not detected when Thunderbird used

I have installed Postfix on my Ubuntu server and configured DKIM. I have tested DKIM on https://www.appmaildev.com/en/dkim and the results were good. However, I am confused as to why DKIM is only ...
Ikhsan MPHG's user avatar
0 votes
2 answers
3k views

How to find DKIM values again in Outlook 365 after enabling

I generated DKIM values for my domain in Defender/security.microsoft.com/dkimv2 but I closed the menu too soon and didn't copy the selector/value pair. I've looked everywhere but I can't find that ...
josh1978's user avatar
  • 103
1 vote
2 answers
2k views

Microsoft Exchange 365 not signing with DKIM anymore

I setup DKIM for my domains in MS Exchange 365 on-premise. It worked properly for a long time but recently I found out some of my mails are sent to the receivers spambox as my mails are no longer ...
Daniel W.'s user avatar
  • 1,982
0 votes
0 answers
2k views

Emails sent under an alias do not pass SPF/DKIM authentication checks (commercial provider, not home server)

For the past three month I have been attempting to migrate from one hosting company to another, and that includes mailboxes. Two hosting companies are active, the one I'm leaving, the one I recently ...
P. N.'s user avatar
  • 13
2 votes
2 answers
1k views

DKIM & SPF Allignment for Subdomains

We have a primary domain name example.com that has both adkim=s and aspf=s defined in its DMARC policy. Now, we have multiple subdomain names for this primary domain, such as postman.example.com. The ...
Granwille's user avatar
1 vote
0 answers
116 views

Webmin Emails In Trash SPF=none & DKIM=permerror

I have webmin installed on my server, along with virtualmin. While Virtualmin emails are correctly authenticated with configured SPF and DKIM settings.... All of my emails from webmin and/or root ...
mjones's user avatar
  • 307
1 vote
1 answer
3k views

Outgoing emails are not signing with DKIM

I have set up Postfix and OpenDKIM and I am trying to get outgoing emails signed by DKIM so that providers won't mark it as spam. However, even if I believe I set up the signing properly, none of the ...
user avatar
0 votes
1 answer
202 views

Validation for local DKIM signature fails after sending through msmtp

due to my mail provider's setup, I need to DKIM sign my messages locally. I do this by piping messages composed in mutt through a simple Python script to msmtp. These messages will fail a DKIM check ...
janeden's user avatar
  • 425
0 votes
1 answer
383 views

Some emails sent out of our ERP are not being received

A few of our customers have been reporting not receiving some of the emails sent from our ERP (NetSuite) and they are not even in their spam folder. It shows correctly being sent on our side. We have ...
Nick's user avatar
  • 103
1 vote
1 answer
67 views

Email: Protect spoofing from other users on same domain?

SPF and DKIM help to validate that an email was sent from the domain it claims to have been sent from. But what if a coworker spoofs another mailbox on the same domain, i.e. spoofing an email as ...
rosstex's user avatar
  • 113
4 votes
2 answers
2k views

opendkim not working - opendkim-genkey: openssl exited with status %d

opendkim-genkey: openssl exited with status %d This is the error I get when trying to create a DKIM key. My emails are working for gmail fine but failing when sent to hotmail / outlook. I am hoping ...
cuznerdexter's user avatar
0 votes
1 answer
198 views

DKIM section shows verified and enabled in AWS SES console but spam checker tool shows Your message is not signed with DKIM

I am using AWS SES to send emails. My domain is verified. So any sender email under this domain should be allowed. DKIM section shows it's enabled and verified. I have added _amazonses TXT record in ...
Al Amin's user avatar
0 votes
1 answer
1k views

DKIM Email record

I have added a DKIM record to my websites DNS via my control panel. When I send an email from Thunderbird and test the signature, the SPF and DMARC show fine They do not seem to find a DKIM record ...
SupGen's user avatar
  • 193
0 votes
1 answer
173 views

How is connected Envelop From and Mail From mail header?

I was looking into mail header of a newsletter message sent by my company. I cannot understand how an external server (newsletter provider) can send message with them as envelop from but with my ...
Tobia's user avatar
  • 2,281
1 vote
1 answer
1k views

Using dovecot for submission, how to configure dkim?

All the tutorials that I've found regarding this issue always focus on postfix. But I'm using dovecot as the submission server. I'm under the impression that it does not use postfix to send emails. So ...
Christopher Thomas's user avatar
1 vote
0 answers
30 views

Emails not getting delivered to users in China

I’m facing a strange issue with a codeigniter application which sends emails to registered users. The issues is that most Chinese users are not receiving emails which were sent from the application. ...
Gijo Joseph's user avatar
0 votes
1 answer
668 views

Gmail softbounced forwarded messages with DMARC

-2 I have a system with spam/virus scanner (EFA) in front of a mailserver. On the mailserver mails coming from a sender with DMARC and forwarded to external emails like Gmail do Softbounce. I ...
R.Berger's user avatar
1 vote
1 answer
488 views

How do I troubleshoot DKIM?

I installed DKIM according to this guide: https://www.linuxtechi.com/configure-domainkeys-with-postfix-on-centos-7/ It signs the messages, but Google is still rejecting the mail. Jan 21 02:51:26 ...
Chloe's user avatar
  • 5,976
2 votes
0 answers
125 views

DMARC report shows DKIM alignment 0%

Our DMARC reports show one of our relays has 0% DKIM alignment: The header on a typical email from that address shows it passing SPF and DMARC, and includes Google's DKIM signature, but doesn't ...
Andrew Penner's user avatar
1 vote
1 answer
1k views

dkim fail: public key doen't seems to be valid

I created a public/private rsa key pair with Puttygen. I added the following record to dns but dkim fails. It seems there is some problems with my public key. I checked it with https://dkimcore.org/c/...
holap's user avatar
  • 133
0 votes
1 answer
620 views

How can I set up a DKIM DNS Record?

I currently run a website, hosted on a VPS. The software is Plesk. I have already setup an SPF Record and a DMARC Record, via the DNS Settings. I am a little stuck on how to set up a DKIM Record. ...
Craig's user avatar
  • 219
2 votes
1 answer
2k views

Why my emails go to junk folder?

I registered a new .xyz domain name a few days ago. The domain name was never registered by others before. I set up a postfix server on a clean ip(checked its reputation). I set up SPF, DKIM, and ...
peter's user avatar
  • 393
1 vote
1 answer
129 views

Emails delivered to spam despite spf/dkim/dmark correct

I'm having an issue with the system-generated emails from my web server being delivered to spam folder or filtered out completely by spam filters. I am referring, for example, to a registration email ...
Aleks G's user avatar
  • 472
2 votes
1 answer
2k views

postfix connection to opendkim refused

I'm trying to send mail from my ubuntu (17.04) server to gmail, hotmail but the email is going to spam folder. I've checked /var/log/mail.log and I found out that there is a warning about opendkim ...
Nadav Shabtai's user avatar
1 vote
0 answers
57 views

DNS, verify domain DKIM

I have 3 domains: example.com, example2.com and s1.example.com These 3 domains have their own servers When I sending mails any of them DKIM, SPF and DMARC are PASS but when I send mail form s1....
Giorgi Nadiradze's user avatar
0 votes
0 answers
142 views

bsd-mailx doesn't add From header which fails with libopendkim

We are using Plesk Onyx 17.0.17 with Postfix on a Debian Jessie server and have activated DKIM via Plesk. When I try to send a mail as root from the shell, this leads to the following error in maillog:...
Larsen's user avatar
  • 182
0 votes
0 answers
199 views

In DMARC report other IPs than mine fail check, but disposition is always "none"

I have trouble to understand the DMARC reports I receive. In all reports, I get some IPs that are not mine sending a couple of emails, fine, their checks (SPF or DKIM) always fail, but still the ...
sebpiq's user avatar
  • 163
0 votes
1 answer
62 views

Is there any technical limitation while working with SPF record?

Can I add more than one data center's IP subnet to my existing SPF records or is there some limitation with SPF in any case? below is the sample SPF, this is not correct when you verify but this is ...
Pankaj Kumar's user avatar
1 vote
0 answers
559 views

Debug DKIM in email

A friend is sending me emails through a mailing list, and my IAP always flag those emails and prepend a <DKIM> tag in the subject. Some tools indeed indicate the DKIM signature of the email is ...
Cyril Duchon-Doris's user avatar
0 votes
0 answers
230 views

Emails being spoofed? Constantly blacklisted

Please point me in the right direction if this isn't the best place to ask this but I manage a linux based (centos) server using Plesk. We were subject to a spam attack a couple of months ago where ...
AspiringProgrammer's user avatar
1 vote
1 answer
423 views

DKIM and Reverse Dns with sub-domain of onmicrosoft.com

When you sign up with Outlook 365 you get allocated a sub-domain like contoso.onmicrosoft.com. If you send an email from [email protected] should it not automatically be signed with DKIM or ...
sgmoore's user avatar
  • 6,479
2 votes
0 answers
2k views

MS Exchange breaks DKIM during mail redirect

(due to issue with SO spam filter some names were replaced) Background: we have a small server (about 50 users, referenced as metalab.ifmoru in logs below), we allow to do a redirect to external ...
kostyfisik's user avatar
1 vote
2 answers
141 views

Can spammers use DKIM to check if my mail is active?

I installed DKIM Verifier plug-in in my Thunderbird mail client, just to see how this DKIM technology works. I don't really understand details of that technology, but it seems to check the signature ...
Andrei's user avatar
  • 185
5 votes
2 answers
5k views

Using a 410 character DKIM TXT record on namecheap

Update: It has been confirmed with Namecheap that their DNS is incompatible with Google Apps for Domains DKIM keys https://twitter.com/Namecheap/status/720940172196581376 There is no ETA on when or ...
gman's user avatar
  • 5,293
0 votes
2 answers
849 views

Google Apps Mail & Remote webserver: Email goes to spam even with DKIM & SPF

I believe my situation is extremely common. I have a site with the following setup. Registrar is Network Solutions. The DNS points to the webserver on Host Gator and the Email hosted on Google apps. ...
AceoStar's user avatar
0 votes
0 answers
118 views

Google Apps - Unable to receive emails on same domain despite SPF and DKIM confirmed

We're developing a site that will be sending emails from [email protected] (this email account doesn't exist) to [email protected]. domain.com has emails served via Google Apps; the MX, SPF and DKIM ...
Andy Holmes's user avatar
6 votes
2 answers
3k views

Configure Postfix to reject mails with invalid DKIM signature

I have configured Postfix to sign my mails using OpenDKIM. (I followed this tutorial.) Now I would like to configure Postfix to reject mails for domains that have DKIM configured and the mail lacks a ...
Gene Vincent's user avatar
3 votes
4 answers
5k views

Linux tool to check DKIM-signed emails [closed]

I receive a lot of email signed with DKIM. Usually I am not interested in checking that the signature is valid, but every now and then I would like to. Is there any tool to which I can feed the email ...
Giovanni Mascellani's user avatar
3 votes
1 answer
529 views

Who should sign mail with Dkim?

I have an exchange server configured to use an external smarthost to send email. If I want to complete my messages with DKIM signature should it set to my Exchage server o may I ask to my provider (...
Tobia's user avatar
  • 2,281
1 vote
1 answer
107 views

My new DKIM is in another format than I expected?

I am about to register a DKIM for a new domain. However, that format differs form what I expect. cPanel is giving me this: default._domainkey IN TXT "v=DKIM1; k=rsa; p=...
user2806026's user avatar
2 votes
3 answers
951 views

How to add raw dkim record

I need to add my DKIM record as a text entry to my DNS. I have succeeded doing this for one domain already - cPanel gave me an entry like this: default._domainkey IN TXT "v=DKIM1; k=rsa; p=[lots of ...
user2806026's user avatar
0 votes
1 answer
2k views

How do I block exim from sending spam?

My exim 4 is sending spam from a [email protected] address. How is this possible and how do I allow only www-data@localhost to send and to only deliver from [email protected] to myname@gmail....
emenike's user avatar
2 votes
0 answers
566 views

Enable DKIM header in sent emails Exim or CPanel

I have enabled DKIM in WHM/CPanel/exim. DNS has valid DKIM keys for "default" selector. Everything seems ok. I downloaded email from gmail and looked in header and it misses DKIM header. /var/cpanel/...
Max's user avatar
  • 259
0 votes
1 answer
1k views

How to configure SPF and DKIM to prevent mail going to spam folder

x-store-info:4r51+eLowCe79NzwdU2kR0zqpsRfiBoycNOl1Rdc4Wf7430jtHWQcYIrKJBAYArutl6yTQ5VQNWAmHikfoeKC6OfxZYs5RQXt5EONp5Fb+tgLbPo7J+jhd2D/FrCdQyzXUlVTtfPnBo= Authentication-Results: hotmail.com; spf=...
neeko's user avatar
  • 103
1 vote
0 answers
335 views

Setting up DKIM for Additional Domains on Google Apps to remove "via" message on Gmail

I have a Google Apps account on primary.com. Recently I added secondary.com as an additional domain to primary.com's Google Apps account. I then added an address @secondary.com to my account @primary....
H G's user avatar
  • 11