virtualmin / virtualmin-gpl

Virtualmin web hosting control panel for Webmin
https://www.virtualmin.com
GNU General Public License v3.0
319 stars 99 forks source link

Server Templates - Allow `Primary email address` to be set to enabled/disabled #871

Open shoulders opened 3 months ago

shoulders commented 3 months ago
SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.4
Webmin version 2.111
Usermin version 2.010
Virtualmin version 7.20.2  
Theme version 21.10
Package updates All installed packages are up to date

Background

If you edit a user you can enable/disable the primary email user

Virtualmin --> Edit Users --> Edit _Virtual Serve Owner Account_ --> Email settings -->Primary email address enabled

image

the issue

In server templates there is no option to enable/disable the Primary email address

You might want to defined all of your mailbox automatically and do not want a default email address collect dust and spam.

proposed solutions

add the ability to defined if you want a Primary email address enabled to the Mail for domain category

iliajie commented 3 months ago

Hello,

add the ability to defined if you want a Primary email address enabled to the Mail for domain category

This sounds like a good suggestion.

jcameron commented 3 months ago

Would this apply to the domain owner, or to new mailboxes?

shoulders commented 3 months ago

image

domain owner only

reasons

additional

jcameron commented 3 months ago

So we do want to have some contact email for each domain presumably - maybe if the primary email is disabled, we should force an off-site contact email address to be entered on the domain creation form?

iliajie commented 3 months ago

I think it should be a radio button with three options, like Disabled, System Default Admin Email, and Virtual Server Email Address .. may be?

shoulders commented 3 months ago

So we do want to have some contact email for each domain presumably - maybe if the primary email is disabled, we should force an off-site contact email address to be entered on the domain creation form?

I think it should be a radio button with three options, like Disabled, System Default Admin Email, and Virtual Server Email Address

@iliajie Are these options for the forwarding option and can you just clarify the options for me please

iliajie commented 3 months ago

@iliajie Are these options for the forwarding option and can you just clarify the options for me please

  • Disabled = obvious
  • System Default Admin Email =
  • Virtual Server Email Address =
  • Disabled: Tells Let's Encrypt not to send any notifications for any accounts.

However, considering this now, it should actually be a dropdown with four options not three, as technically, we can use --register-unsafely-without-email for a specific domain to disable notifications only for that domain.

shoulders commented 3 months ago

@iliajie

Disabled = obvious System Default Admin Email = Virtual Server Email Address =

These are all options for handling lets encrypt notifications/emails, which is welcomed as reference here:

https://forum.virtualmin.com/t/how-to-disable-lets-encrypt-renewal-emails/128207/9

but they don't directly related to disabling the primary email address on a domain owners account, unless these are in addition to that and it is useful to add them here.

Have I missed some of the conversation 😄