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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mj@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Dec 21 12:01:31 2024 UTC