[wpmu-trac] [WordPress MU Trac] #544: Sending emails to bad addresses

WordPress MU Trac wpmu-trac at lists.automattic.com
Sun Jan 13 23:25:39 GMT 2008


#544: Sending emails to bad addresses
-------------------------+--------------------------------------------------
 Reporter:  copperblade  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  component1   |     Version:          
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 Ok, can someone explain to me why an address for "support" is hard coded
 into wmpu?  Believe it or not, not everyone has an address called support@
 their domain.

 fgrep -r support@ *
 wp-admin/wpmu-options.php: <?php printf( __( 'Registration and support
 mails will come from this address. Make it generic like "support@%s"' ),
 $current_site->domain ); ?>
 wp-includes/class-phpmailer.php: var $From = "support at wordpress.com";
 wp-includes/wpmu-functions.php: $admin_email = 'support@' .
 $_SERVER['SERVER_NAME'];
 wp-includes/wpmu-functions.php: $admin_email = 'support@' .
 $_SERVER['SERVER_NAME'];
 wp-includes/wpmu-functions.php: $admin_email = 'support@' .
 $_SERVER['SERVER_NAME'];
 wp-includes/wpmu-functions.php: $admin_email = 'support@' .
 $_SERVER['SERVER_NAME'];
 wp-settings.php: graceful_fail(sprintf(__('This blog has not been
 activated yet. If you are having problems activating your blog, please
 contact support@{%1$s}.'), $current_site->domain));

 Furthermore, checking my mail logs, I find that emails are trying to be
 sent as support at blogname.sitename.com, e.g.

 Jan 6 11:06:10 descartes sendmail[3724]: m06G69vb003724:
 to=kkmein12 at 21cn.com, ctladdr=support at kkmein12.bitfreedom.com (1000/1000),
 delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30752,
 relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m06G69HZ003725
 Message accepted for delivery)

 This is not good. All email should be sent as whatever I have set as "Site
 Admin Email" instead. Subdomains of a wpmu installation aren't even
 necessarily real domains with MX records!

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/544>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list