OK so it seems from yum provides */effective_tld_names.dat
that the file exists but at:
/usr/share/rspamd/effective_tld_names.dat
and not:
/usr/share/rspamd/plugins/effective_tld_names.dat
so if the files doesn’t exits in the right place I just used a simple symlink with the next command:
ln -s /usr/share/rspamd/effective_tld_names.dat /usr/share/rspamd/plugins/effective_tld_names.dat
And a restart to rspamd makes more sense now and works without any error.
The next files and lines:
/etc/rspamd/options.inc:20:url_tld = "${SHAREDIR}/effective_tld_names.dat"
/etc/rspamd/rspamd.conf:39:url_tld = "${PLUGINSDIR}/effective_tld_names.dat"
Should be verified and changed accordingly.