infertux / zeyple

Postfix filter/hook to automatically encrypt outgoing emails with PGP/GPG
https://infertux.com/labs/zeyple/
Other
145 stars 30 forks source link

Support sub addressing #68

Closed stackcoder closed 3 years ago

stackcoder commented 4 years ago

Add support for email addresses like monitoring+server@example.com. This feature is supported by several email services (see also: https://en.wikipedia.org/wiki/Email_address#Subaddressing).

I assume that people don't include all sub addresses in their public key at creation time and want to share the same key for multiple addresses.

With this change _user_key() also matches keys without sub addressing tag when there was no explicit match before.

infertux commented 3 years ago

LGTM, thanks!