php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75553 SVN commit hook broken because of missing SMTP server on localhost
Submitted: 2017-11-22 11:55 UTC Modified: 2017-11-23 06:46 UTC
From: mj@php.net Assigned: mj (profile)
Status: Closed Package: Systems problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
3 - 2 = ?
Subscribe to this entry?

 
 [2017-11-22 11:55 UTC] mj@php.net
Description:
------------
The SVN commit hook in /home/svn/SVNROOT/commit-email.php attempts to send an email using fsockopen on localhost:25. This broken when we moved to nullmailer on svn.php.net.

The script should instead connect to mailout.php.net:25 or use mail().


Actual result:
--------------
The hook fails with the following error:

Warning: post-commit hook failed (exit code 1) with output:
PHP Warning:  fsockopen(): unable to connect to 127.0.0.1:25 (Connection refused) in /home/svn/SVNROOT/commit-email.php on line 259
Couldn't connect to SMTP server 127.0.0.1. Errno: 111.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-11-23 06:43 UTC] mj@php.net
Automatic comment from SVN on behalf of mj
Revision: http://svn.php.net/viewvc/?view=revision&revision=343451
Log: Use SMTP server on mailout instead of localhost

The server on localhost has been removed when we switched
to nullmailer on the SVN machine. This fixes ticket #75553.
 [2017-11-23 06:46 UTC] mj@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mj
 [2017-11-23 06:46 UTC] mj@php.net
This has been fixed in revision 343451 and should roll out to svn.php.net soonish.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 10:01:27 2024 UTC