1

Topic: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

Hi,

I have problem with spf dkim.
When using command:
#amavisd testkeys
I have error:
=> invalid (public key: unsupported version)

What may be the problem?

- amavisd-new.noarch version
2.11.0-3.e17
- iRedMail version
0.9.8 MARIADB edition
- Linux/BSD distribution name and version:
CentOS Linux release 7.4.1708 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
MARIADB
- Web server:
nginx version: nginx/1.12.2

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

Amarantus wrote:

#amavisd testkeys
I have error:
=> invalid (public key: unsupported version)

Do you have DKIM key published in DNS record?

3

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

ZhangHuangbin wrote:
Amarantus wrote:

#amavisd testkeys
I have error:
=> invalid (public key: unsupported version)

Do you have DKIM key published in DNS record?


Yes, I have smile

4

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

Amavisd on CentOS 7 should work fine.
While restarting Amavisd service, did you see any error in the log file (same as Postfix log file)?

5

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

#systemctl restart amavisd:

Apr 24 09:01:31 host1 amavis[21992]: starting. /usr/sbin/amavisd at host1.xxx.pl amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"
Apr 24 09:01:31 host1 amavis[21993]: Net::Server: Group Not Defined.  Defaulting to EGID '988 988'
Apr 24 09:01:31 host1 amavis[21993]: Net::Server: User Not Defined.  Defaulting to EUID '992'
Apr 24 09:01:31 host1 amavis[21993]: No ext program for   .lrz, tried: lrzip -q -k -d -o -, lrzcat -q -k
Apr 24 09:01:31 host1 amavis[21993]: No decoder for       .lrz
Apr 24 09:01:31 host1 amavis[21993]: Using primary internal av scanner code for clamav-socket
Apr 24 09:01:31 host1 amavis[21993]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan

6

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

Please paste FULL log.

7

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

Apr 25 07:24:50 host1 postfix/anvil[22671]: statistics: max connection rate 1/60s for (smtpd:51.15.152.98) at Apr 25 07:21:29
Apr 25 07:24:50 host1 postfix/anvil[22671]: statistics: max connection count 1 for (smtpd:51.15.152.98) at Apr 25 07:21:29
Apr 25 07:24:50 host1 postfix/anvil[22671]: statistics: max cache size 1 at Apr 25 07:21:29
Apr 25 07:27:06 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 07:28:41 host1 postfix/postscreen[22834]: CONNECT from [176.35.174.123]:37418 to [1.2.3.4]:25
Apr 25 07:28:41 host1 postfix/postscreen[22834]: PASS OLD [176.35.174.123]:37418
Apr 25 07:28:41 host1 postfix/smtpd[22835]: connect from 176-35-174-123.xdsl.murphx.net[176.35.174.123]
Apr 25 07:28:42 host1 postfix/smtpd[22835]: disconnect from 176-35-174-123.xdsl.murphx.net[176.35.174.123]
Apr 25 07:32:02 host1 postfix/anvil[22837]: statistics: max connection rate 1/60s for (smtpd:176.35.174.123) at Apr 25 07:28:41
Apr 25 07:32:02 host1 postfix/anvil[22837]: statistics: max connection count 1 for (smtpd:176.35.174.123) at Apr 25 07:28:41
Apr 25 07:32:02 host1 postfix/anvil[22837]: statistics: max cache size 1 at Apr 25 07:28:41
Apr 25 07:36:08 host1 postfix/postscreen[23005]: CONNECT from [113.171.23.47]:60194 to [1.2.3.4]:25
Apr 25 07:36:14 host1 postfix/postscreen[23005]: PASS OLD [113.171.23.47]:60194
Apr 25 07:36:14 host1 postfix/smtpd[23010]: warning: hostname static.vnpt.vn does not resolve to address 113.171.23.47
Apr 25 07:36:14 host1 postfix/smtpd[23010]: connect from unknown[113.171.23.47]
Apr 25 07:36:16 host1 postfix/smtpd[23010]: disconnect from unknown[113.171.23.47]
Apr 25 07:36:18 host1 postfix/postscreen[23005]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 07:36:44 host1 postfix/dnsblog[23007]: warning: dnsblog_query: lookup error for DNS query 47.23.171.113.zen.spamhaus.org: Host or domain name not found. Name service error for name=47.23.171.113.zen.spamhaus.org type=A: Host not found, try again
Apr 25 07:37:07 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 07:39:36 host1 postfix/anvil[23012]: statistics: max connection rate 1/60s for (smtpd:113.171.23.47) at Apr 25 07:36:14
Apr 25 07:39:36 host1 postfix/anvil[23012]: statistics: max connection count 1 for (smtpd:113.171.23.47) at Apr 25 07:36:14
Apr 25 07:39:36 host1 postfix/anvil[23012]: statistics: max cache size 1 at Apr 25 07:36:14
Apr 25 07:43:03 host1 postfix/postscreen[23165]: CONNECT from [51.15.152.98]:54093 to [1.2.3.4]:25
Apr 25 07:43:03 host1 postfix/postscreen[23165]: PASS OLD [51.15.152.98]:54093
Apr 25 07:43:03 host1 postfix/smtpd[23166]: connect from 51-15-152-98.rev.govps.gr[51.15.152.98]
Apr 25 07:43:04 host1 postfix/smtpd[23166]: disconnect from 51-15-152-98.rev.govps.gr[51.15.152.98]
Apr 25 07:46:24 host1 postfix/anvil[23168]: statistics: max connection rate 1/60s for (smtpd:51.15.152.98) at Apr 25 07:43:03
Apr 25 07:46:24 host1 postfix/anvil[23168]: statistics: max connection count 1 for (smtpd:51.15.152.98) at Apr 25 07:43:03
Apr 25 07:46:24 host1 postfix/anvil[23168]: statistics: max cache size 1 at Apr 25 07:43:03
Apr 25 07:47:07 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 07:50:35 host1 postfix/postscreen[23343]: CONNECT from [27.131.48.6]:58023 to [1.2.3.4]:25
Apr 25 07:50:41 host1 postfix/postscreen[23343]: PASS OLD [27.131.48.6]:58023
Apr 25 07:50:41 host1 postfix/smtpd[23348]: warning: hostname static-27-131-48-6.mykris.net does not resolve to address 27.131.48.6: Name or service not known
Apr 25 07:50:41 host1 postfix/smtpd[23348]: connect from unknown[27.131.48.6]
Apr 25 07:50:43 host1 postfix/smtpd[23348]: disconnect from unknown[27.131.48.6]
Apr 25 07:50:45 host1 postfix/postscreen[23343]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 07:51:11 host1 postfix/dnsblog[23345]: warning: dnsblog_query: lookup error for DNS query 6.48.131.27.zen.spamhaus.org: Host or domain name not found. Name service error for name=6.48.131.27.zen.spamhaus.org type=A: Host not found, try again
Apr 25 07:52:37 host1 postfix/postscreen[23394]: CONNECT from [80.82.77.40]:48748 to [1.2.3.4]:25
Apr 25 07:52:37 host1 postfix/postscreen[23394]: PREGREET 11 after 0.03 from [80.82.77.40]:48748: EHLO User\r\n
Apr 25 07:52:37 host1 postfix/postscreen[23394]: DISCONNECT [80.82.77.40]:48748
Apr 25 07:52:47 host1 postfix/postscreen[23394]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 07:53:13 host1 postfix/dnsblog[23395]: warning: dnsblog_query: lookup error for DNS query 40.77.82.80.zen.spamhaus.org: Host or domain name not found. Name service error for name=40.77.82.80.zen.spamhaus.org type=A: Host not found, try again
Apr 25 07:54:03 host1 postfix/anvil[23350]: statistics: max connection rate 1/60s for (smtpd:27.131.48.6) at Apr 25 07:50:41
Apr 25 07:54:03 host1 postfix/anvil[23350]: statistics: max connection count 1 for (smtpd:27.131.48.6) at Apr 25 07:50:41
Apr 25 07:54:03 host1 postfix/anvil[23350]: statistics: max cache size 1 at Apr 25 07:50:41
Apr 25 07:57:07 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 08:04:49 host1 postfix/postscreen[23728]: CONNECT from [51.15.152.98]:49802 to [1.2.3.4]:25
Apr 25 08:04:49 host1 postfix/postscreen[23728]: PASS OLD [51.15.152.98]:49802
Apr 25 08:04:49 host1 postfix/smtpd[23729]: connect from 51-15-152-98.rev.govps.gr[51.15.152.98]
Apr 25 08:04:49 host1 postfix/smtpd[23729]: disconnect from 51-15-152-98.rev.govps.gr[51.15.152.98]
Apr 25 08:07:07 host1 clamd[1906]: SelfCheck: Database modification detected. Forcing reload.
Apr 25 08:07:09 host1 clamd[1906]: Reading databases from /var/lib/clamav
Apr 25 08:07:24 host1 clamd[1906]: Database correctly reloaded (6481047 signatures)
Apr 25 08:08:09 host1 postfix/anvil[23731]: statistics: max connection rate 1/60s for (smtpd:51.15.152.98) at Apr 25 08:04:49
Apr 25 08:08:09 host1 postfix/anvil[23731]: statistics: max connection count 1 for (smtpd:51.15.152.98) at Apr 25 08:04:49
Apr 25 08:08:09 host1 postfix/anvil[23731]: statistics: max cache size 1 at Apr 25 08:04:49
Apr 25 08:12:02 host1 postfix/postscreen[23896]: CONNECT from [87.169.124.233]:64610 to [1.2.3.4]:25
Apr 25 08:12:08 host1 postfix/postscreen[23896]: PASS OLD [87.169.124.233]:64610
Apr 25 08:12:08 host1 postfix/smtpd[23901]: connect from p57A97CE9.dip0.t-ipconnect.de[87.169.124.233]
Apr 25 08:12:08 host1 postfix/smtpd[23901]: disconnect from p57A97CE9.dip0.t-ipconnect.de[87.169.124.233]
Apr 25 08:12:12 host1 postfix/postscreen[23896]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 08:12:38 host1 postfix/dnsblog[23898]: warning: dnsblog_query: lookup error for DNS query 233.124.169.87.zen.spamhaus.org: Host or domain name not found. Name service error for name=233.124.169.87.zen.spamhaus.org type=A: Host not found, try again
Apr 25 08:15:28 host1 postfix/anvil[23903]: statistics: max connection rate 1/60s for (smtpd:87.169.124.233) at Apr 25 08:12:08
Apr 25 08:15:28 host1 postfix/anvil[23903]: statistics: max connection count 1 for (smtpd:87.169.124.233) at Apr 25 08:12:08
Apr 25 08:15:28 host1 postfix/anvil[23903]: statistics: max cache size 1 at Apr 25 08:12:08
Apr 25 08:17:24 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 08:19:17 host1 postfix/postscreen[24068]: CONNECT from [93.175.29.178]:58930 to [1.2.3.4]:25
Apr 25 08:19:23 host1 postfix/postscreen[24068]: PASS OLD [93.175.29.178]:58930
Apr 25 08:19:23 host1 postfix/smtpd[24073]: connect from unknown[93.175.29.178]
Apr 25 08:19:23 host1 postfix/smtpd[24073]: disconnect from unknown[93.175.29.178]
Apr 25 08:19:27 host1 postfix/postscreen[24068]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 08:19:53 host1 postfix/dnsblog[24070]: warning: dnsblog_query: lookup error for DNS query 178.29.175.93.zen.spamhaus.org: Host or domain name not found. Name service error for name=178.29.175.93.zen.spamhaus.org type=A: Host not found, try again
Apr 25 08:22:43 host1 postfix/anvil[24075]: statistics: max connection rate 1/60s for (smtpd:93.175.29.178) at Apr 25 08:19:23
Apr 25 08:22:43 host1 postfix/anvil[24075]: statistics: max connection count 1 for (smtpd:93.175.29.178) at Apr 25 08:19:23
Apr 25 08:22:43 host1 postfix/anvil[24075]: statistics: max cache size 1 at Apr 25 08:19:23
Apr 25 08:26:41 host1 postfix/postscreen[24245]: CONNECT from [210.245.34.242]:58226 to [1.2.3.4]:25
Apr 25 08:26:47 host1 postfix/postscreen[24245]: PASS OLD [210.245.34.242]:58226
Apr 25 08:26:47 host1 postfix/smtpd[24250]: connect from unknown[210.245.34.242]
Apr 25 08:26:48 host1 postfix/smtpd[24250]: disconnect from unknown[210.245.34.242]
Apr 25 08:26:51 host1 postfix/postscreen[24245]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 08:27:17 host1 postfix/dnsblog[24247]: warning: dnsblog_query: lookup error for DNS query 242.34.245.210.zen.spamhaus.org: Host or domain name not found. Name service error for name=242.34.245.210.zen.spamhaus.org type=A: Host not found, try again
Apr 25 08:27:24 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 08:30:09 host1 postfix/anvil[24252]: statistics: max connection rate 1/60s for (smtpd:210.245.34.242) at Apr 25 08:26:47
Apr 25 08:30:09 host1 postfix/anvil[24252]: statistics: max connection count 1 for (smtpd:210.245.34.242) at Apr 25 08:26:47
Apr 25 08:30:09 host1 postfix/anvil[24252]: statistics: max cache size 1 at Apr 25 08:26:47
Apr 25 08:33:48 host1 postfix/postscreen[24408]: CONNECT from [95.188.85.32]:22386 to [1.2.3.4]:25
Apr 25 08:33:54 host1 postfix/postscreen[24408]: PASS OLD [95.188.85.32]:22386
Apr 25 08:33:54 host1 postfix/smtpd[24413]: warning: hostname static.32.85.188.95.dsl.krasnet.ru does not resolve to address 95.188.85.32: Name or service not known
Apr 25 08:33:54 host1 postfix/smtpd[24413]: connect from unknown[95.188.85.32]
Apr 25 08:33:55 host1 postfix/smtpd[24413]: disconnect from unknown[95.188.85.32]
Apr 25 08:33:58 host1 postfix/postscreen[24408]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 08:34:24 host1 postfix/dnsblog[24410]: warning: dnsblog_query: lookup error for DNS query 32.85.188.95.zen.spamhaus.org: Host or domain name not found. Name service error for name=32.85.188.95.zen.spamhaus.org type=A: Host not found, try again
Apr 25 08:37:15 host1 postfix/anvil[24415]: statistics: max connection rate 1/60s for (smtpd:95.188.85.32) at Apr 25 08:33:54
Apr 25 08:37:15 host1 postfix/anvil[24415]: statistics: max connection count 1 for (smtpd:95.188.85.32) at Apr 25 08:33:54
Apr 25 08:37:15 host1 postfix/anvil[24415]: statistics: max cache size 1 at Apr 25 08:33:54
Apr 25 08:37:24 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 08:41:13 host1 postfix/postscreen[24581]: CONNECT from [27.131.48.6]:56892 to [1.2.3.4]:25
Apr 25 08:41:13 host1 postfix/postscreen[24581]: PASS OLD [27.131.48.6]:56892
Apr 25 08:41:13 host1 postfix/smtpd[24582]: warning: hostname static-27-131-48-6.mykris.net does not resolve to address 27.131.48.6: Name or service not known
Apr 25 08:41:13 host1 postfix/smtpd[24582]: connect from unknown[27.131.48.6]
Apr 25 08:41:14 host1 postfix/smtpd[24582]: disconnect from unknown[27.131.48.6]
Apr 25 08:44:34 host1 postfix/anvil[24584]: statistics: max connection rate 1/60s for (smtpd:27.131.48.6) at Apr 25 08:41:13
Apr 25 08:44:34 host1 postfix/anvil[24584]: statistics: max connection count 1 for (smtpd:27.131.48.6) at Apr 25 08:41:13
Apr 25 08:44:34 host1 postfix/anvil[24584]: statistics: max cache size 1 at Apr 25 08:41:13
Apr 25 08:47:24 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 08:48:30 host1 postfix/postscreen[24749]: CONNECT from [178.141.251.45]:64385 to [1.2.3.4]:25
Apr 25 08:48:36 host1 postfix/postscreen[24749]: PASS OLD [178.141.251.45]:64385
Apr 25 08:48:36 host1 postfix/smtpd[24754]: connect from unknown[178.141.251.45]
Apr 25 08:48:36 host1 postfix/smtpd[24754]: disconnect from unknown[178.141.251.45]
Apr 25 08:48:40 host1 postfix/postscreen[24749]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 08:49:06 host1 postfix/dnsblog[24751]: warning: dnsblog_query: lookup error for DNS query 45.251.141.178.zen.spamhaus.org: Host or domain name not found. Name service error for name=45.251.141.178.zen.spamhaus.org type=A: Host not found, try again
Apr 25 08:51:56 host1 postfix/anvil[24756]: statistics: max connection rate 1/60s for (smtpd:178.141.251.45) at Apr 25 08:48:36
Apr 25 08:51:56 host1 postfix/anvil[24756]: statistics: max connection count 1 for (smtpd:178.141.251.45) at Apr 25 08:48:36
Apr 25 08:51:56 host1 postfix/anvil[24756]: statistics: max cache size 1 at Apr 25 08:48:36
Apr 25 08:57:24 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 09:03:09 host1 postfix/postscreen[25139]: CONNECT from [113.171.23.47]:8910 to [1.2.3.4]:25
Apr 25 09:03:15 host1 postfix/postscreen[25139]: PASS OLD [113.171.23.47]:8910
Apr 25 09:03:15 host1 postfix/smtpd[25145]: warning: hostname static.vnpt.vn does not resolve to address 113.171.23.47
Apr 25 09:03:15 host1 postfix/smtpd[25145]: connect from unknown[113.171.23.47]
Apr 25 09:03:17 host1 postfix/smtpd[25145]: disconnect from unknown[113.171.23.47]
Apr 25 09:03:19 host1 postfix/postscreen[25139]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:03:45 host1 postfix/dnsblog[25141]: warning: dnsblog_query: lookup error for DNS query 47.23.171.113.zen.spamhaus.org: Host or domain name not found. Name service error for name=47.23.171.113.zen.spamhaus.org type=A: Host not found, try again
Apr 25 09:06:37 host1 postfix/anvil[25147]: statistics: max connection rate 1/60s for (smtpd:113.171.23.47) at Apr 25 09:03:15
Apr 25 09:06:37 host1 postfix/anvil[25147]: statistics: max connection count 1 for (smtpd:113.171.23.47) at Apr 25 09:03:15
Apr 25 09:06:37 host1 postfix/anvil[25147]: statistics: max cache size 1 at Apr 25 09:03:15
Apr 25 09:07:24 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 09:10:30 host1 postfix/postscreen[25308]: CONNECT from [93.175.29.178]:60066 to [1.2.3.4]:25
Apr 25 09:10:30 host1 postfix/postscreen[25308]: PASS OLD [93.175.29.178]:60066
Apr 25 09:10:30 host1 postfix/smtpd[25309]: connect from unknown[93.175.29.178]
Apr 25 09:10:31 host1 postfix/smtpd[25309]: disconnect from unknown[93.175.29.178]
Apr 25 09:13:51 host1 postfix/anvil[25311]: statistics: max connection rate 1/60s for (smtpd:93.175.29.178) at Apr 25 09:10:30
Apr 25 09:13:51 host1 postfix/anvil[25311]: statistics: max connection count 1 for (smtpd:93.175.29.178) at Apr 25 09:10:30
Apr 25 09:13:51 host1 postfix/anvil[25311]: statistics: max cache size 1 at Apr 25 09:10:30
Apr 25 09:17:25 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 09:17:58 host1 postfix/postscreen[25479]: CONNECT from [181.49.122.162]:51204 to [1.2.3.4]:25
Apr 25 09:18:04 host1 postfix/postscreen[25479]: PASS OLD [181.49.122.162]:51204
Apr 25 09:18:04 host1 postfix/smtpd[25484]: connect from unknown[181.49.122.162]
Apr 25 09:18:05 host1 postfix/smtpd[25484]: disconnect from unknown[181.49.122.162]
Apr 25 09:18:08 host1 postfix/postscreen[25479]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:18:34 host1 postfix/dnsblog[25481]: warning: dnsblog_query: lookup error for DNS query 162.122.49.181.zen.spamhaus.org: Host or domain name not found. Name service error for name=162.122.49.181.zen.spamhaus.org type=A: Host not found, try again
Apr 25 09:21:25 host1 postfix/anvil[25486]: statistics: max connection rate 1/60s for (smtpd:181.49.122.162) at Apr 25 09:18:04
Apr 25 09:21:25 host1 postfix/anvil[25486]: statistics: max connection count 1 for (smtpd:181.49.122.162) at Apr 25 09:18:04
Apr 25 09:21:25 host1 postfix/anvil[25486]: statistics: max cache size 1 at Apr 25 09:18:04
Apr 25 09:25:27 host1 postfix/postscreen[25655]: CONNECT from [181.49.39.70]:52001 to [1.2.3.4]:25
Apr 25 09:25:33 host1 postfix/postscreen[25655]: PASS OLD [181.49.39.70]:52001
Apr 25 09:25:33 host1 postfix/smtpd[25660]: connect from unknown[181.49.39.70]
Apr 25 09:25:33 host1 postfix/smtpd[25660]: disconnect from unknown[181.49.39.70]
Apr 25 09:25:37 host1 postfix/postscreen[25655]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:25:51 host1 postfix/postscreen[25655]: CONNECT from [211.23.154.138]:49350 to [1.2.3.4]:25
Apr 25 09:25:57 host1 postfix/postscreen[25655]: PASS NEW [211.23.154.138]:49350
Apr 25 09:25:57 host1 postfix/smtpd[25660]: connect from 211-23-154-138.HINET-IP.hinet.net[211.23.154.138]
Apr 25 09:25:58 host1 postfix/smtpd[25660]: disconnect from 211-23-154-138.HINET-IP.hinet.net[211.23.154.138]
Apr 25 09:26:01 host1 postfix/postscreen[25655]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:26:04 host1 postfix/dnsblog[25657]: warning: dnsblog_query: lookup error for DNS query 70.39.49.181.zen.spamhaus.org: Host or domain name not found. Name service error for name=70.39.49.181.zen.spamhaus.org type=A: Host not found, try again
Apr 25 09:26:27 host1 postfix/dnsblog[25669]: warning: dnsblog_query: lookup error for DNS query 138.154.23.211.zen.spamhaus.org: Host or domain name not found. Name service error for name=138.154.23.211.zen.spamhaus.org type=A: Host not found, try again
Apr 25 09:27:25 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 09:29:18 host1 postfix/anvil[25662]: statistics: max connection rate 1/60s for (smtpd:181.49.39.70) at Apr 25 09:25:33
Apr 25 09:29:18 host1 postfix/anvil[25662]: statistics: max connection count 1 for (smtpd:181.49.39.70) at Apr 25 09:25:33
Apr 25 09:29:18 host1 postfix/anvil[25662]: statistics: max cache size 2 at Apr 25 09:25:57
Apr 25 09:32:49 host1 postfix/postscreen[25846]: CONNECT from [190.25.46.42]:58597 to [1.2.3.4]:25
Apr 25 09:32:50 host1 postfix/dnsblog[25847]: addr 190.25.46.42 listed by domain b.barracudacentral.org as 127.0.0.2
Apr 25 09:32:55 host1 postfix/postscreen[25846]: DNSBL rank 2 for [190.25.46.42]:58597
Apr 25 09:32:55 host1 postfix/postscreen[25846]: DISCONNECT [190.25.46.42]:58597
Apr 25 09:32:59 host1 postfix/postscreen[25846]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:33:25 host1 postfix/dnsblog[25848]: warning: dnsblog_query: lookup error for DNS query 42.46.25.190.zen.spamhaus.org: Host or domain name not found. Name service error for name=42.46.25.190.zen.spamhaus.org type=A: Host not found, try again
Apr 25 09:37:25 host1 clamd[1906]: SelfCheck: Database status OK.
Apr 25 09:40:15 host1 postfix/postscreen[26055]: CONNECT from [190.25.46.42]:49941 to [1.2.3.4]:25
Apr 25 09:40:15 host1 postfix/dnsblog[26056]: addr 190.25.46.42 listed by domain b.barracudacentral.org as 127.0.0.2
Apr 25 09:40:21 host1 postfix/postscreen[26055]: DNSBL rank 2 for [190.25.46.42]:49941
Apr 25 09:40:21 host1 postfix/postscreen[26055]: DISCONNECT [190.25.46.42]:49941
Apr 25 09:40:25 host1 postfix/postscreen[26055]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:40:33 host1 amavis[26072]: starting. /usr/sbin/amavisd at host1.xxx.pl amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"
Apr 25 09:40:33 host1 amavis[26074]: Net::Server: Group Not Defined.  Defaulting to EGID '988 988'
Apr 25 09:40:33 host1 amavis[26074]: Net::Server: User Not Defined.  Defaulting to EUID '992'
Apr 25 09:40:33 host1 amavis[26074]: No ext program for   .lrz, tried: lrzip -q -k -d -o -, lrzcat -q -k
Apr 25 09:40:33 host1 amavis[26074]: No decoder for       .lrz
Apr 25 09:40:33 host1 amavis[26074]: Using primary internal av scanner code for clamav-socket
Apr 25 09:40:33 host1 amavis[26074]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan
Apr 25 09:40:51 host1 postfix/dnsblog[26057]: warning: dnsblog_query: lookup error for DNS query 42.46.25.190.zen.spamhaus.org: Host or domain name not found. Name service error for name=42.46.25.190.zen.spamhaus.org type=A: Host not found, try again
[root@host1 log]#

8

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

Is that enough ?

9

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

The log doesn't seem right, Amavisd has just few log lines. Maybe your iRedMail installation was not completed.
Did you notice any error on console during iRedMail installation?

Amarantus wrote:

Apr 25 09:32:59 host1 postfix/postscreen[25846]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:33:25 host1 postfix/dnsblog[25848]: warning: dnsblog_query: lookup error for DNS query 42.46.25.190.zen.spamhaus.org: Host or domain name not found. Name service error for name=42.46.25.190.zen.spamhaus.org type=A: Host not found, try again

Seems your server doesn't have a working DNS server configured in /etc/resolv.conf, DNS query failed.

10

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

ZhangHuangbin wrote:

The log doesn't seem right, Amavisd has just few log lines. Maybe your iRedMail installation was not completed.
Did you notice any error on console during iRedMail installation?

Amarantus wrote:

Apr 25 09:32:59 host1 postfix/postscreen[25846]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Apr 25 09:33:25 host1 postfix/dnsblog[25848]: warning: dnsblog_query: lookup error for DNS query 42.46.25.190.zen.spamhaus.org: Host or domain name not found. Name service error for name=42.46.25.190.zen.spamhaus.org type=A: Host not found, try again

Seems your server doesn't have a working DNS server configured in /etc/resolv.conf, DNS query failed.

Instalatlion was complete - without any error.
DNS server i have on another host and work fine.
Mail, website, works fine on this host.
Only i have problem with testkeys.

11

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

Do you use correct DNS server in /etc/resolv.conf?
According to the Postfix log, the DNS query doesn't look good.

12

Re: CentOS 7, iRedMail 0.9.8 - amavisd testkeys problem

I solved the problem
Problem was IN TXT records
Was:

"v=spf1 p=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Must be:

"v=DKIM1; p=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Now works fine;
amavisd testskey => pass

Thx for help smile