On Wed, 2021-10-20 at 20:19 -0700, p...@mostlybsd.com wrote:
> Hello!
> 
> I am killing myself on configuring this simple tool. Messages sent from 
> mail command ($ mail u...@example.com) aren't being signed but otherwise 
> arrive at the external receiving server with everything else looking 
> good.
> 
> smtpd.conf:
> 
> filter "dkimsign_rsa" proc-exec "filter-dkimsign -d smtp.mostlybsd.com 
> -s 10172021 \
>          -k /etc/mail/dkim/10172021.rsa.key" user _dkimsign group 
> _dkimsign
> 
> listen on socket filter "dkimsign_rsa"
> listen on lo0 filter "dkimsign_rsa"
> listen on vio1 filter "dkimsign_rsa"
> 
> action "outbound" relay
> 
> match from any for any action "outbound"
> 
> The only thing a little unusual in regards to dkimsign is I first 
> installed the ed25519 version, then deleted it (including pkg_delete -a 
> and removing user and group), then added again with the RSA only 
> version.
> 
> At the moment, I don't have anything else configured for sending mail 
> from this server.
> 
> If anyone can enlighten me as to what I am missing, I would really 
> appreciate it.
> 
> Thank you,
> 
> 
> Paul
> 
A quick test shows that 'listen on socket' does the trick for me.
Could you show how you actually submit the mail to smtpd? Do you use the
sendmail command, or are you using something else?

martijn@


Reply via email to