**NOTE** January 2022 - Changes to Gstreamer and Pipewire packages from PackmanPlease read the following thread about the current changes
-
PHP Mail Function Hangs
I hope I am posting in the right place.
I am running OpenSUSE 12.1 and am trying to send email via the PHP mail() function. I configured php.ini to point to the location of sendmail (/usr/sbin/sendmail -t -i), and verified via phpinfo that the parameter is set correctly. I configured outbound-only capability using Yast and am able to use sendmail successfully from the command line. I do not know what else to do.
-
Re: PHP Mail Function Hangs
Well, I figured out what was wrong. I had to grant permission to Others to be able to utilize the maildrop folder.
Here is what I had to do to allow the PHP mail function and also Nagios to be able to send email notifications.
1. set the sendmail_path to /usr/bin/sendmail -t -i
2. Restart apache2 services (service apache2 restart)
3. Use yast to configure out-bound email only. I only had to enter the IP address of the mail server I am utilizing. I left all in-bound parameters blank.
4. Change permission to "Create and delete files" for Others for the maildrop folder (/var/spool/postfix/maildrop)
The log file for Postfix is located in the /var/log folder.
I hope this is helpful to someone.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|