Talk:VERP

Jump to navigation Jump to search

About this board

Deadline

Hi all. This is Tony. Should I submit the entire project schedule when I submit the proposal by March 10 ? —The preceding unsigned comment was added by 01tonythomas (talkcontribs

Sure, go ahead! --GeorgeBarnick (talk) 16:27, 8 March 2014 (UTC)
At least a stub would be advisable. --Nemo 16:29, 8 March 2014 (UTC)
I will try to add a rough sketch, also, should the Mentors name be added ? I dont see any of the other templates with that. —The preceding unsigned comment was added by 01tonythomas (talkcontribs
As long as you have all the minimum information and you follow more or less the same structure (sections), you can add all you want. :) --Nemo 18:42, 8 March 2014 (UTC)

Using HMAC

As per the current discussions (with my mentors, Chris Steipp and Bugzilla bug#46640) the decision to use HMAC is proposed. An HMAC, with a secret key, over a string containing the user's email address, timestamp, and the list name can generate the VERP address. The advantage is that php has a built in function for it-- http://us1.php.net/hash_hmac We need developer consensus on the same.

Nemo bis (talkcontribs)
Reply to "Domain spoofing"
Nemo bis (talkcontribs)
Reply to "Blog"
01tonythomas (talkcontribs)

Hi Tyler,

I was going through your recommendations on replacing PHP mailer with Swift Mailer. I was working with Jeff and Legoktm on
implementing VERP feature to handle e-mail bounces. Nemo told me about adding the porting too in my proposal, as its worth it .
Can you comment on the proposal about the feasibility of implementing VERP in swift mailer than on the PHP mailer ? Propsal link:- https://www.mediawiki.org/wiki/VERP

Parent5446 (talkcontribs)

Hey,

Implementing VERP using SwiftMailer should be pretty trivial. All you have to do is transform the recipient email and add it to the Return-Path header. I'd actually recommend implementing VERP as a plugin to SwiftMailer (since SwiftMailer is extensible) if you plan on doing that.

01tonythomas (talkcontribs)

Hi, I will talk with my mentors on that. I am confused when the porting needs to be done. If VERP is to be implemented as a plugin fro SwiftMailer, probably we need to port first.

Jgreen (wmf) (talkcontribs)

Tyler could you elaborate on the plugin suggestion? Why a plugin rather than simply setting Return-Path when calling the mailer?

Parent5446 (talkcontribs)

I mean, you can structure it any way you see fit. In this case VERP is pretty simple, but usually it's more modular to make it a plugin. Rather than calculating the Return-Path header value in controller code, you'd have the plugin calculate it automatically based on the recipient.

Jgreen (wmf) (talkcontribs)

I think we intend to encode more than just the recipient address in the VERP hash--the current plan is to use HMAC with a secret key to encode recipient address, origination time, and list name in the hash. So the plugin would need access to a bunch of contextual data to generate the hash.

Parent5446 (talkcontribs)

In that case it makes even more sense to do it as a plugin. The plugin would have access to whatever context it needs, and whatever code is sending the mail does not need to worry about the HMAC calculation. In other words, you want a separation of concerns so that anybody who is using SwiftMailer only need to worry about what is actually being put in the message.

Reply to "Swift Mailer and VERP"
There are no older topics