Index | Thread | Search

From:
Sebastien Marie <semarie@kapouay.eu.org>
Subject:
Re: dkim filters failing after upgrade
To:
Jan Stary <hans@stare.cz>, ports@openbsd.org
Date:
Thu, 05 Mar 2026 16:24:26 +0100

Download raw body.

Thread
Jan Stary <hans@stare.cz> writes:

>> > after an upgrace of amd64 to the latest current,
>> > my mailserver fails to send mail when doing dkim:
>> > 
>> > Mar  5 13:08:43 www smtpd[81882]: dkim_ed: pledge: Invalid argument
>> > Mar  5 13:08:43 www smtpd[578]: warn: lost processor: dkim_rsa exited abnormally
>> > 
>> > The opensmtpd-filter-dkimsign-0.6p0 is upgraded, like everything else.
>> 
>> If it's upgraded then the above error shouldn't happen.
>> 
>> What do you get for "strings /usr/local/libexec/smtpd/filter-dkimsign |
>> grep stdio"? Should be "stdio rpath wpath cpath". If it's "tmppath stdio"
>> then for whatever reason it is not upgraded.
>
> stdio rpath wpath cpath
>
> But after a reboot, it works.
> No idea why; sorry for the noise.
>
> 	Jan

did you restart the dkim program after upgrading it (by restarting smtpd) ?

smtpd will start the helper at startup and it is an always running
program. So after pkg_add -u, the old program would be still in memory
(if not already killed due to pledge). smptd needs restart to launch the
new program.

Regards.
-- 
Sebastien Marie