VERP/GSOC Progress Report

GSoC Project Progress Report
Community Bonding Period

I was active in the Wikimedia community since November 2013, so I concentrated on getting more feedback on the project -- specially the shift from PHP/ Pear mailer to third party software - Swift mailer. The shift requires a lot of consience and I kept on getting feedback, through Wikitech-I and the bugzilla report. Details of the mails are attached below. I had already started building the project environment by March 2014 with help of Jeff and legoktm, so was polishing on its working -- porting it to wikitech labs ( under project name: mediawiki-verp ).

Please follow my blog at :- http://tttwrites.wordpress.com/ to watch regular updates on my GSoC Project

March 2014

 * 1) Built local instance of Wikimedia Email-Web server model.(https://www.mediawiki.org/wiki/VERP/MicroTasks )
 * 2) Model consisted of two virtualboxes, Box1 (runing exim4 and MW core) sending emails via Box2 (running postfix).

April 2014

 * 1) Modified test environment: box1 has MW running -> sends the email -> intercepted by box2 -> routed to Box2 /var/mail/root. Box2 has external connection via NAT.
 * 2) Box2 rejects the mail, Box1 exim produce the bounce to wiki@wikimedia.org in /var/mail/wiki

Week 1 and 2: May 1 to May 19
Week 3 : May 19 - May 26 Week 4 and 5 : May 27 - June 7 Week 6 : June 9 - June 15
 * 1) Shifted the above local instance to WikiTech labs ( under project mediawiki-verp ). box1verpnop sends the mail having box2verpnop as the smarthost which rejects all mails to wiki@wikimedia.org. The bounce is created by box1 in the /var/mail/root of box1verpnop.
 * 2) Discussion on shifting from PHP mailer to Swift mailer.
 * 3) Overcome the SSH slow response time by mosh-ing into the Wikitech Server.
 * 1) Working on shifting the default PEAR mailer in mediawiki to Third Party - SwiftMailer.
 * 2) Submitted patch in gerrit (https://gerrit.wikimedia.org/r/#/c/135290/)
 * 3) Asked review for the shift at ([])
 * 1) Working on improving https://gerrit.wikimedia.org/r/#/c/135290/, now needs to pass Jenkins tests
 * 2) Got private repo for swiftmailer created at https://github.com/wikimedia/mediawiki-core-vendor-swiftmailer
 * 3) Got swiftmailer code hosted at https://github.com/wikimedia/mediawiki-core-vendor-swiftmailer/tree/5.2.0-patch by reporting bug, https://bugzilla.wikimedia.org/show_bug.cgi?id=66110
 * 4) Added Composer installation for Development clusters from vendore/swiftmailer, by patch https://gerrit.wikimedia.org/r/#/c/137538/
 * 5) On the networking side, made a return mail to a specific address handled by a pipe transport, hosted in Wikitech-labs, Project:- mediawiki-verp, machine - box1verpnop
 * 6) Blog posts on Forwarding mails to PHP script - http://tttwrites.wordpress.com/2014/06/07/forwarding-mails-to-a-php-script-with-exim4/
 * 7) Blog posts on Exim configs ( http://tttwrites.wordpress.com/category/technical/exim/)
 * 8) Blog posts on Composer ( http://tttwrites.wordpress.com/category/technical/composer/)
 * 9) Blog posts on creating release tag from an existing tag - used to prepare the SwiftMailer repo ( http://tttwrites.wordpress.com/2014/06/06/composer-loading-specific-tags-instead-of-branches/ )
 * 1) Started implementing VERP ( https://gerrit.wikimedia.org/r/#/c/138655/ )
 * 2) Creating a new Extension - BounceHandler - will be uploaded into gerrit soon. Now available at ( https://github.com/tonythomas01/BounceHandler )
 * 3) Installed IMAP server dovecot, getting script to fetch and evaluate bounces into hard/soft bounce ( https://github.com/tonythomas01/exim4box1verp/blob/handlingBHM/bhm/script.php )
 * 4) Requested for new repo at: mediawiki/extensions/BounceHandler
 * 5) Blog post on IMAP installation and configuration (http://tttwrites.wordpress.com/2014/06/13/using-imap-with-dovecot-in-wikitech-labs-instance/)