Assigns categories to email attachments when uploaded to the media library.
- Fix: different regex approach for html vs plain
- Only process 1 email at a time
Postie Reinstated to the WordPress repository
After discussions with the WordPress security team the published exploit was not deemed significant enough to warrant Postie being suspended and was reinstated without any code changes required.
Postie Suspended from the WordPress repository
UPDATE Jan 18, 2020 Postie has been reinstated!
I was notified today that Postie has been suspended from the WordPress plugin repository
Your plugin has had to be temporarily withdrawn from the WordPress.org Plugin Directory due to an exploit.
The exploit is that if someone knows your secret Postie email address and knows the email address of an authorized poster and they forge the email headers and your email server lets the forged headers through then they could post something.
You can read the gory details at https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20203
There is little impact if you don’t publicize your secret Postie email address and the email addresses of those users allowed to post.
I am actively looking into validating received emails via SPF and DKIM which are the same mechanisms email hosts use for verifying emails. This validation will likely affect some users so I will include an option for turning it off.
I do not know the exact timing yet, but I expect this will get resolved in the next couple of weeks and Postie will be restored to the WordPress plugin repository.
- Fix issue with class-oembed.php upgrade
- Add Site Health checks
- PHP 7.3 compatibility
- Fix bug where if Remove matched categories is No then the default category is always set.
- Address deprecated file class-oembed.php
Replace/Update Post by Email
A frequently requested feature is to be able to update a post by email. I’m happy to announce that it is now possible to do this via the Postie Shortcodes Addon.
To update a post create your email as usual then add
[preplace] at the end. In order for Postie to know which post to replace your email subject must match the post title exactly.
Let me know if this is useful.
- Fix bug where filtering out an attachment using
postie_include_attachmentprevented other attachments from being processed
- Update logging to output encoding info
- Fix bug where non-image titles are blank
Fixed bug where image titles are blank. Bug was introduced in 1.9.34. No significant impact, image files just had a blank title and showed as “(no title)” in the Media Library.