https://bugs.contribs.org/show_bug.cgi?id=10525

--- Comment #9 from Kevin L. Shelton <i...@westerndepot.com> ---
(In reply to Jean-Philippe Pialasse from comment #8)
> can you do the following as root 
> 
> touch /var/log/httpd/mail.log
> chown www:www /var/log/httpd/mail.log
> 
> after installing the contrib and try again to send using your php app ?
> 
> 
> you can then send the content of messages log again and also a sample from
> /var/log/httpd/mail.log (you can hide confidential data)

Tried that and email still does not show up. Before installing the contribution
the test email sent from the site shows up instantly. The mail.log file is
empty but I get the following error in messages:

Feb 27 15:55:52 www httpd: PHP Warning:  mail(/var/log/httpd/mail.log) [<a
href='function.mail'>function.mail</a>]: failed to open stream: Permission
denied in
/home/e-smith/files/ibays/Primary/html/catalog/admin/includes/classes/email.php
on line 525

Line 525 is the call to the PHP mail function

The contribution seems to add to the php.ini file the following two lines:

mail.log= "/var/log/httpd/mail.log"
sendmail_path= "/usr/bin/sendmail-wrapper.pl"

Since changing the owner of the mail log didn't help I thought I would also try
changing the owner for sendmail-wrapper.pl to www:www but that didn't help and
I still got and empty mail.log file and this error in messages:

Feb 27 16:12:40 www httpd: PHP Warning:  mail(/var/log/httpd/mail.log) [<a
href='function.mail'>function.mail</a>]: failed to open stream: Permission
denied in
/home/e-smith/files/ibays/Primary/html/catalog/admin/includes/classes/email.php
on line 525

Setting the configuration property for sendmail to disabled removes the two
lines added to the php.ini file and leaves only the following:

[mail function]
SMTP                                   = localhost
sendmail_from                          = m...@localhost.com

Out of curiosity I took a look at the sendmail-wrapper.pl script and noticed a
couple of lines reading:

my $smtp_password = 'password';
my $smtp_default_password = 'password';

So I'm wondering if the perl script is causing the permission denied error due
to using an invalid password for qpsmtpd.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to