-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zeyple breaks opendkim #70
Comments
fixed by removing no_milters from -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks in /etc/postfix/master.cf |
tl;dr: I couldn't find a way to make opendkim work with zeyple due to the improper ordering of milter vs content filter (opendkim a milter, before-queue filter, and zeyple a content filter, after-queue filter), so I switched to amavisd-new for DKIM signing instead, since it is a content filter too, and now that I think I have figured out a passable configuration, it seems to be working fine. I know that this isn't entirely on-topic, but searching for solutions to this problem was challenging, and this is one of the top results, so I wanted to leave an informational comment for anyone else struggling with this. This is as-is, but it is working for me. (I also notice now that this was added to a milestone recently. Nice to see!) I had to scour a few sites to figure out how to set up amavisd-new for DKIM signing. I left some links in comments in the config files below, but here's a useful page from the documentation: https://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim With my particular setup - which involves relaying - I needed to add some header signing adjustments, which manifested as signature verification failures until I figured out what was happening after a few hours. You'll need to get your DKIM keys placed somewhere that amavis can read them. I'm using Ubuntu and placed them in a new directory, Here are the config files I used, with domain replaced with example.com (I also turned on verification): /etc/amavis/conf.d/51-dkim
/etc/postfix/main.cfAdded to bottom:
/etc/postfix/master.cfRemoved the Then, added to bottom:
Hopefully this helps someone else, but if not, maybe it will help refresh the memory of future-me. |
Using DKIM via opendkim on Debian server
DKIM is now failing for messages which are not encrypted by zeyple
If I remove content_filter = zeyple from main.cf DKIM works fine
If I use zeyple even on mail that isn't encrypted DKIM signature fails:
The text was updated successfully, but these errors were encountered: