I found the solution :-)
# yum remove spamdyke
# yum install spamdyke
After install, I had to:
- define graylist-level=always-create-dir in /etc/spamdyke.conf
- there is no need to define tls-level
- just need to place a valid server certificate in /var/qmail/control/servercert.pem
- and modify /var/qmail/supervise/smtp-ssl/run as shown above
BUT I just noticed a strange behavior in /var/qmail/spamdyke/blacklist_ip, an ip list is generated automatically that makes spamdyke fail.
Even I delete the list, the list reappears inside after some little time. To make Spamdyke work proprely, I had to erase ip-blacklist-file=/var/qmail/spamdyke/blacklist_ip in /etc/spamdyke.conf otherwise, emails are blocked
Really strange, what do you think of this Mustapha? Here is below the IPs list generated automatically:
109.120.149.102
125.227.232.151
157.122.148.200
177.67.106.25
183.237.121.252
183.240.203.51
185.125.4.135
185.130.6.34
185.40.4.126
185.81.154.19
189.43.112.165
190.8.148.61
195.22.126.189
202.65.138.2
209.105.164.250
23.253.175.74
23.96.181.151
24.244.159.12
45.62.245.139
46.105.49.146
5.135.86.196
80.82.64.102
83.144.119.206
89.248.160.150
89.248.169.36
93.174.93.46
98.174.187.19
::1
185.56.80.141
27.38.41.182
I don't know where these IPs are from... Thanks for helping