Possible to change the number of messages displayed

Discuss our MailScanner install script and MailScanner itself
Post Reply
graham_w
Junior Member
Posts: 6
Joined: 10 Dec 2006, 10:06

Possible to change the number of messages displayed

Post 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
sawbuck
Junior Member
Posts: 366
Joined: 10 Dec 2006, 16:20

Re: Possible to change the number of messages displayed

Post 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.
graham_w
Junior Member
Posts: 6
Joined: 10 Dec 2006, 10:06

Re: Possible to change the number of messages displayed

Post by graham_w »

Thanks for your help - that works great :)
sawbuck
Junior Member
Posts: 366
Joined: 10 Dec 2006, 16:20

Re: Possible to change the number of messages displayed

Post by sawbuck »

Glad it worked for you.

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