Bug 878615
| Summary: | inclusion of phpmailer fails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Harald Reindl <h.reindl> |
| Component: | mantis | Assignee: | Gianluca Sforna <giallu> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | giallu, sven |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-20 23:55:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Harald Reindl
2012-11-20 19:05:59 UTC
So I guess you installed the rpm from updates-testing? I built it few days ago to fix several security issues but did not notice the issue in my (short) tests. Will investigate correct - i saw the impressive list of CVE's mantis is not heavily used currently but server-security is defined by the weakest part, so i updated without real tests and tody i got notified by my regulary monitoring mailing php-errorlogs that something goes wrong I just double checked and I can definitely use phpmailer. More specifically, I configured it to use Gmail as SMTP like this: $g_phpMailer_method = PHPMAILER_METHOD_SMTP $g_smtp_host = 'smtp.gmail.com'; $g_smtp_username = 'name'; $g_smtp_password = 'pwd'; $g_smtp_port = 587; $g_smtp_connection_mode = 'tls'; and I was able to send emails. Is there any other error message we can use to understand what's going on? not really i do not understand at all what happens here Failed opening required 'PHPMailer/class.phpmailer.php' "include_path" contains "/usr/share/php" so after 10 years php-development i would guess "/usr/share/php/PHPMailer/class.phpmailer.php" should be resloved with the relative include well, the file exists and all parent folders have chmod 755 i am a little bit out of ideas maybe i "fix" the include with a absolute path as workaround with a large reminder to redo this after updates :-( LANG=en; stat /usr/share/php/PHPMailer/class.phpmailer.php File: `/usr/share/php/PHPMailer/class.phpmailer.php' Size: 81767 Blocks: 160 IO Block: 4096 regular file Device: 811h/2065d Inode: 41582 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-03-20 19:28:47.000000000 +0100 Modify: 2012-03-20 19:28:47.000000000 +0100 Change: 2012-10-17 20:29:58.861761097 +0200 Birth: - errata: what about patching this path in the SPEC-file since it is supposed to work with the phpmailer-package of fedora where the path is 100% clear? Any SElinux Denials? sorry for the noise and you can call me an idiot :-( php_admin_value open_basedir "/usr/share/mantis:/etc/mantis:/var/www/uploadtemp" seems like today it sent the first time since years mails or tried to do so strange - sorry again :-( No problems. Since it got only mild testing on my side, I was afraid I broken it. So thank you for testing the package :) |