Opened 15 years ago
Last modified 15 years ago
#103 new defect
news2mail does not handle postings with different senders
Reported by: | Julien ÉLIE | Owned by: | eagle |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | utilities | Version: | 2.4.5 |
Severity: | normal | Keywords: | |
Cc: |
Description
- Stussy reports that news2mail does not handle postings to multiple lists which have different envelope-from senders.
It should be handled by sending multiple messages. One would have to call mailto() for each UNIQUE SENDER in saddr{}. A null entry (or no entry) in saddr{} for a given list can match any non-null entry (but should only actually be matched to one - e.g. the first). Note that the number of unique senders is not necessarily the same as the number of lists.
Currently, the "news" user is used as the envelope-from sender when multiple lists receive a posting, or when one list omits the third parameter in news2mail.cf. The news2mail program is set up as a funneled channel in newsfeeds, implying multiple matches should be handled as one -- and multiple matching funneled feeds will result in a single call to the script.
Pseudo-code suggestion from D. Stussy: