|  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
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:
Solve the problem:
3 - 2 = ?
Subscribe to this entry?

 [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 10:01:27 2024 UTC