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