OpenDKIM works by adding a digital signature to the header of your outgoing emails. When the recipient's email server receives the email, it uses the public key, published in the sender's DNS records, to verify the signature. If the signature matches, the email is considered authentic and unaltered, thus improving its chances of being delivered successfully.