CPANEL-43404 - WHM/Account Functions/Email All Users - Doesn't include all domains?
The WHM/Account Functions/Email All Users feature appears to send an email to the contact email address set for each domain. I ran a test of this feature. When it was done, it provided a report which either showed that it sent an email or for most would say "Not mailing domain_name_here: no contact email set." which is understandable since most of our domains don't have a domain level contact email address set. But, the issue is I noticed that the report doesn't include all the domains that we have set up. It seemed to skip some. The report is alphabetical and I can do down the list and see a couple of domains that it did not include in the process. Any reason for that?
-
Hey hey! No, I can't think of a good reason it would skip any. "All" really is supposed to mean all. 0 -
I would think "All" means ALL also. When you go into the Email All Users feature, it says " Send an email to all registered users. " What does registered mean? Can some domains be unregistered? :) This is a little disconcerting if you were to go send a system wide outage notification but not all contacts receive the email.....ooops. We aren't planning on using these feature any time soon as many of our domains don't have a contact set yet. But for the future.....I'd want to make sure this feature is working as intended. 0 -
Is it possible those skipped domains were under a reseller? There is that checkbox at the bottom for "Send Email to Resellers" Customers as well" and that would need to be selected if you wanted to do that. As far as the "registered users" text, I think that's just odd wording on the page as I can't find *anything* about that in our documentation. I reached out to our developers through case CPANEL-43404 to confirm I'm correct, and I'll be sure to post again once I have that information. 0 -
All those domains are under our management. I personally created one of the domains that it skipped in the report. 0 -
My only option would be to see if there is anything interesting in the cPanel error log (/usr/local/cpanel/logs/error_log) while running the report as to why it skipped a domain. Other than that, it would be best to create a ticket as we'd need to do some more advanced troubleshooting. 0 -
Let me know what you find out about the wording " registered users "..... Also, I went through the report of domains that were part of the Email All Users feature that I ran.... and I found three domains that were not included. I did a little digging around.... I looked in the WHM under Show Reseller Accounts. Most of all our domains that we support are listed under ROOT. But there are three domains listed under HTROOT. I'm not familiar with what HTROOT means.... Anyway, the three domains that were not part of the Email All Users report are listed under HTROOT. The difference between these three domains and the others is that they were configured with the default hosting package not our custom hosting package. They might have been set up before our custom hosting package was setup. I will check to see if we can move them to our custom hosting package. It looks like you can change a hosting package using WHM/Account Functions/Upgrade Downgrade an Account/ ? Is there any ramifications of changing a hosting package on a domain? Will it cause any outages if the customer has a web site or email accounts running? 0 -
I'm not finding anything called htroot on my end inside cPanel. Can you run this command on the server and see if it is listed there? grep -i htroot /etc/shadow
If so, that would indicate there is a user with the name "htroot" setup on your machine. If not, I'm even more confused where it came from.0 -
Under WHM/Show Reseller Accounts, I see this: There are three domains listed here (I removed the names). The rest of the domains we manage (166 accounts) are listed above under ROOT. Funny thing is, after I ran the Email All Users task the report listed HTROOT as if it was a domain that it tried to email. Anyway, these three domains were set up with the default Hosting Package. I have a feeling these domains were set up before we created our custom package. So, now I want to know if we can move these to our customer Hosting Package without any ramifications. The only issue I can see is our custom hosting package puts a limit on mailbox size and the default hosting package is unlimited. I noticed that one of these domains has email accounts that are over our custom hosting package mailbox size limit. So, I'm assuming if we moved them to the custom hosting package we would need to go in and change their mailbox size limits to prevent disruption of service. Would they loose any emails during this transition or would the server resend once we increase their mailbox size? 0 -
Oh, I know where you're seeing htroot, I just don't have a good explanation for why it's there. It's got to be a custom user that was created at some point as there isn't anything in the product with that name. They wouldn't lose any emails as part of the change, but yes, you'd need to customize your package after you make that transition so they will continue to work. 0 -
So, I changed the Hosting Package on two domains..... One of the domains had email accounts that had a mailbox size limit set to Unlimited. The new hosting package is set to 1GB limit. But changing the Hosting Package didn't change the accounts that were already created. They are still set to unlimited. So, I guess that is good so there wouldn't be any disruption of service, or any need to go in and change it. But, when you go to create a new mailbox then the default mailbox size limit is 1GB which is what the Hosting Package is configured to do. What is confusing is in the log file after changing the hosting package it says, "Changing the maximum email quota from "unlimited" to "unlimited" "" yet that is not what happened it's set to 1GB. Maybe it is in reference to the mailboxes that were already created? Although one other domains I moved to this Hosting Package with 1GB mailbox size limit the log file also said the same thing yet those mailboxes that were already created are set to 1GB and when you create a new mailbox the default is 1GB. So not sure why the log file would say "Changing the maximum email quota from "unlimited" to "unlimited" "" because nothing was set to unlimited. Some of the mailboxes that were created with unlimited stayed unlimited..... But the domain that didn't have any mailboxes over 1GB stayed 1GB. Anyway, changing the hosting package didn't produce the results I thought it would, but I'm glad to see that it didn't change mailboxes that were over 1GB to 1GB and cause disruption of service. Not sure if that is by design or the change of hosting package didn't really work as intended... Anyway, not a big deal.... 0 -
@Amiga500 - do you have reproduction steps so I can test that on my end? 0 -
So, I did a little digging...I noticed that when I go to edit the default hosting package and also edit our main hosting package, they both show that the "Max Quota per Email Address (MB)" is set to "unlimited". So I guess that is why when I changed the Hosting Packing for these domains from default to our main hosting package it said "Changing the maximum email quota from "unlimited" to "unlimited" "". But, this is why I'm confused and have a question.....when I select a domain which is configured with the main hosting package, and go to Email Accounts and then create a new account it shows that the default storage space is set to 1024MB, not Unlimited. So why the discrepancy? 0 -
Here is what I did to test this: -ensured the default package was set to "unlimited" -created a new email account on a domain that already existed After doing that, I see the unlimited quota option on my end: Can you check the /var/cpanel/packages/default file directly to see what value is being written there? Running "grep MAX_EMAILACCT_QUOTA /var/cpanel/packages/default" will pull that data without editing the file. 0 -
Just to make sure we are on the same page.... We have two different Hosting Packages. The default package and our new custom hosting package (I will refer to it as our "Custom" package). When I look at (edit) either hosting package the "Max Quota per Email Address (MB)" is set to unlimited. So that makes sense that when I changed those three domains from the default package to our custom package that the log file said "Changing the maximum email quota from "unlimited" to "unlimited". I was confused because when we create a new mailbox for a customer under the custom hosting package the "Storage Space" defaults to 1024MG not Unlimited. We actually want it to be 1024MG. But after looking at how the custom hosting package is configured, it seemed strange that the "Max Quota per Email Address (MB)" is set to unlimited not 1024MG. So how is it defaulting to 1024MG when I create an email account? Looks like your quotatest@cptest.com has a 1GB storage limit. You see that under allocated. BTW... I'm not familiar with how to run scripts in Linux. Unless there's a way to run it from the WHM, I can't do it. Sorry. I could probably get one of our engineers familiar with Linux to run it.... 0 -
This is what it looks like for one of our customers domains/email accounts set to 1024MG quota: 0 -
Can you confirm one thing in the cPanel >> Email Accounts interface for me? At the bottom of the page, there is an "Optional Settings" area. If you click the "Edit Settings" button, that will have a quota option. Is that also 1024 on your account? 0 -
This is the default when I create a new email account: 0 -
And this is what's configured in the hosting package: 0 -
Great - let me do a bit more research, but we might have a case here. 0 -
FYI. Our cPanel version is 110.0.13. 0 -
Okay, so there are two other values that work in conjunction with this in WHM >> Tweak Settings, and those are Default user-defined quota value for new email accounts and Default quota option for new email accounts. Yours is likely set to 1024, which is why you're getting that quota when you create an account. Can you check those values too? 0 -
There you go - change that bottom one to unlimited and you'll never have to worry about this again. I also didn't know that setting existed until I went looking for it today! 0 -
Good find. So, I guess the tweak settings apparently override the hosting package settings.... interesting. Ya, I didn't realize those existed either. Actually, the end result is that we do want our custom hosting package to default to 1024 Mailbox Quota, which it does, due to the tweak settings..... The confusion all came about when I moved three domains from the default hosting package to our custom hosting package and the log file said that it went from unlimited to unlimited mailbox quota which confused me since the default mailbox quota for our custom hosting package is 1024MG. I didn't realize that there were tweak settings involved. But the hosting package move did what it was supposed to since both packages were configured with unlimited. I was also confused because one of the domains that was on the default hosting package had unlimited mailbox quotas. Yet when I did a test and created a new mailbox account it showed 1024MG as the default. I guess someone created that domain most likely before someone modified the tweak settings. Anyway, it all makes sense now. I guess the tweak settings override the hosting package settings so you can make a global change that affects all hosting packages. 0 -
I'm glad we got a good answer! 0 -
Thank you for your help. I would have never thought to look at the options in the "Tweak Settings" section. 0
Please sign in to leave a comment.
Comments
25 comments