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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Mon Dec 09 11:01:28 2024 UTC