Page 1 of 1

Possible to change the number of messages displayed

Posted: 07 Apr 2011, 00:35
by graham_w
Just wondering if it is possible to easily change the number of messages displayed in the Mailscanner->Reports->Message Listing

http://serverip:2086/cgi/mailwatch/rep_ ... isting.php

So perhaps by adding something like ?display=250 to the URL to change the number of lines displayed or is there a config option somewhere that can be modified ?

Thanks
Graham

Re: Possible to change the number of messages displayed

Posted: 07 Apr 2011, 01:18
by sawbuck
In /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/conf.php on or near line 53:

// Default number of results on Recent Messages and Message Listing Report
define(MAX_RESULTS, 250);

This will get over written however on MW updates.

Don't know about adding a display option to the URL.

Re: Possible to change the number of messages displayed

Posted: 13 Apr 2011, 08:03
by graham_w
Thanks for your help - that works great :)

Re: Possible to change the number of messages displayed

Posted: 13 Apr 2011, 15:50
by sawbuck
Glad it worked for you.

Interesting to note you and I joined the forum on the same day.