Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Usermin #29

Open
JimTR opened this issue Feb 3, 2018 · 11 comments
Open

Using Usermin #29

JimTR opened this issue Feb 3, 2018 · 11 comments

Comments

@JimTR
Copy link

JimTR commented Feb 3, 2018

Hi
After now spending a couple of weeks using Usermin along side Thunderbird & Rain Loop (desktop & webmail)

Usermin is a bit clunky what is there nearly works fine & some of the functions are great, however Usermin does lack functionality

  • Ability to create sub folders easily .. to date I have to use the syntax 'parent.sub_folder' as a name to create a sub folder .. perhaps this can be adjusted in the folder creation routine just to make the job easier ?
  • Direct Mail filters to the server is a fantastic idea (implemented) as whatever mail client you use your email is filtered however they are a bit difficult to get right.
  • Usermin does not allow the ability to read mail from accounts other than it's own therefore you can not hitch your gmail (etc) account for reading via the usermin interface .. married to this Usermin does not allow the change of account to send the email and place the sent mail in the correct IMAP sent folder nor does it alter the headers of the outbound mail to reflect this
  • Usermin Direct Mail Filter setup always defaults to spam level even if it has been saved to read a field within the mail header (this could be a theme bug ?) .
    I have other points to raise but this is enough for now
    Usermin Strong Points :-
  1. Abillty to Change the password to the user account
  2. Tight integration with webmin/virtualmin to allow administrators to add functionality to the interface that is not available else where

but as it stands currently I'll continue to user Thunderbird and Rainloop over Usermin as they appear to add more pro's than con's

@iliajie
Copy link
Collaborator

iliajie commented Feb 3, 2018

Usermin Direct Mail Filter setup always defaults to spam level even if it has been saved to read a field within the mail header (this could be a theme bug ?)

Yes, and is going to be fixed in 19.09.

Usermin does not allow the ability to read mail from accounts other than it's own therefore you can not hitch your gmail (etc) account for reading via the usermin interface

Usermin will let you fetch mail from other accounts using fetchmail.

Thank you for all other points. It will be taken into consideration and applied upon mail rework begins.

@JimTR
Copy link
Author

JimTR commented Feb 6, 2018

Found another bug with Filtering -
If you copy and paste the filter condition into the form from somewhere and save it .. when you look at procmail certain characters have been escaped and the filter fails to work. I altered the filter definition in the procmail module to remove the escape characters and the filter worked as expected

@jcameron
Copy link
Collaborator

jcameron commented Feb 8, 2018

That's unusual ... which characters were escaped?

@iliajie
Copy link
Collaborator

iliajie commented Feb 8, 2018

I can also confirm that procmail characters are not saved properly, when other encoding is used.

Try any string in Russian, for example and you will see, that the saved data is all broken, and yes, filter don't work.

Try this string:

Привет как дела

@jcameron
Copy link
Collaborator

jcameron commented Feb 9, 2018

Which field are you entering this into?

@JimTR
Copy link
Author

JimTR commented Feb 9, 2018

This string [GameServerManagers/LinuxGSM] looks fine in the filter module but if you look in the procmail module you get [GameServerManagers/LinuxGSM], however you can correct it via the procmail module .. below is where I entered the string
filter

@jcameron
Copy link
Collaborator

Oh so the problem is that backslashes are being added when it's saved, but not removed when it is displayed?

@jcameron
Copy link
Collaborator

If so, that's odd as I just tested this and it doesn't happen for me (in the UI). Note that in the .procmailrc there will be backslashes, but that's expected because it's a regular expression in which the [ ] characters need escaping.

@JimTR
Copy link
Author

JimTR commented Feb 14, 2018

Hi
I removed some filters and used the ui to create them read mail -> create filter by recipient as you can see the older ones are escaped the newer ones are not .. which is correct ?
procmail

@JimTR
Copy link
Author

JimTR commented Feb 14, 2018

I can not get procmail to work in certain circumstances
procmailrc
`:0

  • X-Spam-Status: Yes
    $HOME/Maildir/.Junk/
    :0
  • ^From: .fail2ban.
    $HOME/Maildir/.Fail2ban/
    :0
  • ^From: .numbersnerds.com.
    $HOME/Maildir/.Nerds/
    :0
  • ^From: .brixhamholidayhomes.com.
    $HOME/Maildir/.Brixham/
    :0
  • ^From: .harbourviewbrixhambandb.co.uk.
    $HOME/Maildir/.Brixham/
    :0
    above here works !
  • ^To: LinuxGSM@noreply.github.com
    "$HOME/Maildir/.Git Hub.LSGM/"
    :0
  • ^To: usermin@noreply.github.com
    "$HOME/Maildir/.Git Hub.Webmin-Usermin/"
    :0
  • ^From: webmin@noideersoftware.uk
    $HOME/Maildir/.Webmin/
    :0
  • ^From: webmin@ickleh.uk
    $HOME/Maildir/.Webmin/
    :0
  • ^From: noreply@fitbit.com
    $HOME/Maildir/.FitBit/
    :0
  • ^To: authentic-theme@noreply.github.com
    "$HOME/Maildir/.Git Hub.Authentic/"
    :0
  • ^To: Merlin@noreply.github.com
    "$HOME/Maildir/.Git Hub.Merlin/"
    :0
  • ^From: .virtualmin.com.
    $HOME/Maildir/.Virtualmin/
    :0
  • ^From: .phpclasses.org.
    $HOME/Maildir/.Php/`
    The later entries built from the UI always fail . I must admit I have not yet had mail for all of the newer filters yet, but so far 100% failure .. could this be linked to filtering to sub folders ?
    However if you 'run' the filter via the UI Filter and Forward Mail->choose filter -> click Apply To Email In Folder button and it works ... so I am at a loss

@jcameron
Copy link
Collaborator

For those later options, make sure you choose the "contains" option rather than "starts with"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants