]> Sergey Matveev's repositories - public-inbox.git/log
public-inbox.git
10 years agoremove failrepo config
Eric Wong [Sat, 5 Apr 2014 03:17:35 +0000 (03:17 +0000)]
remove failrepo config

We will just use the fallback in Email::Filter to
reduce configuration knobs.  Failed messages are failed
messages, do not classify them beyond that.

10 years agopublic-inbox-mda: preliminary manpage documentation
Eric Wong [Sat, 5 Apr 2014 01:33:46 +0000 (01:33 +0000)]
public-inbox-mda: preliminary manpage documentation

This still needs to be fleshed out.

10 years agoview: implement quote folding and flesh out tests
Eric Wong [Sat, 5 Apr 2014 01:11:08 +0000 (01:11 +0000)]
view: implement quote folding and flesh out tests

Unfortunately, quoting is often excessive, so hide multi-line quotes
by default and provide anchored links to full messages instead.

10 years agoconfig: add shortcut for retrieving elements
Eric Wong [Fri, 4 Apr 2014 23:31:46 +0000 (23:31 +0000)]
config: add shortcut for retrieving elements

Hopefully this makes for less ad-hoc hash access in case
our config format changes.

10 years agodoc: add design documentation for WWW interface
Eric Wong [Fri, 4 Apr 2014 23:28:53 +0000 (23:28 +0000)]
doc: add design documentation for WWW interface

Mainly, start with URL routes since that's what users usually
see, first.

10 years agoview: update IRP and MID links
Eric Wong [Fri, 4 Apr 2014 01:42:41 +0000 (01:42 +0000)]
view: update IRP and MID links

We'll go with .html and .txt suffixes on MIDs to benefit
static hosting setups.

10 years agoflesh out MDA and simplify config setup
Eric Wong [Tue, 1 Apr 2014 23:07:38 +0000 (23:07 +0000)]
flesh out MDA and simplify config setup

We will be reusing the config parsing code for the CGI
script, too.

10 years agoprecheck uses recipient argument
Eric Wong [Mon, 31 Mar 2014 20:16:19 +0000 (20:16 +0000)]
precheck uses recipient argument

We will also be using the RECIPIENT env in the future, since
that takes aliases into account.

Reducing the possible callsites to check ENV means we can more
easily update the code in the future.

10 years agoREADME: various updates
Eric Wong [Mon, 31 Mar 2014 20:15:27 +0000 (20:15 +0000)]
README: various updates

10 years agofilter: use regexp to check multipart bodies
Eric Wong [Fri, 4 Apr 2014 00:39:41 +0000 (00:39 +0000)]
filter: use regexp to check multipart bodies

This should be safer than running file(1), which has had its share
of vulnerabilities this year (early 2014) We really only care about
diffs and maybe short log files, here.

10 years agofilter: possibly keep PGP sigs only (not other types)
Eric Wong [Thu, 3 Apr 2014 20:28:30 +0000 (20:28 +0000)]
filter: possibly keep PGP sigs only (not other types)

We may keep PGP signatures for messages we do not modify.
However, we have no way of verifying them on the server-side.

10 years agodesign_notes: with philosophy
Eric Wong [Mon, 31 Mar 2014 19:58:24 +0000 (19:58 +0000)]
design_notes: with philosophy

10 years agofilter: use file(1) to detect mime type if octet-stream
Eric Wong [Fri, 28 Mar 2014 08:22:45 +0000 (08:22 +0000)]
filter: use file(1) to detect mime type if octet-stream

Some mailers do not correctly detect/set the Content-Type header; so
attempt to keep messages based on our server-detected MIME type if
application/octet-stream was specified.

10 years agoconfig: revamp API and implement lookup
Eric Wong [Thu, 27 Mar 2014 19:38:06 +0000 (19:38 +0000)]
config: revamp API and implement lookup

10 years agoinitial cut at Atom feed generation
Eric Wong [Mon, 24 Mar 2014 20:17:11 +0000 (20:17 +0000)]
initial cut at Atom feed generation

This should make it easier for non-ssoma users to follow.

10 years agoprecheck: require Message-ID to be set
Eric Wong [Tue, 25 Feb 2014 22:26:35 +0000 (22:26 +0000)]
precheck: require Message-ID to be set

Valid emails should not arrive without a Message-ID.

10 years agoview: add view module to be used for rendering HTML
Eric Wong [Tue, 25 Feb 2014 03:01:04 +0000 (03:01 +0000)]
view: add view module to be used for rendering HTML

This is to keep content accessible to search engines.

10 years agomove pre-spamc checks to PublicInbox->precheck
Eric Wong [Tue, 11 Feb 2014 00:36:06 +0000 (00:36 +0000)]
move pre-spamc checks to PublicInbox->precheck

We may add more checks before we go to spamc.

10 years agopublic-inbox-mda: reject messages without From header
Eric Wong [Tue, 11 Feb 2014 00:29:13 +0000 (00:29 +0000)]
public-inbox-mda: reject messages without From header

10 years agotrivial config module for dumping config
Eric Wong [Thu, 6 Feb 2014 22:19:20 +0000 (22:19 +0000)]
trivial config module for dumping config

We'll be using git config files after all...

10 years agodrop Mail-Followup-To, Mail-Reply-To, and Reply-To
Eric Wong [Tue, 14 Jan 2014 23:35:21 +0000 (23:35 +0000)]
drop Mail-Followup-To, Mail-Reply-To, and Reply-To

Due to the higher latency of a pull-based email, we want to
encourage the use of reply-to-all for public-inbox.

10 years agoreject messages if ORIGINAL_RECIPIENT is not specified
Eric Wong [Fri, 10 Jan 2014 23:50:16 +0000 (23:50 +0000)]
reject messages if ORIGINAL_RECIPIENT is not specified

SpamAssassin doesn't seem to have this heuristic, but the lack of
the intended email address in To:/Cc: headers cannot be a good
sign (especially when this is a _public_ inbox).

10 years agoscripts: add a link to GPLv3 license
Eric Wong [Fri, 10 Jan 2014 21:55:50 +0000 (21:55 +0000)]
scripts: add a link to GPLv3 license

10 years agopublic-inbox-mda: limit message size before spamc
Eric Wong [Fri, 10 Jan 2014 21:03:37 +0000 (21:03 +0000)]
public-inbox-mda: limit message size before spamc

Unfortunately we slurp, but expect our MTA to provide its own
limit on message sizes.

10 years agoscripts/import_gmane_spool: fix name in usage
Eric Wong [Fri, 10 Jan 2014 21:06:40 +0000 (21:06 +0000)]
scripts/import_gmane_spool: fix name in usage

Just use $0 for now, since I suck at naming things.

10 years agoignore all *.gz files
Eric Wong [Thu, 9 Jan 2014 23:24:07 +0000 (23:24 +0000)]
ignore all *.gz files

We generate them when publishing.

10 years agoadd preliminary INSTALL documentation
Eric Wong [Thu, 9 Jan 2014 22:46:39 +0000 (22:46 +0000)]
add preliminary INSTALL documentation

10 years agoadd MANIFEST for distribution
Eric Wong [Thu, 9 Jan 2014 22:41:09 +0000 (22:41 +0000)]
add MANIFEST for distribution

10 years agoinitial commit
Eric Wong [Thu, 9 Jan 2014 23:13:37 +0000 (23:13 +0000)]
initial commit