On Mar 05 16:24:26, [email protected] wrote:
> Jan Stary <[email protected]> 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
Thanks, that must have been it.
Jan
> (if not already killed due to pledge). smptd needs restart to launch the
> new program.
>
> Regards.
> --
> Sebastien Marie
>