Export/Import cPanel "Account Level Filtering" rules - email

I am using the cPanel "Account Level Filtering" functionality to block incoming mail from spamming servers and email addresses. Throughout the years I have created an extensive list of rules to block specific spammers.
I would like to know if there is a way to export the "Account Level Filtering" rules and have a backup file of them.
I also wonder if it's possible to import the filtering rules to a cPanel account (through WHM or terminal) instead of adding them one by one manually through cPanel.

/etc/vfilters/domain.com contains all your account level filters. You can make a copy of that. If you do not have root access to the server, ask your hosting company to provide you with a copy of this file.

It is possible to backup and restore email forwarders configuration and email filters configuration using 'Backup Wizard' tool available in main cPanel menu.

I had the same problem and wanted to share some fairly extensive Global Email Filters to various websites instead of replicating all the filter rules manually, which would take days. Using the Backup wizard did not work for this: when I imported the email filter files into another website it generated a user incompatibility error.
Instead, I logged into cpanel on the original website:
I opened file manager.
Then I opened the folder: .cpanel
(If you can't see this folder, click on settings then check the box next to 'Show Hidden Files (dotfiles)' and click Save).
Then I downloaded these two files:
filter.cache
filter.yaml
then uploaded those two files to the same location in the cpanel of the new websites.
Note: I had not created ANY spam filters in the new (recipient) websites so the new files were a clean upload, not an over-write of previous files. If you have already created spam filters in the recipient site, then uploading the files saved from the donor site will overwrite them.

Related

Switching from Outlook to Gsuite: saving emails to folders & working with them

My wife's company recently switched over to Gsuite from Outlook.
When in Outlook, she used to save emails (.eml files) in shared folders for the rest of her team to work with. She would often click on one of these .eml files, which would launch Outlook, and from there she would be able to work - reply, forward, etc.
Now they've switched to Gsuite, and she has trouble re-creating this workflow: emails can be exported from Gmail, but opening them from a shared folder is a hassle. They open by default in Outlook (now blocked by her company). I've tried setting Google Chrome as her default program for emails, but it does just that: it opens the email in Chrome, not in Gmail (= impossible to reply/forward/...).
.eml files saved to Google Drive do not open in Gmail either.
She needs multiple collaborators to save emails to common folders, and she also needs each of them to be able to read/reply/forward any email saved to these folders.
What do you suggest?
Thank you so much!
Gmail and Outlook work differently on this matter but there are few ways in order to achieve what you are looking for.
First thing first, it depends in which G Suite Edition is your account, manly because of the Storage space.
G Suite Basic: 30Gb per user
G Suite Business: 1-4 User 1TB per user. 5 user up Unlimited Storage.
Compare G Suite Editions: https://gsuite.google.com/intl/en_ph/compare-editions/
Now in G suite there isn’t such a thing like a default ‘Archive’ for the emails as in Outlook. All the email are store into the User Cloud Storage and there they stay, because you don’t have a fixed device but rather your device is in a Google Server (Cloud) . But by knowing this you can work around it.
For instance if you G Suite Basic, you can create a new User that has 30Gb of cloud Storage and you use this User as a “Back UP,” you can do it the same with a G Suite Business.
Then you can delegate your account (or the back up account) to other users, see ---> Set up mail delegation: https://support.google.com/mail/answer/138350
At the end of the day you will have a consistent backup of your email and if you need to access them you just log in with this user (as delegate or not)
Having said that, there is a way to Download the email into a folder into your Device with a PST file , either with GSSMO or GSMME,althouhg they one Uses Outlook:
G Suite Sync for Microsoft Outlook, Import your data (you can also export it): https://support.google.com/a/users/answer/153874?hl=en
G Suite Migration for Microsoft Exchange, Migrate data from PST files: https://support.google.com/a/answer/7364501?hl=en

Remove specific items from Exchange 2013 users cached contacts (auto complete)

I have a single c-level user who has several cached contacts with an old domain address. Is there a simple way (powershell or otherwise) to remove all address with this domain from his cached (auto complete) contacts?
There is not simple way to do this as far as I know. Office <-2007 and Office 2013-> stores this cache in the user profile and not centrally. You could either clear the whole cache in options (or by running Outlook.exe /CleanAutoCompleteCache) or he could remove them one by one manually:
Open a new mail
Write parts of the address
Click "X" to the right of the suggested auto-complete name that pops up.

Can't see Alfresco users or manage them outside of the admin console?

I'm trying to test the workflow functionality in Alfresco 4.2 Community, so I created some user accounts and sites. I logged in to a few of them and created some sites and content. For now I just wanted something simple to test workflows, I upload a document and send it to an user for review. When I try to use one of the default workflows that seems to fit that scenario I can't find my users in the select users dialog. I can find some the already existing users (Alice Beecher, Guest, Admin, Mike Jackson).
I also tried searching for them through the People search, but they are not visible there either. I've logged in and joined a test site with some of the users, and have tried to create the workflow from inside and outside the test site. Is there something that I have to enable on the users for them to be visible on searches and when creating workflows?
Try rebuilding your search index. If you are using SOLR (the default if you installed 4.x from the binary installer) you can rebuild your index as described in this link.
If you are using Lucene (the default if you installed manually by deploying the alfresco and share WARs) then shutdown the server, edit alfresco-global.properties, and set index.recovery.mode=FULL. Now restart the server and wait for the index to rebuild. After restarting, don't forget to remove the index.recovery.mode setting or change it to AUTO.

Cpanel Addon Domain Email Migrating to Own Cpanel Account

I have a cpanel account with multiple addon domains. I am in the process of moving every website to its own cpanel account.
I have email set up on the addon domains and before I go and move the files and the database over to the new account, I want to make sure that their emails move over as well.
I don't want the users to have to change their passwords, lose any email, etc. I have a couple clients that have dozens of email accounts attached to them, and they cannot afford to lose anything or change passwords.
I believe I can assist you. I suggest you create a test/fake domain to test! You can use your hosts file to point to a fake domain at your cpanel server!
Lets get started:
I have a cpanel account with multiple addon domains.
This means each addon domain have a folder in the main user account!
/home/main_user/addon_domain.tld
I am in the process of moving every website to it's own cpanel account.
I guess you will create a new account for each addon addon_domain.tld
and move to /home/New_addon_domain_username/public_html
I have email set up on the addon domains and before I go and move the files and the #database over to the new account, I want to make sure that their emails move over as well.
For the databases there are 2 cases! We can get back to that later.
For the email accounts, the solution may not be as hard as you think, and the users can keep there emails. Better, they will not notice any changes. All you need to know is this:
1- DATA
emails data is stored at /home/main_user/mail, you can copy those folders and sym-links for and in the separated accounts your create
There you can run the command "ls -l" and you will get it. (if not paste the results here)
2- Authentication, user/password
This can be found at /home/main_user/etc , take note they're hidden files (ls -a)
the files are .passwd and .shadow
I believe that in /home/main_user/etc you will find a unique folder for each addon_domain
which will contain both of .passwd and .shadow
I don't want the users to have to change their passwords, lose any email, etc. I have a
couple clients that have dozens of email accounts attached to them, and they cannot afford
to lose anything or change passwords.
I've done this zillions of time, the users keep the same account and password.
As I suggested, before you start, try with a test domain! Or at least create a test mail account to know where the data goes (/home.../mail) and the password auth goes (/home/.../etc)
Careful, you can not have the same mail account in 2 cpanel accounts. If you move it to a new one, you have to delete it from the previous one.

How do I set up a searchable email distribution list, accesible via webpage?

I work for a large company, which uses MS Exchange for Email. We have a distribution list for people to post questions, where anyone can answer. I am looking for a way to maintain a copy of this distribution list so that anyone can search it. Ideally, this would be searchable from within Outlook as well as by going to a webpage, but I will take either one. Someone has proposed to create a dummy email account, which just gets the distribution list traffic. Everyone interested in this distribution list could then attach this account. While this may work, there are several challenges with this approach:
1) It becomes problematic when you have several hundred people attaching a single email Inbox/account.
2). I need this account to be read-only, so someone doesn't accidentally delete an email from this account, thinking that it is in their personal account.
3). Our company has an auto-archive policy. This account would need to be exempt from that policy.
Any ideas?
Thanks
GS
The dummy mailbox is not a bad idea. You can give the people appropiate permissions to the Inbox folder of that mailbox.
To work around the permission issue you could either
1) create a transport agent which monitors the mailflow and dumps all messages to a database or CMS/SharePoint/whatever.
2) Create the dummy mailbox and setup a service which monitors this mailbox using push/pull/streaming notifications and dump the messages to a database/CMS/SharePoint/whatever.
The SharePoint solution would make the search option a piece of cake. But if you don't already have a SharePoint instance up and running this might be overkill.