MailWatch icon indicating copy to clipboard operation
MailWatch copied to clipboard

Feature Request for MailWatch 2.0

Open endelwar opened this issue 7 years ago • 22 comments

This issue should contain all feature request for the next major version of MailWatch

Feature should be voted with a 👍 or a 👎

endelwar avatar Jan 16 '18 00:01 endelwar

Move settings that are currently in the conf.php (time, language, date format, ...) to db and create overwrites as follows: user settings overwrites domain default overwrites server default

Skywalker-11 avatar Jan 16 '18 00:01 Skywalker-11

I occasionally get requests to enable/disable certain aspect of the GUI, that would be nice to be able to customize them per user and/or globally, such as the legend, real time graph, etc.

shawniverson avatar Jan 16 '18 00:01 shawniverson

I'd like to see MailWatch improve its whitelist/blacklist feature. If it can handle wildcard it will be great. (Even better with a pre-defined expire time.) Lots time I need to whitelist an email address based on FROM only.

pztop avatar Jan 16 '18 00:01 pztop

Concerning whitelist and blacklist, It will be nice to have a system of mass search and delete.

stefaweb avatar Jan 16 '18 10:01 stefaweb

@Skywalker-11 The current MailWatch only allow me to blacklist/whitelist match both FROM and TO address. For example, whitelist emails "FROM aaa@bad_mta.tld TO *@mydomain.tld".

We have a client who has a badly configured mail server (no PTR record and wrong SPF) send us email to [email protected] so the email get blocked. I whitelisted this in MailWatch. Later this client send another email to [email protected] and [email protected] then the mail got blocked again. I wish I can make a rule, say, let's whitelist all emails "FROM aaa@bad_mta.tld TO *@mydomain.tld". This is what I mean the wildcard * (asterisk) feature.

pztop avatar Jan 16 '18 17:01 pztop

@pztop if I'm not mistaken this should work already with 1.2.7: from=bad_mta.tld to=mydomain.com (enter nothing in field before @)

Skywalker-11 avatar Jan 16 '18 17:01 Skywalker-11

@Skywalker-11 Sorry I am not aware of that. I'll give a try on 1.2.7. Thank you.

pztop avatar Jan 16 '18 17:01 pztop

As requested by @Stephanowicz in #1039: make geoip lookup optional and triggered by a button on the detail page to reduce loading time in case of failing reverse lookup

Skywalker-11 avatar Feb 11 '18 20:02 Skywalker-11

Evaluate faster gethostbyaddr function: https://github.com/mailwatch/MailWatch/issues/1039#issuecomment-364738351

Skywalker-11 avatar Feb 11 '18 20:02 Skywalker-11

https://github.com/mailwatch/MailWatch/issues/1052

Hello!

What do you think to add a feature to alert admin by mail when "queue" is too high (input or output)?

define('QUEUE_IN_ALERT', '100'); define('QUEUE_OUT_ALERT', '100');

Cheers,

Skywalker-11 avatar Mar 23 '18 13:03 Skywalker-11

I'm not sure if this is already on the roadmap for 2.0, but having a better MVC approach of the project (particulary the V part) introducing templates for easier look (themes) modding of the interface would be neat. Some people could then craft some nice more 2018 looking interface :)

sriccio avatar Apr 03 '18 02:04 sriccio

Support for plus addressing would be interresting too.

You can look at my ticket on EFA here about it: https://github.com/E-F-A/v3/issues/413

sriccio avatar Apr 03 '18 02:04 sriccio

Add checks if required perl modules are installed

Skywalker-11 avatar Apr 17 '18 07:04 Skywalker-11

Expanding concept in #1050: an Admin/Domain admin managed custom link list in tools and links

endelwar avatar Jun 20 '18 01:06 endelwar

One more. 😃

Switch to SHA512-CRYPT for password and others stuff using MD5.

https://github.com/mailwatch/MailWatch/issues/1008#issuecomment-405987551

Skywalker-11 avatar Jul 18 '18 16:07 Skywalker-11

For the SHA512-CRYPT. An idea gleaned from another opensource project to have a backward compatibility with previous version of MailWatch.

To store password use:

{SHA512-CRYPT}sha512-crypt-passsword
{MD5}md5-passsword

During upgrade process from MailWatch 1.2.x -> 2.0, convert direct MD5 stored password to the new schema {MD5}md5-passsword.

Code can know the type of crypt with this system. No needed to generate new password for existing users. We can also add a system to ask user during login to upgrade their password to generate new SHA512-CRYPT password for a better security.

stefaweb avatar Jul 19 '18 06:07 stefaweb

@stefaweb this trick is already in use, look here https://github.com/mailwatch/MailWatch/blob/fc680d159a3079ba78a510e36c23280cc8334772/mailscanner/checklogin.php#L96-L111

At the moment password_hash is in use, and CRYPT_BLOWFISH is the hashing algorithm used to crypt password

endelwar avatar Jul 19 '18 08:07 endelwar

#1094 Permission system with different assignable roles for different tasks

Skywalker-11 avatar Jul 20 '18 14:07 Skywalker-11

Hi, are there any instructions for the develop branch I could have? I am getting many errors and cannot load variables in conf.php. I have installed composer, but still not working. I am running on php 7.2. Thank you.

mealerz avatar Jan 02 '19 17:01 mealerz

@mealerz - the develop branch is still very much work in progress - isn't not stable and should not be used in production - if of course you're looking to help develop it, then all help is welcome.

If you haven't already, you'll need to create the .env file - there's an example called .env.dist (I think). Basically it is this which provides symphony with the DB credentials

If you're using PHP 7.2, you'll likely also get a session cookie issue, if so, comment out the line it points to in functions.php and that will temporarily fix that.

As above - this is not fit for production and only for development at the moment. I know many people ran 1.2 in develop branch, but V2.0 is a different beast.

asuweb avatar Jan 02 '19 17:01 asuweb

Most of the code probably will change due to the migration to symfony and a mvc like structure. I currently am working on the authentication system and user management part and hope to upload it sometime next week

Skywalker-11 avatar Jan 02 '19 20:01 Skywalker-11

To add to the ideas so far about the whitelist/blacklist, perhaps a comment or notes field (with a setting to make it mandatory or not) and an automatic timestamp when the entry was added?

rickyboone avatar Jun 11 '20 13:06 rickyboone