Quanah Gibson-Mount: > We currently have DKIM signing set up for our servers via opendkim through > a milter interface, which first goes to amavis and then opendkim. However, > this milter is only triggered for mail tagged as "incoming" via a regex, > and that apparently does NOT happen when emails are created via the local > postfix sendmail binary. This is problematic because we have various local > alerts that get generated on the system and are then sent via postfix's > sendmail command. > > Is there a way to have the incoming filter regex pull these in as > originating as well? > > zimbra@edge02e:~/common/conf$ cat tag_as_originating.re > /^/ FILTER smtp-amavis:[127.0.0.1]:10026
I have no idea what that regexp is about. I do know, however, how I sign sendmail(1) submission with Postfix and opendkim. To sign sendmail(1) submission with a Milter, I have configured non_smtpd_milters as shown below. That's how this posting got signed. non_smtpd_milters = inet:127.0.0.1:9998 For sendmail(1) submission, the cleanup server's Milter client creates a fake SMTP session from localhost/127.0.0.1/AF_INET (sorry, not yet configurable). In order to enable signing, that IP address is configured in my opendkim InternalHosts setting. Wietse