On Wed, 21 Oct 2026 14:58:55 -0400, Tom Lane writes:
>Ah-hah, so I'm looking in the wrong place: I should be searching for
>how to get sendmail to do it (or maybe I need to bite the bullet
>even harder and switch to postfix).  Thanks for the tip!

i've got opendkim working without problems with both postfix and sendmail.

for sendmail, all i needed (besides a working opendkim installation
in mode "s" = sign on send and don't care about verifying) was

INPUT_MAIL_FILTER(`opendkim', `S=local:/run/opendkim/opendkim.sock, F=, 
T=S:4m;R:4m;E:10m')

in sendmail.mc; regen sendmail.cf, restart, done.

for postfix, it's just 2 lines in main.cf

smtpd_milters = unix:/opendkim/opendkim.sock
non_smtpd_milters = unix:/opendkim/opendkim.sock

but you'll have to make sure that opendkim group memberships,
socket group ownerships, socket location and permissions are
suitable because it'll have to live in postfix' chroot.

lots of docs for postfix online; i don't recall anymore which if any
source i used.

regards
az


-- 
Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + https://snafu.priv.at/
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare.

Attachment: signature.asc
Description: Digital Signature

Reply via email to