about summary refs log tree commit homepage
path: root/lib/PublicInbox/MDA.pm
DateCommit message (Collapse)
2016-04-25remove ssoma dependency
By converting to using ourt git-fast-import-based Import module. This should allow us to be more easily installed.
2016-04-25mda: don't clobber existing List-Id header
We may be importing mail from other lists, so do not clobber the existing List-Id header.
2016-04-21mda: reject multiple Message-IDs up front
While ssoma now documents it uses the first Message-ID, they are confusing and could be a sign of a broken mail software, and broken mail software is often a sign of spam... ref: http://public-inbox.org/meta/20160421221128.4910-1-e@80x24.org/
2016-03-03use raw header for Message-ID
Message-IDs should not be MIME encoded, but in case they are, use the raw form for compatibility with ssoma and possibly other tools. This prevents a potential problem where a malicious client could confuse our storage layer into indexing incorrect contents.
2015-11-20various internal documentation updates
Hopefully this gives new hackers a better overview of how the components relate to each other.
2015-10-03drop Message-IDs longer than 244 bytes
Xapian has this limit for terms, and there are likely no legitimate Message-IDs (or single header lines) this long; so there's no need to workaround this limit.
2015-10-01mda: keep DKIM crap
This is probably unsafe
2015-09-06update copyright headers and email addresses
In the future, it should be possible to use this: git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \ UPDATE_COPYRIGHT_USE_INTERVALS=2 \ xargs /path/to/gnulib/build-aux/update-copyright
2015-08-24mda: remove unnecessary import
Relying on Email::MIME means encoding is handled transparently for us.
2015-08-23cleanup Email::Address usage
Email::Address::name never fails assuming it was able to parse anything.
2014-05-21MDA: cleanse headers in case of delivery
We nuke DKIM headers because we modify headers and sometimes the body, which may invalidate the message. We'll also nuke whatever Mailman nukes from messages to avoid phishing and leaking information.
2014-05-08mda: drop RFC2369 support for now
That should be use down stream by delivery agents.
2014-05-05mda: attempt to prevent training loops
2014-05-04add various TODO items
Screen space is precious, and we do not need it in the abbreviated view.
2014-04-28mda: support aliased addresses
This mimics functionality found in -learn. Originally the design allowed for only one address per-list, but when migrating/hijacking existing mailing lists, having multiple addresses map to the same inbox is useful.
2014-04-26huge refactor of encoding handling
Hopefully this simplifies and corrects our usage of Perl encoding APIs.
2014-04-19mda: share commit setup code with -learn
We need -learn to do many of the same things as -mda when we have a false-positive. We also need -learn to do HTML filtering in case the training user screws up.
2014-04-19move precheck to MDA namespace
We will be combining common code between -learn and -mda