WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 9 years ago

Last modified 7 weeks ago

#11988 closed defect (bug) (invalid)

VERP does not work

Reported by: vladimir_kolesnikov Owned by: westi
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Mail Keywords: has-patch
Focuses: Cc:

Description

Suppose that we have a custom hook for "phpmailer_init" action which enables VERP support:

function phpmailer_init($phpmailer)
{
    $phpmailer->IsSMTP();
    if (!$phpmailer->smtp) {
        $phpmailer->smtp = new SMTP();
    }

    $phpmailer->smtp->do_verp = true;
}

But VERP support (in wp-includes/class-smtp.php) is a bit buggy: here's the transcript the session:

 Out: 220 example.com ESMTP Postfix
 In:  EHLO example.com
 Out: 250-example.com
 Out: 250-PIPELINING
 Out: 250-SIZE 10240000
 Out: 250-ETRN
 Out: 250-XVERP
 Out: 250-ENHANCEDSTATUSCODES
 Out: 250-8BITMIME
 Out: 250 DSN
 In:  MAIL FROM:<mailer@example.com>XVERP
 Out: 501 5.1.7 Bad sender address syntax
 In:  RSET
 Out: 250 2.0.0 Ok

You can see that the server (Postfix) supports VERP (250-XVERP) but the MAIL FROM line is malformed - it lacks space character between ">" and "XVERP":

220 example.com ESMTP Postfix (Ubuntu)
EHLO example.com
250-example.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-XVERP
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM:<mailer@example.com> XVERP
250 2.1.0 Ok
RSET
250 2.0.0 Ok
QUIT
221 2.0.0 Bye

You can see that the space character solves the problem.

Attachments (1)

class-smtp.php.diff (463 bytes) - added by vladimir_kolesnikov 12 years ago.

Download all attachments as: .zip

Change History (13)

#1 @vladimir_kolesnikov
12 years ago

A typo: should be

function phpmailer_init(&$phpmailer)

instead of

function phpmailer_init($phpmailer)

in the example.

#2 @vladimir_kolesnikov
12 years ago

  • Cc vladimir@… added

#3 @nacin
12 years ago

This is an external, so this should be reported upstream. Is class-smtp current?

#4 @nacin
12 years ago

  • Milestone changed from Unassigned to Future Release

#5 @hakre
11 years ago

"Upstream" for PHPMailer for PHP 4 is WordPress :) If we do not fix this, there is no fix.

#7 @westi
10 years ago

  • Owner set to westi
  • Status changed from new to assigned

We need to open a new upstream ticket for this in http://code.google.com/a/apache-extras.org/p/phpmailer/issues/list

#8 @bpetty
9 years ago

  • Cc bryan@… added
  • Resolution set to invalid
  • Status changed from assigned to closed

Since no-one else bothered, I went ahead and submitted a ticket to fix VERP on the correct PHPMailer issue tracker where this should be.

http://code.google.com/a/apache-extras.org/p/phpmailer/issues/detail?id=92

This will be resolved on upstream update assuming it is something that should be fixed, and isn't actually a bug with Postfix - we leave that up to PHPMailer to determine.

#9 @bpetty
9 years ago

For what it's worth, this was now applied to PHPMailer after I created the ticket, so it will make it into WordPress on the next upstream update (see #21074 ).

#10 @SergeyBiryukov
9 years ago

  • Milestone Future Release deleted

#11 @bpetty
9 years ago

  • Cc bpetty added; bryan@… removed

#12 @qaisarmehmood12345
7 weeks ago

https://lionsonlineforcesacademy.wordpress.com
https://dubaitimesblog.wordpress.com
https://edcationinpakistan.wordpress.com
https://mywebsitestorenew.wordpress.com
https://mywebsitestoreold.wordpress.com
https://theguestpostcontent.wordpress.com
https://thesupercontent.wordpress.com
https://thesuperbloggers.wordpress.com
https://thebloggerfundablog.wordpress.com
https://therunnerblogger.wordpress.com
https://Foodreviewbloggerblog.wordpress.com
https://thenewbieblogger.wordpress.com
https://eindianbloggershub.wordpress.com
https://eamericansupperblogger.wordpress.com
https://eperfectaustralianblogger.wordpress.com
https://themostwantedbloggernow.wordpress.com
https://howyoudothatbloggers.wordpress.com
https://whywearebestbloggernow.wordpress.com
https://eLetmedownslowly.wordpress.com
https://RedditRefrencesblogger.wordpress.com
https://digitalTeamworkblogger.wordpress.com
https://theseoandwriteragency.wordpress.com
https://Theclientproblemsolver.wordpress.com
https://theworldnewblogger.wordpress.com
https://thewonderofworldbloggers.wordpress.com
https://theestatementblogger.wordpress.com
https://emobilesandgamesblog.wordpress.com
https://thesuperindianblogger.wordpress.com
https://thesuperpakistaniblogger.wordpress.com
https://themightybloggerhere.wordpress.com
https://thebestbloggersnow.wordpress.com
https://thesuperindianblogger.wordpress.com
https://thesuperpakistaniblogger.wordpress.com
https://theheavyseoblogger.blogspot.com
https://supercontentcreatorblogger.blogspot.com
https://worldbloggergroups.blogspot.com
https://isuperseoblogger.blogspot.com
https://whocleartheway.blogspot.com
https://theinternationalbloggerss.blogspot.com
https://thetechbloggernews.blogspot.com
https://technologynewsbloggers.blogspot.com
https://supersolidblogger.blogspot.com
https://supernewsbloggers.blogspot.com
https://breakthisnewsblogger.blogspot.com
https://buildingtechsblogger.blogspot.com
https://dubaitimesblog.blogspot.com
https://dubaivehicle.blogspot.com
https://lionsonlineforcesacademy.blogspot.com
https://colocksmiths.blogspot.com
https://fddddsfddcdc.blogspot.com
https://edcationinpakistan.blogspot.com
https://nncdcee.blogspot.com
https://testfnm5.blogspot.com
https://dubaiupdatesonline.blogspot.com
https://mywebsitestorenew.blogspot.com
https://mywebsitestoreold.blogspot.com
https://theguestpostcontent.blogspot.com
https://thesupercontent.blogspot.com
https://thesuperbloggers.blogspot.com
https://thebloggerfundablog.blogspot.com
https://therunnerblogger.blogspot.com
https://Foodreviewbloggerblog.blogspot.com
https://thenewbieblogger.blogspot.com
https://eindianbloggershub.blogspot.com
https://eperfectaustralianblogger.blogspot.com
https://uaeblogonline.blogspot.com
https://uaenewsagency.blogspot.com
https://uaeultimate.blogspot.com
https://uaenewsagency.blogspot.com
https://dubaivehicle.blogspot.com
https://uaeultimate.blogspot.com
https://uaeblogonline.blogspot.com
https://fddddsfddcdc.blogspot.com
https://pakeducationalist.blogspot.com
https://dubaitimesblog.blogspot.com
https://edcationinpakistan.blogspot.com
https://mywebsitestorenew.blogspot.com
https://mywebsitestoreold.blogspot.com
https://theguestpostcontent.blogspot.com
https://thesupercontent.blogspot.com
https://thesuperbloggers.blogspot.com
https://thebloggerfundablog.blogspot.com
https://therunnerblogger.blogspot.com
https://Foodreviewbloggerblog.blogspot.com
https://thenewbieblogger.blogspot.com
https://eindianbloggershub.blogspot.com
https://eamericansupperblogger.blogspot.com
https://eperfectaustralianblogger.blogspot.com
https://themostwantedbloggernow.blogspot.com
https://howyoudothatbloggers.blogspot.com
https://whywearebestbloggernow.blogspot.com
https://eLetmedownslowly.blogspot.com
https://RedditRefrencesblogger.blogspot.com
https://digitalTeamworkblogger.blogspot.com
https://theseoandwriteragency.blogspot.com
https://Theclientproblemsolver.blogspot.com
https://theworldnewblogger.blogspot.com
https://thewonderofworldbloggers.blogspot.com
https://theestatementblogger.blogspot.com
https://emobilesandgamesblog.blogspot.com
https://thesuperusablogger.blogspot.com
https://thesuperindianblogger.blogspot
https://theheavyseoblogger.ml
https://supercontentcreatorblogger.ml
https://worldbloggergroups.ml
https://isuperseoblogger.ml
https://whocleartheway.ml
https://theinternationalbloggerss.ml
https://thetechbloggernews.ml
https://technologynewsbloggers.ml
https://supersolidblogger.ml
https://supernewsbloggers.ml
https://breakthisnewsblogger.ml
https://buildingtechsblogger.ml
https://dubaitimesblog.ml
https://dubaivehicle.ml
https://lionsonlineforcesacademy.ml
https://colocksmiths.ml
https://fddddsfddcdc.ml
https://edcationinpakistan.ml
https://nncdcee.ml
https://testfnm5.ml
https://dubaiupdatesonline.ml
https://mywebsitestorenew.ml
https://mywebsitestoreold.ml
https://theguestpostcontent.ml
https://thesupercontent.ml
https://thesuperbloggers.ml
https://thebloggerfundablog.ml
https://therunnerblogger.ml
https://Foodreviewbloggerblog.ml
https://thenewbieblogger.ml
https://eindianbloggershub.ml
https://eperfectaustralianblogger.ml
https://uaeblogonline.ml
https://uaenewsagency.ml
https://uaeultimate.ml
https://uaenewsagency.ml
https://dubaivehicle.ml
https://uaeultimate.ml
https://uaeblogonline.ml
https://fddddsfddcdc.ml
https://pakeducationalist.ml
https://dubaitimesblog.ml
https://edcationinpakistan.ml
https://mywebsitestorenew.ml
https://mywebsitestoreold.ml
https://theguestpostcontent.ml
https://thesupercontent.ml
https://thesuperbloggers.ml
https://thebloggerfundablog.ml
https://therunnerblogger.ml
https://Foodreviewbloggerblog.ml
https://thenewbieblogger.ml
https://eindianbloggershub.ml
https://eamericansupperblogger.ml
https://eperfectaustralianblogger.ml
https://themostwantedbloggernow.ml
https://howyoudothatbloggers.ml
https://whywearebestbloggernow.ml
https://eLetmedownslowly.ml
https://RedditRefrencesblogger.ml
https://digitalTeamworkblogger.ml
https://theseoandwriteragency.ml
https://Theclientproblemsolver.ml
https://theworldnewblogger.ml
https://thewonderofworldbloggers.ml
https://theestatementblogger.ml
https://emobilesandgamesblog.ml
https://thesuperusablogger.ml
https://thesuperindianblogger.blogspot
https://thesuperpakistaniblogger.ml
https://thegoodbloggershere.ml
https://themightybloggerhere.wordpress.com
https://themightybloggerhere.ml
https://thebestbloggersnow.wordpress.com
https://thecrazybloggerssn.ml
https://theheavyseoblogger.cf
https://supercontentcreatorblogger.cf
https://worldbloggergroups.cf
https://isuperseoblogger.cf
https://whocleartheway.cf
https://theinternationalbloggerss.cf
https://thetechbloggernews.cf
https://technologynewsbloggers.cf
https://supersolidblogger.cf
https://supernewsbloggers.cf
https://breakthisnewsblogger.cf
https://buildingtechsblogger.cf
https://dubaitimesblog.cf
https://dubaivehicle.cf
https://lionsonlineforcesacademy.cf
https://colocksmiths.cf
https://fddddsfddcdc.cf
https://edcationinpakistan.cf
https://nncdcee.cf
https://testfnm5.cf
https://dubaiupdatesonline.cf
https://mywebsitestorenew.cf
https://mywebsitestoreold.cf
https://theguestpostcontent.cf
https://thesupercontent.cf
https://thesuperbloggers.cf
https://thebloggerfundablog.cf
https://therunnerblogger.cf
https://Foodreviewbloggerblog.cf
https://thenewbieblogger.cf
https://eindianbloggershub.cf
https://eperfectaustralianblogger.cf
https://uaeblogonline.cf
https://uaenewsagency.cf
https://uaeultimate.cf
https://uaenewsagency.cf
https://dubaivehicle.cf
https://uaeultimate.cf
https://uaeblogonline.cf
https://fddddsfddcdc.cf
https://pakeducationalist.cf
https://dubaitimesblog.cf
https://edcationinpakistan.cf
https://mywebsitestorenew.cf
https://mywebsitestoreold.cf
https://theguestpostcontent.cf
https://thesupercontent.cf
https://thesuperbloggers.cf
https://thebloggerfundablog.cf
https://therunnerblogger.cf
https://Foodreviewbloggerblog.cf
https://thenewbieblogger.cf
https://eindianbloggershub.cf
https://eamericansupperblogger.cf
https://eperfectaustralianblogger.cf
https://themostwantedbloggernow.cf
https://howyoudothatbloggers.cf
https://whywearebestbloggernow.cf
https://eLetmedownslowly.cf
https://RedditRefrencesblogger.cf
https://digitalTeamworkblogger.cf
https://theseoandwriteragency.cf
https://Theclientproblemsolver.cf
https://theworldnewblogger.cf
https://thewonderofworldbloggers.cf
https://theestatementblogger.cf
https://emobilesandgamesblog.cf
https://thesuperusablogger.cf
https://thesuperindianblogger.blogspot
https://thesuperindianblogger.tk
https://thesuperpakistaniblogger.tk
https://thesuperpakistaniblogger.cf
https://thegoodbloggershere.cf
https://themightybloggerhere.tk
https://themightybloggerhere.cf
https://theheavyseoblogger.tk
https://supercontentcreatorblogger.tk
https://worldbloggergroups.tk
https://isuperseoblogger.tk
https://whocleartheway.tk
https://theinternationalbloggerss.tk
https://thetechbloggernews.tk
https://technologynewsbloggers.tk
https://supersolidblogger.tk
https://supernewsbloggers.tk
https://breakthisnewsblogger.tk
https://buildingtechsblogger.tk
https://dubaitimesblog.tk
https://dubaivehicle.tk
https://lionsonlineforcesacademy.tk
https://colocksmiths.tk
https://fddddsfddcdc.tk
https://edcationinpakistan.tk
https://nncdcee.tk
https://testfnm5.tk
https://dubaiupdatesonline.tk
https://mywebsitestorenew.tk
https://mywebsitestoreold.tk
https://theguestpostcontent.tk
https://thesupercontent.tk
https://thesuperbloggers.tk
https://thebloggerfundablog.tk
https://therunnerblogger.tk
https://Foodreviewbloggerblog.tk
https://thenewbieblogger.tk
https://eindianbloggershub.tk
https://eperfectaustralianblogger.tk
https://uaeblogonline.tk
https://uaenewsagency.tk
https://uaeultimate.tk
https://uaenewsagency.tk
https://dubaivehicle.tk
https://uaeultimate.tk
https://uaeblogonline.tk
https://fddddsfddcdc.tk
https://pakeducationalist.tk
https://lionsonlineforcesacademy.tk
https://dubaitimesblog.tk
https://edcationinpakistan.tk
https://mywebsitestorenew.tk
https://mywebsitestoreold.tk
https://theguestpostcontent.tk
https://thesupercontent.tk
https://thesuperbloggers.tk
https://thebloggerfundablog.tk
https://therunnerblogger.tk
https://Foodreviewbloggerblog.tk
https://thenewbieblogger.tk
https://eindianbloggershub.tk
https://eamericansupperblogger.tk
https://eperfectaustralianblogger.tk
https://themostwantedbloggernow.tk
https://howyoudothatbloggers.tk
https://whywearebestbloggernow.tk
https://eLetmedownslowly.tk
https://RedditRefrencesblogger.tk
https://https://digitalTeamworkblogger.tk
https://theseoandwriteragency.tk
https://Theclientproblemsolver.tk
https://https://theworldnewblogger.tk
https://thewonderofworldbloggers.tk
https://theestatementblogger.tk
https://emobilesandgamesblog.tk
https://theheavyseoblogger.ml
https://supercontentcreatorblogger.ml
https://worldbloggergroups.ml
https://isuperseoblogger.ml
https://whocleartheway.ml
https://theinternationalbloggerss.ml
https://thetechbloggernews.ml
https://technologynewsbloggers.ml
https://supersolidblogger.ml
https://supernewsbloggers.ml
https://breakthisnewsblogger.ml
https://buildingtechsblogger.ml
https://dubaitimesblog.ml
https://dubaivehicle.ml
https://lionsonlineforcesacademy.ml
https://colocksmiths.ml
https://fddddsfddcdc.ml
https://edcationinpakistan.ml
https://nncdcee.ml
https://testfnm5.ml
https://dubaiupdatesonline.ml
https://mywebsitestorenew.ml
https://mywebsitestoreold.ml
https://theguestpostcontent.ml
https://thesupercontent.ml
https://thesuperbloggers.ml
https://thebloggerfundablog.ml
https://therunnerblogger.ml
https://Foodreviewbloggerblog.ml
https://thenewbieblogger.ml
https://eindianbloggershub.ml
https://eperfectaustralianblogger.ml
https://uaeblogonline.ml
https://uaenewsagency.ml
https://uaeultimate.ml
https://uaenewsagency.ml
https://dubaivehicle.ml
https://uaeultimate.ml
https://uaeblogonline.ml
https://fddddsfddcdc.ml
https://pakeducationalist.ml
https://dubaitimesblog.ml
https://edcationinpakistan.ml
https://mywebsitestorenew.ml
https://mywebsitestoreold.ml
https://theguestpostcontent.ml
https://thesupercontent.ml
https://thesuperbloggers.ml
https://thebloggerfundablog.ml
https://therunnerblogger.ml
https://Foodreviewbloggerblog.ml
https://thenewbieblogger.ml
https://eindianbloggershub.ml
https://eamericansupperblogger.ml
https://eperfectaustralianblogger.ml
https://themostwantedbloggernow.ml
https://howyoudothatbloggers.ml
https://whywearebestbloggernow.ml
https://eLetmedownslowly.ml
https://RedditRefrencesblogger.ml
https://digitalTeamworkblogger.ml
https://theseoandwriteragency.ml
https://Theclientproblemsolver.ml
https://theworldnewblogger.ml
https://thewonderofworldbloggers.ml
https://theestatementblogger.ml
https://emobilesandgamesblog.ml
https://thesuperusablogger.ml
https://thesuperindianblogger.blogspot
https://thesuperindianblogger.tk
https://thesuperpakistaniblogger.tk
https://thesuperpakistaniblogger.ml
https://thegoodbloggershere.ml
https://themightybloggerhere.tk
https://themightybloggerhere.ml
https://thebestbloggersnow.tk
https://thecrazybloggerssn.ml
https://supercontentcreatorblogger.tk
https://supercontentcreatorblogger.ml
https://supercontentcreatorblogger.ga
https://supercontentcreatorblogger.gq
https://supercontentcreatorblogger.cf
https://worldbloggergroups.tk
https://worldbloggergroups.ml
https://worldbloggergroups.ga
https://worldbloggergroups.cf
https://worldbloggergroups.gq
https://theheavyseoblogger.tk
https://theheavyseoblogger.ml
https://theheavyseoblogger.ga
https://theheavyseoblogger.cf
https://theheavyseoblogger.gq
https://pakistaniblogger.tk
https://breakthisnewsblogger.tk
https://breakthisnewsblogger.ml
https://breakthisnewsblogger.cf
https://breakthisnewsblogger.gq
https://breakthisnewsblogger.ga
https://themostwantedbloggernow.tk
https://themostwantedbloggernow.ml
https://themostwantedbloggernow.gq
https://thetechbloggernews.cf
https://thetechbloggernews.tk
https://supersolidblogger.ml
https://thetechbloggernews.ga
https://supersolidblogger.ga
https://thetechbloggernews.ml
https://supersolidblogger.gq
https://thetechbloggernews.gq
https://supersolidblogger.tk
https://supersolidblogger.cf
https://thesuperpakistaniblogger.ml
https://thegoodbloggershere.ml
https://themightybloggerhere.ml
https://thecrazybloggerssn.ml

Note: See TracTickets for help on using tickets.