Is it possible to change how many records per page MailWatch can display?

General eFa discussion
Post Reply
maxkmv
Posts: 53
Joined: 28 Apr 2015 14:40

Is it possible to change how many records per page MailWatch can display?

Post by maxkmv »

Is it possible to change how many records per page MailWatch can display?

50 lines is desperately too few if you need to retrieve an email blocked as spam (false positive), then you have to search hundreds of pages to find that email..

Thank you
User avatar
pdwalker
Posts: 1585
Joined: 18 Mar 2015 09:16

Re: Is it possible to change how many records per page MailWatch can display?

Post by pdwalker »

I assume you are trying to search for the spam message via the "recent messages" link?
https://<efaserver>/mailscanner/status.php?

Sure, you could change the number of messages listed, but why bother? Why not let the computer find them for you?

Click on reports
https://<efaserver>/mailscanner/reports.php

and fill in the fields to find the message you are looking for. Normally, I'm lazy and just use a filter of
"headers"
"contains"
"<text I'm looking for>"

then I click on the message operations link
https://<efaserver>/mailscanner/rep_message_ops.php

That's much easier than trying to scroll back through all messages.

If you still want to scroll back, then the easiest way it to find it, or narrow down the search by date. But don't do that, it still a lot more work than using the report feature.
akl
Posts: 20
Joined: 04 Mar 2016 18:26

Re: Is it possible to change how many records per page MailWatch can display?

Post by akl »

Hello,

sure is it nice to let the computer search your mail.
Thanks for that trick. I really didn't realize myself, that there is a search form :-)

But you can also change the amount of displayed mails very easy.
Edit /var/www/html/mailwatch/conf.php
you'll find this section in the file

// Default number of results on Recent Messages and Message Listing Report
define('MAX_RESULTS', 100);
// Default refresh rate in seconds for the Recent Messages screen
define('STATUS_REFRESH', 30);

I switched mine to 100

Regards
akl
Zwabber
Posts: 69
Joined: 14 Feb 2016 21:26

Re: Is it possible to change how many records per page MailWatch can display?

Post by Zwabber »

Change location to;
/var/www/html/mailscanner/conf.php
Post Reply