Opened 11 years ago

Last modified 3 years ago

#124 new defect

Support per-peer configuration of IMAP parameters for imapfeed

Reported by: Julien ÉLIE Owned by: eagle
Priority: low Milestone: 2.6.x
Component: innfeed Version:
Severity: wishlist Keywords:
Cc:

Description

We should proof-read all the variables parsed in innfeed.conf, fix possible errors and update the man page (converting it into POD).

In an inn-bugs posting, Jeffrey T. Eaton reports that imapfeed has a bug in its configuration parsing:

If I configure my feed as

group cyrus {
 deliver-rcpt-to:        bb+%s
 peer cyrus.andrew.cmu.edu {
    ip-name: cyrus.andrew.cmu.edu
 }
}

or as:

group cyrus {
 peer cyrus.andrew.cmu.edu {
    deliver-rcpt-to:        bb+%s
    ip-name: cyrus.andrew.cmu.edu
 }
}

then the deliver-rcpt-to setting is ignored. If I move it outside of
the group block, then it is honored. IE, this works:

deliver-rcpt-to:        bb+%s
group cyrus {
 peer cyrus.andrew.cmu.edu {
    ip-name: cyrus.andrew.cmu.edu
 }
}

Change History (5)

comment:1 Changed 11 years ago by Julien ÉLIE

As Russ Allbery wrote as a response, we should see what to do with those parameters.

There might be a need for deliver-username and deliver-password for instance. There are not necessarily global.

comment:2 Changed 10 years ago by Julien ÉLIE

  1. Stussy also reports that innfeed flags certain things missing from the configuration file as errors (saying "required") but then continues to run (even when not defined at top level). For instance, "ME config: no definition for required key backlog-limit".

comment:3 Changed 8 years ago by Julien ÉLIE

Severity: normalwishlist
Summary: Configuration parsing and documentation of innfeed.confSupport per-peer configuration of IMAP parameters for imapfeed

The whole innfeed.conf documentation has been proof-read and converted to POD.
The updated documentation is shipped with INN 2.5.3.

No keys are actually required. The warning mentioned by D. Stussy no longer exists in INN 2.5.3.

Only remaining task: make the deliver-* keys configurable per-peer for imapfeed.

comment:4 Changed 5 years ago by Julien ÉLIE

Milestone: 2.6.02.6.1

comment:5 Changed 3 years ago by Julien ÉLIE

Milestone: 2.6.12.6.x

Milestone renamed

Note: See TracTickets for help on using tickets.