Last modified: 2014-11-19 18:15:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71019, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69019 - Review and deploy BounceHandler extension to Wikimedia wikis
Review and deploy BounceHandler extension to Wikimedia wikis
Status: PATCH_TO_REVIEW
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 69101 69098 69099 69100 69621 72683 72684 72685 72686 73083
Blocks: 31235 46640
  Show dependency treegraph
 
Reported: 2014-08-01 19:15 UTC by Tony Thomas
Modified: 2014-11-19 18:15 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tony Thomas 2014-08-01 19:15:43 UTC
Extension Wikipage: https://www.mediawiki.org/wiki/Extension:BounceHandler

The BounceHandler extension generates a unique VERP address on every sent email, and has the bouncehandler API that can handle incoming email bounces once the bounce is HTTP POSTed to it via curl from exim. The extension was built as part of the VERP project to properly handle email bounces. 

Pipe incoming bounces to the bouncehandler API:- 
You need to add the following to your incoming mails to *@wikimedia.com receving PIPE transport: 
command = /usr/bin/curl "action=bouncehandler" --data-urlencode "email@-" http://$IP/api.php

The genrated VERP address is of the form 
$wikiId-base36( $UserID )-base36( $Timestamp )-hash( $algorithm,$key, $prefix )@$email_domain 

where 
$wikiId - The wiki database name, to support multiple wikis
$userID - The user_id from table 'user' - to uniquely identify a recipient.
$Timestamp - The unix timestamp.
$prefix = $wikiId. '-'. base_convert( $uid, 10, 36). '-'. base_convert( $timeNow, 10, 36);

Gerrit: https://github.com/wikimedia/mediawiki-extensions-BounceHandler
Comment 1 Andre Klapper 2014-08-03 20:35:10 UTC
For clarification, have security review and performance review of the code base happened already, or are there explicit tickets requesting those actions?
Comment 2 Greg Grossmeier 2014-08-03 21:10:44 UTC
For completeness' sake, see the checklist and please create bugs for parts still needing to be done: https://www.mediawiki.org/wiki/Review_queue#Checklist
Comment 3 Tony Thomas 2014-08-04 12:44:54 UTC
Requested separate bugs for Architecture, Performance, Security and Product reviews. Please check See Also link for the links.
Comment 4 Kunal Mehta (Legoktm) 2014-08-15 18:11:52 UTC
With I758f82729b1c9c6993f536fbd5f3ea9d83b4be28, we have an option to not unconfirm emails and just log bounces. So I'm thinking we should just deploy in a log-only configuration for a month or so, figure out a good threshold for when to start unsubscribing people, and go from there.
Comment 5 Greg Grossmeier 2014-10-28 17:41:14 UTC
Scheduled for Wed Nov 5th.
Comment 6 Sam Reed (reedy) 2014-10-30 20:16:23 UTC
72779 doesn't have to be a blocker to deployment...
Comment 7 Gerrit Notification Bot 2014-10-31 18:23:35 UTC
Change 170369 had a related patch set uploaded by 01tonythomas:
Added the Plancake e-mail parser library to MediaWiki using Composer

https://gerrit.wikimedia.org/r/170369
Comment 8 Gerrit Notification Bot 2014-11-10 20:19:29 UTC
Change 172322 had a related patch set uploaded by Legoktm:
[WIP] Deploy BounceHandler extension to production

https://gerrit.wikimedia.org/r/172322
Comment 9 Greg Grossmeier 2014-11-14 16:14:06 UTC
(In reply to Greg Grossmeier from comment #5)
> Scheduled for Wed Nov 5th.

How about we try this again... ;)

Wed Nov 19th at 10am Pacific
Comment 10 Gerrit Notification Bot 2014-11-19 18:15:41 UTC
Change 172322 merged by jenkins-bot:
Deploy BounceHandler extension to production

https://gerrit.wikimedia.org/r/172322

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links