Re: Requesting Help on Post/reply by email
Reply #1 –
Sounds like you are doing all the right things. There are generally only a few reasons why this may not be working.
1) Maybe you don't have the correct path to the systems PHP CLI. Currently you have /usr/bin/php which is the most common, the next most common one is /usr/local/bin/php so you can try that in that shebang line e.g. #!/usr/local/bin/php -q
2) The email is not being piped correctly or the path is wrong. Sounds like you have this setup and have checked the setting with your host. If it is wrong there would be error log entries somewhere, probably in the postfix log
3) Some other error in the chain. If 1 and 2 are correct then we need to capture the php error so we can fix it. To see the error we need to allow the script to output the error. To do so in emailpost.php you would find the line that says error_reporting(0); and change it to say error_reporting(E_ALL);
Then reply via email to a message, the error should come back to you in a bounced email, and if for some reason you do not get that bounced mail, there should at least be something in your php error log ... both assuming # 2 is correct., i.e. the mail is being piped to the script properly.
One thing to note, If you have enabled bad behavior, turn it off. There is an error with having that running and using the post by email functions. I've fixed this in 1.1.7 but that version of ElkArte is not released yet.
Once setup its a great feature but sometimes it can be difficult to get things entered correctly since its server dependent.
Re: Requesting Help on Post/reply by email
Reply #2 –
Thank you for the reply.
I changed error_reporting(0); to error_reporting(E_ALL);
Then the mail bounces with:
PHP Notice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before anything else in all your scripts! in /home/waasnet/public_html/gl21/bootstrap.php on line 439
I added #!/usr/local/bin/php -q
Even then I get the same above error.