1

Topic: Feature Request: Filers in "Received Mail"

RE: www.domain.com/iredadmin/activities/received

It would be nice to have a simple filter ability when viewing received emails. Filters to show/hide emails that match the global blacklist or the global whitelist. This would make skimming the log much easier if items that are already whitelisted (or recently blacklisted) no longer show in this report.

Thanks smile

2

Re: Feature Request: Filers in "Received Mail"

stevenc317 wrote:

Filters to show/hide emails that match the global blacklist or the global whitelist.

Seems a little hard to implement.
The blacklists might be IP address or network, sender domain, sender email address, wildcard email address, etc. Hard to match.

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee

3

Re: Feature Request: Filers in "Received Mail"

ZhangHuangbin wrote:

Seems a little hard to implement.
The blacklists might be IP address or network, sender domain, sender email address, wildcard email address, etc. Hard to match.

At a quick glance, a simple implementation would require loading the blacklist into an array then checking to see if the email address, host ip, or sender domain is in that array. However, from the way you are speaking, there may be other items needing to be matched?

This is currently a bit of a big problem for me. We receive thousands of legit emails from a handful of vendors, that clog up our logs, and it is very hard to find sort through the list to find others that should be whitelisted or blacklisted.

Not sure how to do this in PHP, but in perl:

if  (($senderEmail ~~ @blacklist) || ($senderHostIP ~~ @blacklist) ||($senderFromDomain ~~ @blacklist) || )
    {
    ## entry is in the list do not do anything
    }
else
    {
    ## print entry to screen
    }


## Then do the same for whitelist.

4

Re: Feature Request: Filers in "Received Mail"

There's also wildcard addresses or ip networks, it's not a good idea to do it this way.

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee

5

Re: Feature Request: Filers in "Received Mail"

ZhangHuangbin wrote:

There's also wildcard addresses or ip networks, it's not a good idea to do it this way.

Do you have a better solution?

6

Re: Feature Request: Filers in "Received Mail"

stevenc317 wrote:

Do you have a better solution?

Sorry, no. sad

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee