From 619b9d46b91cdf0f523b3804ec9a07b0f1ba4efe Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 16 Jun 2016 22:45:28 +0000 Subject: watch: introduce watch directive 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. --- lib/PublicInbox/Config.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/PublicInbox/Config.pm') 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; } -- cgit v1.2.3-24-ge0c7