[Rspamd-Users] locally generated mails have an incorrect DKIM signature.
Franta Hanzlík
franta at hanzlici.cz
Tue May 14 01:16:26 UTC 2024
I have small Fedora 39 mailserver where all components (Postfix MTA,
Dovecot IMAP, RSPAMD 3.8.4, Roundcube webmail, ...) runs.
RSPAMD runs as milter in self-scan mode.
I want RSPAMD to also DKIM sign outgoing locally generated mails, so
in Postfix I have included it (in addition to the smtpd_milters) also
in the non-smtp milter, in this way:
non_smtpd_milters = { unix:/var/lib/rspamd/milter.sock, connect_timeout=5s, default_action=accept }
when I send mail from mailserver somehow as:
echo -e "Ahoj"|mail -s "posilam ahoj" franta at hanzlici.cz
then RSPAMD log on destination mailserver (Fedora 38, Postfix, RSPAMD-3.8.4)
show bad DKIM signature: R_DKIM_REJECT(1.00){mulac.cz:s=default;},...
But when I send from this same mailserver mail e.g. from webmail or is
from it send dovecot sieve generated vacation autoreply mail, then it
is signed well - in RSPAMD log on destination mailserver is in this
case is detected valid DKIM signature:
R_DKIM_ALLOW(-0.20){mulac.cz:s=default;},...
Does anyone have any idea what the problem might be?
--
TIA, Franta Hanzlik
More information about the Users
mailing list