[wp-trac] [WordPress Trac] #16805: default 'from' hostname

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 9 23:33:59 UTC 2011


#16805: default 'from' hostname
--------------------------+------------------------------
 Reporter:  lonnylot      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Mail          |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by dd32):

 * keywords:   => close


Comment:

 > We assume that if www. is in the sitename that it is not part of the
 e-mail address. I reviewed a few RFCs and have not found where 'www.' is
 prohibited from the hostname portion of an e-mail address. I concede that
 john.smith@ www.sitename.com is now common, but it is still a legal name.

 In general, 90% of hosts add www. as a add-on domain, and many simply skip
 it, it's just a generic subdomain.. in the majority of cases,
 !user at domain.com is going to be more correct than !user at www.domain.com,
 for the simple fact that the 'www.' is a generic domain for Web Hosting.


 > Additionally, if the $_SERVER[ 'SERVER_NAME' ] is a sub-domain such as
 blogs.sitename.com the e-mail is going to send from john.smith@
 blogs.sitename.com.

 That would be the expected behaviour for a a few reasons, the main one
 that sticks out to me is:
  * !username at webhost.com => !wordpress at webhost.com would be wrong

 I don't see that anything here should change, it's not about what is legal
 in a email address, it's about what the majority of WordPress users
 expect/host supports.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16805#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list