https://bugs.contribs.org/show_bug.cgi?id=10525
--- Comment #14 from Kevin L. Shelton <[email protected]> ---
(In reply to Jean-Philippe Pialasse from comment #11)
> I might get the issue
>
>
> # ll -d /var/log/httpd
> drwx------ 2 root root 4096 22 févr. 01:12 /var/log/httpd
>
> www can not access on a base sme
> should move the mail log file
Just an update on moving the mail.log file. I created a folder in /var/log
named sendmail and changed its group to www then modified permissions so the
group could also write to this folder.
To this new folder I copied the empty mail.log file and made sure the ownership
was apache:www with read write permissions for both owner and group. In our
custom template for php.ini I added the line:
mail.log= "/var/log/sendmail/mail.log"
then re-enabled sendmail-wrapper, expanded the php.ini template and restarted
httpd before trying once again to send mail using our web site.
With the mail log pointing to a writable file in a writable folder there is no
error message in the messages log like there was before and there are items in
mail log file now. However, the email still is not getting sent out by the PHP
mail function until I once again disable sendmail-wrapper.
The contents of the mail.log file looked like this after the test:
confimail() on
[/home/e-smith/files/ibays/Primary/html/catalog/admin/includes/classes/email.php:525]:
To: "Kevin L Shelton" <[email protected]> -- Headers: From: "The Western
Depot" <[email protected]> MIME-Version: 1.0 X-Mailer: osCommerce
Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit
Return-Path: "The Western Depot" <[email protected]>
mail() on
[/home/e-smith/files/ibays/Primary/html/catalog/admin/includes/classes/email.php:525]:
To: "Kevin L Shelton" <[email protected]> -- Headers: From: "The Western
Depot" <[email protected]> MIME-Version: 1.0 X-Mailer: osCommerce
Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit
Return-Path: "The Western Depot" <[email protected]>
I looked in qpsmtpd/current log and don't see anything there around the time I
tried sending the test emails. Not sure if that means anything or not.
--
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 [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/