|
|
 |
Re: FN-FORUM: Problem with qmail
date posted 26th May 2006 17:53
On 26 May 2006, at 12:00, Graeme J Sweeney wrote:
> I see there is an update in the archive but I didn't receive it.
>
> Have you got it working?
Hi Graeme,
No, not yet, but I did find an article on a forum somewhere (pasted=20
below) that leads me to believe that it should work fine with the CGI=20
version of PHP.
Tech support at my host say they think its a permissions problem, but=20
they're not prepared to investigate.
Best regards,
Ray
------------------------------
Ray McGinty Information Design
Specialising in web application development,
e-commerce and design for print.
http://www.rmid.co.uk
Listed on the National Business Link Consultants Register
> qmail Success!
>
> Submitted by philscan on November 18, 2005 - 01:56.
> Thanks to all of you, your comments have helped me.
>
> This will write to a textfile: email address: [EMAIL REMOVED]
> Contents of .qmail-example:net-blog
> |/usr/local/bin/php -q=20
> /usr/home/pscan/blogATexampleDOTnet_mail_proc.php
>
> Here is the script, blogATexampleDOTnet_mail_proc.php, taken from=20
> script in this article and modified to write to file (initial test).
>
>
> Note that the shebang line is removed, and instead, path to php is put=20=
> in the .qmail.. file.
>
> I created the file emailResult.txt initially, then set permissions on=20=
> emailResult.txt to be world-writable. This will overwrite it every=20
> time an email comes in. you can use fopen() with "a" to append.
>
> It finally worked!
|
 |
|