Last modified: 2014-08-15 19:01:17 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 T71098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69098 - Product review BounceHandler extension for deployement
Product review BounceHandler extension for deployement
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 69019
  Show dependency treegraph
 
Reported: 2014-08-04 12:26 UTC by Tony Thomas
Modified: 2014-08-15 19:01 UTC (History)
7 users (show)

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


Attachments

Description Tony Thomas 2014-08-04 12:26:27 UTC
Sub part of Bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=69019

Extension Wikipage: https://www.mediawiki.org/wiki/Extension:BounceHandler

Quoting: https://bugzilla.wikimedia.org/show_bug.cgi?id=69019#c0
>>
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);

It use the Plancake mail parser external library to extract the headers as an addition to the optional inbuilt regex functions. 

Gerrit: https://github.com/wikimedia/mediawiki-extensions-BounceHandler
Comment 1 Kunal Mehta (Legoktm) 2014-08-15 19:01:17 UTC
Greg said this isn't needed.

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


Navigation
Links