about summary refs log tree commit homepage
path: root/lib/PublicInbox/Config.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-16 22:45:28 +0000
committerEric Wong <e@80x24.org>2016-06-17 00:27:44 +0000
commit619b9d46b91cdf0f523b3804ec9a07b0f1ba4efe (patch)
treea6304a15544ea3ee90dfe7cf2e6169aab2bc16b1 /lib/PublicInbox/Config.pm
parent160a6d5672fef64c174c8d79c07851eaadf6d0e6 (diff)
downloadpublic-inbox-619b9d46b91cdf0f523b3804ec9a07b0f1ba4efe.tar.gz
This will allow users to run importers off existing mail
accounts where they may not have access to run -mda.
Currently, we only support Maildirs, but IMAP ought to be
doable.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r--lib/PublicInbox/Config.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index 4651861d..43ffba77 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -120,7 +120,8 @@ sub _fill {
         my ($self, $pfx) = @_;
         my $rv = {};
 
-        foreach my $k (qw(mainrepo address filter url newsgroup)) {
+        foreach my $k (qw(mainrepo address filter url newsgroup
+                        watch watchheader)) {
                 my $v = $self->{"$pfx.$k"};
                 $rv->{$k} = $v if defined $v;
         }