Your DKIM signature is not valid. I can not receive emails from my server!

0

I am configuring my mail server in VPS with easyengine in debian but by accessing mail-tester.com my note is low and points to DKIM problem. I waited 24hrs for DNS propagation and nothing!

IcansendemailbutIdonotreceive!Ididthefollowing:

DNSConfiguration

Avps.dominio.comIPV4CNAMEwebmail.dominio.comdominio.comTXTdominio.comv=spf1mxa-allTXT_dmarc.dominio.comv=DMARC1;p=noneTXTdefault._domainkey(dadosdoopendkim)

PostfixconfigurationtoopenDKIM

cd/var/www/artnaweb.com.br/htdocseestackinstall--mailnano/etc/nginx/sites-available/webmail

Putthisinsidetheserver{}

listen80;listen[::]:80;

nano/etc/postfix/master.cf

Deletethe#inthefirstthreelinesbelowthesubmissionandsmtpsandaddthisfourthline:

-osmtpd_client_restrictions=permit_sasl_authenticated,rejectservicepostfixrestartapt-getinstallopendkimopendkim-tools-ynano/etc/opendkim.conf

GOTOTHEENDOFTHEFILEANDTHE5LINES:

ExternalIgnoreListrefile:/etc/opendkim/TrustedHostsInternalHostsrefile:/etc/opendkim/TrustedHostsKeyTablerefile:/etc/opendkim/KeyTableSigningTablerefile:/etc/opendkim/SigningTableSOCKETinet:8891@localhostnano/etc/default/opendkim

CREATENEWLINE:

SOCKET="inet:8891@localhost"

nano /etc/postfix/main.cf

GO TO THE TLS PARAMETERS AND NECKLACE THIS LINE:

smtp_tls_security_level = may

GO TO THE END OF THE FILE AND SEND THESE LINES:

OpenDKIM

milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891

mkdir /etc/opendkim

nano /etc/opendkim/TrustedHosts

INSERT INFORMATION:

127.0.0.1 localhost * .artnaweb.com.br

nano /etc/opendkim/KeyTable

INSERT INFORMATION:

default._domainkey.artnaweb.com.br artnaweb.com.br:default:/etc/opendkim/keys/artnaweb.com.br/default.private

nano /etc/opendkim/SigningTable

INSERT INFORMATION:

*@artnaweb.com.br default._domainkey.artnaweb.com.br

mkdir -p /etc/opendkim/keys/artnaweb.com.br

cd /etc/opendkim/keys/artnaweb.com.br

opendkim-genkey -s default -d artnaweb.com.br

chown -R opendkim:opendkim /etc/opendkim

cat default.txt

GET KEY INFORMATION GENERATED AND INSERT IN DNS

service postfix restart

service opendkim restart
    
asked by anonymous 15.02.2018 / 17:12

0 answers