There is a known issue w/ php5 in safe mode (default in TSL), and
squirrel < 1.4.5 (still in beta).

http://bugs.trustix.org/show_bug.cgi?id=63

The fast & dirty solution:
Locate and change the following string in /etc/httpd/php.ini
safe_mode_exec_dir = /usr/sbin/


The longest solution:
Wait for 1.4.5 package (olaf is really fast in releasing version, so
expect a contrib package shortly after official release).


Ivan

> Date: Sun, 03 Apr 2005 14:29:28 +0800
> From: "Jos Scheelen" <[EMAIL PROTECTED]>
> Subject: Squirrel sending mail
> To: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> I'm running TSL 2.2 with postfix,mysql,courier-imap and squirrel mail
> from the contribution area. 
> 
> Installed are
> 
> swup --install apache
> swup --install php
> 
> Using webmin
>    squirrelmail-1.4.4-1or.noarch.rpm
> 
> Edited
> 
> vi /etc/httpd/conf.d/httpd-php.conf
>    ### The follwoing is needed to enable PHP5 support
>    LoadModule php5_module /usr/lib/apache/libphp5.so
>    AddType application/x-httpd-php .php .php4 .php5 .inc
>    AddType application/x-httpd-php-source .phps
> 
> /usr/share/squirrelmail/config/conf.pl
>    Selected D
>    Courier-imap
> 
> 
> I can start http://192.168.3.100/webmail I can access the mails in
> the /var/mail/... for this acocunt I can add additional folders When
> I try to compose a message to myselve then the mail doesn't arrive.  
> 
> I didn't find any problems in the /var/log/mail.
> In the  /var/log/httpd/error_log i see the next error :
> 
> [client 192.168.3.198] PHP Notice:  Trying to get property of
> non-object in /usr
> /share/squirrelmail/class/deliver/Deliver.class.php on line 404,
> referer: http:/
>
/192.168.3.100/webmail/src/compose.php?mailbox=INBOX.Drafts&startMessage
=1
> sh: line 1: /sendmail: No such file or directory [client
> 192.168.3.198] PHP Notice:  Trying to get property of non-object in
> /usr /share/squirrelmail/class/deliver/Deliver.class.php on line 404,
> referer: http:/
>
/192.168.3.100/webmail/src/compose.php?mailbox=INBOX.Drafts&startMessage
=1
> 
> [EMAIL PROTECTED] /var/log/httpd# ls /var/mail/[EMAIL PROTECTED] -la
> total 48 
> drwx------  10 postfix postfix 4096 Apr  2 21:34 ./
> drwx------  14 postfix postfix 4096 Apr  2 10:04 ../
> drwx------   6 postfix postfix 4096 Apr  2 20:58 .Drafts/
> drwx------   6 postfix postfix 4096 Apr  2 20:58 .Sent/
> drwx------   6 postfix postfix 4096 Apr  2 20:58 .Trash/
> drwx------   6 postfix postfix 4096 Apr  2 21:34 .testfolder/
> drwx------   2 postfix postfix 4096 Apr  2 10:06 courierimapkeywords/
> -rw-r--r--   1 postfix postfix   59 Apr  2 21:34 courierimapsubscribed
> -rw-r--r--   1 postfix postfix  117 Apr  2 10:07 courierimapuiddb
> drwx------   2 postfix postfix 4096 Apr  2 10:07 cur/
> drwx------   2 postfix postfix 4096 Apr  2 10:07 new/
> drwx------   2 postfix postfix 4096 Apr  3 08:09 tmp/
> 
> What do I need to change ?
> 
> Regards,
> 
> Jos
> 
> --
> ______________________________________________
> Check out the latest SMS services @ http://www.linuxmail.org This
> allows you to send and receive SMS through your mailbox. 
> 
> 
> Powered by Outblaze
> 
> 
> ------------------------------
> 
> _______________________________________________
> tsl-discuss mailing list
> [email protected]
> http://lists.trustix.org/mailman/listinfo/tsl-discuss
> 
> End of tsl-discuss Digest, Vol 20, Issue 5
> ******************************************
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to