Questions tagged [dkim]

Questions about DomainKeys Identified Mail (DKIM)

DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message. The association is set up by means of a digital signature which can be validated by recipients. Responsibility is claimed by a signer —independently of the message's actual authors or recipients— by adding a DKIM-Signature: field to the message's header. The verifier recovers the signer's public key using the DNS, and then verifies that the signature matches the actual message's content.

A DKIM signature can cover other fields of a message's header, such as the From: and Subject: fields, and the message body (or its initial part). The DKIM-Signature field itself is always implicitly covered, and, besides the signature proper, contains other data identified by tags, such as the domain name, the list of covered fields, the signing algorithm, and the method by which text snippets are simplified for signing purposes (canonicalization). Thus, the strength of a DKIM-Signature can be tuned so as to allow those message modifications that are considered "normal". Note that DKIM is not designed to provide end-to-end integrity.

Prominent email service providers implementing DKIM include Yahoo, Gmail, and FastMail.FM. Any mail from these organizations should carry a DKIM signature.

bib ref : From Wikipedia, the free encyclopedia

17 questions
25
votes
3 answers

Using DKIM in my server for multiple domains (websites)

I've read the tutorial posted by MountainX (Setup DKIM (DomainKeys) for Ubuntu, Postfix and Mailman), but I can't figure out how to apply these steps if I want to host and send e-mails for several domains. Does anybody have a clue?
Diego
  • 743
  • 1
  • 6
  • 11
23
votes
3 answers

Setup DKIM (DomainKeys) for Ubuntu, Postfix and Mailman

I'm running Ubuntu 12.04 with Postfix and Mailman. I want to set up DKIM. DomainKeys Identified Mail, or DKIM, is the successor to Yahoo's "DomainKeys". It incorporates Cisco's Identified Mail. What are the steps for setting this up? Is opendkim…
MountainX
  • 5,729
  • 19
  • 65
  • 90
10
votes
6 answers

Opendkim won't start: can't open PID file?

This is the complaint I get from systemd: "opendkim.service: Can't open PID file /var/run/opendkim/opendkim.pid" As seen here: systemctl status opendkim.service puts out this: ● opendkim.service - OpenDKIM DomainKeys Identified Mail (DKIM) Milter …
Hack Saw
  • 331
  • 1
  • 3
  • 11
5
votes
1 answer

12.04 POSTFIX openDKIM no DKIM signature

I followed the instructions in this post here's my postfix main.cf smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no # TLS…
3
votes
1 answer

DKIM failure 'body hash did not verify', but only on CRON output

I have successfully installed Postfix and OpenDkim on my server, and it's correctly signing mail from several different domains. The host we'll call webhost.example.com. It's running Ubuntu 18.04.2 LTS, Postfix 3.3.0 and OpenDKIM v2.11.0 Today I…
CatchAsCatchCan
  • 130
  • 1
  • 6
2
votes
1 answer

What package replaces dkim-filter in 12.04?

Previously, I was using the dkim-filter package in Ubuntu 10.04 LTS for DKIM. That package is no longer in Ubuntu 12.04 LTS. What's the replacement or alternative? opendkim, maybe?
Dustin Kirkland
  • 14,458
  • 3
  • 69
  • 93
1
vote
1 answer

unsafe map file /etc/mail/access.db: Permission denied

when sending mail through Sendmail an error is displayed: vectortrade sm-mta[16951]: NOQUEUE: SYSERR(root): hash map "access": unsafe map file /etc/mail/access.db: Permission denied what rights should be? Now we set the following: root@a:/etc/mail#…
Stefan Hansch
  • 123
  • 2
  • 7
1
vote
0 answers

opendkim-genkey txt record in Ubuntu 14.04

After upgrading to Ubuntu 14.04 and generating keyfile using opendkim-genkey I've noticed the txt file is broken like: myselector._domainkey IN TXT ( "v=DKIM1; k=rsa; " "p=dhijvfhbdifg54t345t3456h3457" ) ; ----- DKIM key myselector for…
1
vote
1 answer

Ubuntu 20.04 with postfix + OpenDKIM, not sign my emails

I've configure Postfix + OpenDkim in Ubuntu 20.04 server, and has a problem. Postfix not sign emails, with silent work, not logs with errors. Postfix main.cf smtpd_banner = central.mydomain.com ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain…
abkrim
  • 292
  • 3
  • 11
1
vote
0 answers

Opendkim installation on Ubuntu Server 18.04 failing

After installing virtualmin, opendkim installation (apt install opendkim opendkim-tools) fails in a following way: Do you want to continue? [Y/n] Setting up opendkim (2.11.0~alpha-11build1) ... Job for opendkim.service failed because a timeout was…
Aleksandar Pavić
  • 846
  • 13
  • 17
0
votes
1 answer

Can't install DKIM/Postfix on server 16.04

I have a new installation of Ubuntu and I'm trying to install DKIM/Postfix on it using this guide here. I ran the command apt-get install aptitude but this gives me the following error Job for opendkim.service failed because the control process…
Whip
  • 183
  • 1
  • 2
  • 12
0
votes
1 answer

4.7.1 Service Unavailable - try again later

I'm not sure this is the best place for this question, but I have googled around and can't seem to find a resolution to my issue. Please feel free to redirect me somewhere else if necessary. :) So, I am hosting a mail server on Ubuntu 14.04, using…
infinityplusb
  • 83
  • 2
  • 10
0
votes
1 answer

Google reports dkim passing for invalid host

I set up DKIM, SPF, and DMRAC on ubunutu server a month ago. Everything seemed to be working fine, until I received a curious DMARC report. A rouge server managed to send an email that passed DKIM verification at google. How can this happen? Is this…
Exeter
  • 115
  • 2
  • 10
0
votes
1 answer

PostFix hostname

I'm new to postfix and was wondering what hostname I should specify in my main.cf file. Is it the VPS hostname? or I can use one of the domains I host in the VPS as hostname? I'm trying to set up DKIM with postfix. I was able to create the key etc…
Matias
  • 123
  • 6
0
votes
0 answers

cant find dkimproxy

I run a ubuntu 22.04 mail server with postfix and want to install dkimproxy which was available in ubuntu 18.04. Does anyone know what happend to this package cause it is not available any more. Is it possible to download it somewhere?
Thomas Aichinger
  • 2,746
  • 5
  • 23
  • 48
1
2