|  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: 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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2017-11-22 11:55 UTC]
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

The script should instead connect to 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 (Connection refused) in /home/svn/SVNROOT/commit-email.php on line 259
Couldn't connect to SMTP server Errno: 111.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-11-23 06:43 UTC]
Automatic comment from SVN on behalf of mj
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]
-Status: Open +Status: Closed -Assigned To: +Assigned To: mj
 [2017-11-23 06:46 UTC]
This has been fixed in revision 343451 and should roll out to soonish.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 11:01:28 2024 UTC