"Eric W. Biederman" <[email protected]> wrote:
> Eric Wong <[email protected]> writes:
> 
> > While it's not RFC2919-conformant, mail software can
> > theoretically set multiple List-ID headers.  Deliver to all
> > inboxes which match a given List-ID since that's likely the
> > intended.
> 
> There is a todo line you can kill, noted below.

Done and pushed

> There should probably be a warning about List-ID's you can't
> look up.
> 
> In case of misconfiguration or you subscribe to an extra mail-box and
> have not yet configured the List-ID for the list.  I don't know how to
> find the List-ID ahead of time so it seems inevitiable that there will
> be a couple messages with an uncofigured List-ID.

I'm not so sure about that...  We don't warn on existing cases
involving ORIGINAL_RECIPIENT/To/Cc.  Instead, it goes to
~/.public-inbox/emergency/ (or whatever PI_EMERGENCY is set to).

> If you are not receiving from a mailling list you might get spam or
> other unsolicited email from someone's list server.  Knowing the List-ID
> of that email is probably also useful.  Knowing that this kind of
> non-sense exists guarantees that there will be email whose List-ID won't
> be configured.

Given we already toss undeliverables into an emergency/ Maildir;
I don't think training users to look for warnings in noisy (and
potentially access-limited) mail logs is necessary.


> > Cc: Eric W. Biederman <[email protected]>
> > Link: https://public-inbox.org/meta/[email protected]/
> > ---

> > diff --git a/lib/PublicInbox/MDA.pm b/lib/PublicInbox/MDA.pm
> > index ce2c870f..933d82a8 100644
> > --- a/lib/PublicInbox/MDA.pm
> > +++ b/lib/PublicInbox/MDA.pm
> > @@ -84,18 +84,25 @@ sub set_list_headers {
> >  }
> >  
> >  # TODO: deal with multiple List-ID headers?
>    ^^^^^^^^^^^^^^^^^^------ You can kill this line now.

Yup.  I also have lots of TODO comments throughout which
need to be updated/removed :x
--
unsubscribe: [email protected]
archive: https://public-inbox.org/meta/

Reply via email to