Author Topic: Cannot receive some emails  (Read 1140 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot receive some emails
« on: July 15, 2016, 08:47:22 AM »
Hello,
I got problem with postfix. Some domains cannot send emails to mails in my server area. The prompt is:
Code: [Select]
450 4.7.1 Client host rejected: cannot find your hostname
I checked the hostname, postfix rebuild with proper hostname, revdns resolves my hostname. What else?

host:
Code: [Select]
host 178.216.200.52
52.200.216.178.in-addr.arpa domain name pointer srv0.nextia.pl.
host srv0.nextia.pl
srv0.nextia.pl has address 178.216.200.52

Offline
*
Re: Cannot receive some emails
« Reply #1 on: July 19, 2016, 11:56:37 AM »
SOLUTION - first of all check revDNS settings, if you or your ISP correctly resolve the hostname - that's most important thing.
Second - my problem was directly connected to DKIM file entries. In DKIM Manager option you can create DKIM and SPF entries for domains. When adding new domain check the /etc/opendkim/TrustedHosts file if there is no incorrect entries (could be - CWP feature ;) ).
In my file, there was few domains that wasn't written in seperated lines. So remember to check the TrustedHosts file after adding new DKIM and SPF entries.
« Last Edit: July 19, 2016, 11:58:17 AM by je2u »