Ok so i knew calling it a program wasn't right. A binary called only opendkim
doesn't exist. Not under /bin, /sbin or the same under /usr
There are only binaries called opendkim-xxxxx , so my thought now is to
reinstall opendkim cause something's off.
On January 22, 2025 3:36:50 PM PST, Jaroslaw Rafa via Postfix-users
<postfix-users@postfix.org> wrote:
>Dnia 22.01.2025 o godz. 14:22:05 Curtis Vaughan via Postfix-users pisze:
>>
>> mv opendkim opendkim-real
>>
>> I'm moving /usr/sbin/opendkim to /usr/bin/opendkim-real ? Nope, there is no
>> such prog there. Many starting with opendkim-.....
>
>That's absolutely correct that there is no such program. If it were there,
>you shouldn't be doing this. You are renaming the opendkim binary to
>new file called opendkim-real, what don't you understand here?
>
>> cat >opendkim ? What I'm cat-ing to a file opendkim?
>
>The next lines, until the line that contains Ctrl-D character (end of file
>marker). You will be creating a shell script under the name opendkim, that
>will be calling opendkim-real (the actual opendkim binary you just renamed)
>using strace.
>
>> #!/bin/sh ? this would be the beginning of a bash script. Are the next
>> 2 lines part of a script? Very confused....
>
>Yes, they are. See above.
>
>> mkdir -p /tmp/opendkim
>> strace -f -o/tmp/opendkim/$$ /path/to/opendkim-real "$@"
>> ^D
>
>This is the end of the script.
>
>> chmod 755 opendkim ?? didn't I move opendkim so I can't chmod it?
>
>You just created new opendkim above.
>
>That's typical "wrapper" approach used when you want to modify behaviour of
>a program that is called from within other program.
>--
>Regards,
> Jaroslaw Rafa
> r...@rafa.eu.org
>--
>"In a million years, when kids go to school, they're gonna know: once there
>was a Hushpuppy, and she lived with her daddy in the Bathtub."
>_______________________________________________
>Postfix-users mailing list -- postfix-users@postfix.org
>To unsubscribe send an email to postfix-users-le...@postfix.org
--
Curtis Vaughan
IT Administrator/Director of Communications & Purchasing North Pacific
Corporation
Phone: 206-423-6979 ▪ Web: www.npc-usa.com
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org