Impossible de read message in mailwatch

Mailborder at Gmail mailborder at gmail.com
Wed Jan 23 06:46:48 GMT 2013


PHP 5.4 combines E_ALL and E_STRICT by default. When you upgraded the OS
and thus the PHP version (probably from 5.3), the older methods in the
Mailwatch PHP scripts no longer work. I had the same problem with my own
PHP scripts when 5.4 came out. I had to go through all of the code and
update it.

Try going into the CLI of mysql. You should be able to view the records by
doing a "select * from maillog\G". If the data is there but not showing up
on the web front end, the E_STRICT is definitely your problem. You can try
disabling it through either a .htaccess file or in the php.ini itself.


Jerry Benton
www.mailborder.com


On Tue, Jan 22, 2013 at 7:57 PM, <eric.le.corre at voila.fr> wrote:

> Hello and sorry for my english,
>
> I reinstalled my server mailscanner to get the latest version.
> I reinstalled Ubuntu server, and mailscanner mailwatch
>
> Here are the versions I used:
> MailWatch Version = 1.2.0
> MailScanner Version = 4.84.5
> PHP Version = 5.4.6-1ubuntu1.1
> MySQL Version = 5.5.28-0ubuntu0.12.10.2
> Spamassassin = 3.3.2
> Mail_mimeDecode 1.5.5
>
> everything works, I can send and receive emails.
>
> concern that I have is in mailwatch when I click an email, I cannot read
> the message body, if I click on the mail, I have mailwatch menu but a blank
> page where should s' display the contents of the mail.
>
>
> A priori it is not a problem of right on mailwatch folders and all my
> emails are quarantined.
> I just see this in apache log, there is no error in syslog:
> [Tue Jan 22 14:44:54 2013] [error] [client 10.10.10.9] PHP Deprecated:
> mysql_escape_string(): This function is deprecated; use
> mysql_real_escape_string() instead. in /var/www/mailscanner/functions.php
> on line 741, referer: http://10.10.12.58/mailscanner/status.php
> [Tue Jan 22 14:44:57 2013] [error] [client 10.10.10.9] PHP Deprecated:
> mysql_escape_string(): This function is deprecated; use
> mysql_real_escape_string() instead. in /var/www/mailscanner/functions.php
> on line 741, referer:
> http://10.10.12.58/mailscanner/detail.php?id=138F4A0852.ACC8A
> [Tue Jan 22 14:44:57 2013] [error] [client 10.10.10.9] PHP Deprecated:
> mysql_escape_string(): This function is deprecated; use
> mysql_real_escape_string() instead. in /var/www/mailscanner/viewmail.php on
> line 46, referer:
> http://10.10.12.58/mailscanner/detail.php?id=138F4A0852.ACC8A
> [Tue Jan 22 14:44:57 2013] [error] [client 10.10.10.9] PHP Strict
> Standards: Non-static method Mail_mimeDecode::decode() should not be called
> statically in /var/www/mailscanner/viewmail.php on line 108, referer:
> http://10.10.12.58/mailscanner/detail.php?id=138F4A0852.ACC8A
> [Tue Jan 22 14:44:57 2013] [error] [client 10.10.10.9] PHP Strict
> Standards: Non-static method Mail_mimeDecode::getMimeNumbers() should not
> be called statically in /var/www/mailscanner/viewmail.php on line 109,
> referer: http://10.10.12.58/mailscanner/detail.php?id=138F4A0852.ACC8A
> [Tue Jan 22 14:44:57 2013] [error] [client 10.10.10.9] PHP Strict
> Standards: Non-static method Mail_mimeDecode::decode() should not be called
> statically in /var/www/mailscanner/viewpart.php on line 90, referer:
> http://10.10.12.58/mailscanner/viewmail.php?id=138F4A0852.ACC8A&filename=20130122/nonspam/138F4A0852.ACC8A
> [Tue Jan 22 14:44:57 2013] [error] [client 10.10.10.9] PHP Strict
> Standards: Non-static method Mail_mimeDecode::getMimeNumbers() should not
> be called statically in /var/www/mailscanner/viewpart.php on line 91,
> referer:
> http://10.10.12.58/mailscanner/viewmail.php?id=138F4A0852.ACC8A&filename=20130122/nonspam/138F4A0852.ACC8A
>
> thanks
>
>
> ___________________________________________________________
> Ils nous ont quittés en 2012. Voir le diaporama de nos chers disparus sur
> Voila.fr
> http://people.voila.fr/people/mediatheque/dossiers/ils-nous-ont-quittes-en-2012/
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130123/bc31a9b1/attachment.html 


More information about the MailScanner mailing list