Manage SPAM Filters in DirectAdmin

1) Login to DirectAdmin.

2) Click the button ‘SPAM Filters’ from the section ‘E-Mail Management’.

3) We can create email filters from this section.

4) You can block a specific email address by entering the email address in the text box and click ‘Block’ button.

5) You can block mail from an entire domain by entering the domain name in the text box and click ‘Block’ button.

6) You can block all email containing the word by entering the word in the text box and click ‘Block’ button.

7) You can block all email larger than any specific size by entering the size in the text box and click ‘Block’ button.

8) If you want to disable the adult filter, click the button ‘Disable’. This feature will prevent email with adult content from getting through.

9) After that, choose the option that match your filter criteria can either be dropped or sent to a spam box.

10) Once the settings have been completed, click “Save’ button to update the details.

11) If you want to delete any filter, select the corresponding filter and click “Delete Selected’ button.

That is how we can setup spam filters in DirectAdmin.

How to Create Staging

This guide will help you how to Stage an installation. The new Softaculous Staging feature allows you to create a full copy of your website where you can preview any changes or updates before you apply them on your website and then you can push the changes to the main installation.

NOTE :

  • Stage functionality is available only for a few scripts at the moment. Softaculous will be adding it to more scripts soon. 
  • Stage has been added in Softaculous 4.2.8 
  • Stage is not supported on Softaculous Remote at the moment. 
  • If you have your site already installed manually. You will have to import it to Softaculous.

We will be taking an example of a WordPress installation. We will stage the installation to a sub directory stage.

1) Login to Panel

  • Go to your panel (e.g. cPanel’s url will be https://yourdomain.com:2083) and login with your details.
  • There click on the Softaculous Icon or Link.
  • The Softaculous End user Panel will be displayed.
  • Go to all installations page.
Create Staging

2) Choose the installation you want to Stage

  • Click on the Stage icon next to the installation you wish to stage. 
Create Staging
  • The Staging page will appear with the current installation details and a form to fill in the details for the stage installation.

3) Fill in the Staging Installation Details

  • Fill in the staging installation details i.e. Choose domain, Directory, Database name, etc
  • Click on the Stage Installation button and this should do the trick. The time taken may vary in accordance to size of your installation, So please be patient.
  • That’s it !! You can now use this stage installation to test the updates or any other changes you may want to test.

NOTE : You will receive the staging installation details via email (if the emails are enabled). 

NOTE : The admin/user account login details will be the same as the source installation.

Create Staging

Setup POP3 and SMTP for Gmail

In this guide we help you to set up your email account in Gmail with POP3.
Before you continue, we want to make you aware of few limitations
Gmail will only allow you to set up your email with POP, which mean you can only download emails form your Inbox and not IMAP, it doesn’t get synced back to the server.

Gmail only downloads emails from your Inbox and not from other folders, like Send and Drafts.

By default, Gmail downloads the emails and then removes them from the server. We recommend that you check the option to leave a copy of the email on the server. That way you can still access your emails in Webmail.

Log in to Gmail and go to Settings

  • Log in to your Gmail account.
Setup POP3 and SMTP for Gmail
  • Click the gear icon in the top right corner.
  • Select Settings from the drop-down menu.
Setup POP3 and SMTP for Gmail

Add an email account

  • Click Accounts and Import in the menu at the top.
  • Click Add an email account.
Setup POP3 and SMTP for Gmail

Enter your email address

  • Type in the email address you want to set up in Gmail.
  • Click Next.

Confirm you want to import with POP

  • Select “Import emails from my other…“.
  • Click Next.

Enter the POP server settings

Please use the following settings for the incoming email:

  • Username: your email address
  • Password: the password you use to log in to Webmail
  • POP server: Mail.YourDomainName.com
  • Port: 995
  • Check the option to leave a copy on the server (Recommended).
  • Check the option the use SSL.
Setup POP3 and SMTP for Gmail

Click Add account to continue.

Tip: We recommend you to check the option to leave a copy of your emails on the server. That way you can still access your emails in Webmail.

Confirm you want to send from Gmail

You can now receive emails from your email account in Gmail. The next step is to set up the outgoing settings, so that you can also send emails from your account.

  • Select “Yes, I want to be able to send…
  • Click Next.

Enter the sender name

  • Enter the sender name you want to be visible to your recipients.
  • Click Next step.

Tip: If your Gmail address is your primary address, and your other email address is only for recieving, you might want to check the box for “Treat as an alias”.

Enter the SMTP server settings

Please use the following settings for the outgoing email:

  • SMTP server: Mail.YourDomainName.com
  • Username: your email address
  • Password: the password you use to log in to Webmail
  • Port: 587
  • Secured connection: TLS

Click Add account to continue.

Open the Gmail Confirmation email

Gmail will now send you an email with a confirmation code.

  • Log in to Webmail.
  • Open the email “Gmail Confirmation – Send mail as…
  • Copy the confirmation code in the email.
Setup POP3 and SMTP for Gmail

Enter the verification code

Paste the verification code in the field and click Verify.

Verify your settings

Your account is now set up. You can both send and receive email in Gmail. Check your settings to make sure it’s set up according to your preferences.


JetBackup – Restore my account from CPANEL

JetBackup is the cutting-edge backup technology ideal for data protection. Using JetBackup Backups, not only do the backups on databases can easily be performed but also the time consumed during the backup process is minimal as JetBackups does incremental backups. Experience the power of world class backup solution. No more worries on data loss or unpredictable disasters!

After accessing your cPanel, you’ll see under “JetBackup” category an icon labeled “Full Account Backup”, as demonstrated below:

JetBackup - Restore my account from CPANEL
JetBackup – Restore my account from CPANEL

The following page will appear:

JetBackup – Restore my account from CPANEL
JetBackup – Restore my account from CPANEL

This page displays all the available backups automatically generated by JetBackup. In order to restore the entire account, all you need to do is to choose the date you’d like to be restored (normally, the date closest to today), and click the “restore” link adjacent to the desired date. The following message will be displayed:

JetBackup – Restore my account from CPANEL
JetBackup – Restore my account from CPANEL

Check V in the box, understanding that the restored account will overrun the current one. You could also enter your email address in order to be notified when your account is restored. Click the “Restore” button and the following page will appear:

JetBackup – Restore my account from CPANEL
JetBackup – Restore my account from CPANEL

The account restore is in process. Please note that the duration of the restore process depends on the entire account’s weight. You can see the restore status using the “Queue” option from the main JetBackup category in your CPANL home page:

JetBackup – Restore my account from CPANEL
JetBackup – Restore my account from CPANEL

Which will lead you to a designated page of your account’s restore status:

JetBackup – Restore my account from CPANEL
JetBackup – Restore my account from CPANEL

And will finally display:

JetBackup – Restore my account from CPANEL
JetBackup – Restore my account from CPANEL

How to manage the PHP version in cPanel using the PHP Selector

The PHP Selector allows end users to select the specific version of PHP they need. It allows ultimate flexibility by offering all popular versions of PHP, with more than 120 PHP extensions to choose from.

Each of the customers is totally different, and every has totally different needs. With PHP being the dominant language on the web, we have a tendency to package multiple versions of PHP and let the client choose that version they need to run. Customers will choose between PHP four.4, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, and 7.0, 7.1 and 7.2. they’ll conjointly choose from quite a hundred and twenty totally different PHP extensions.

Step 1. Login to cPanel

Step 2: Click on the Select PHP Version Software Menu:

WebhostUk.Co.Uk

Step 3: Select the desired PHP version from the drop down list, then click on Set as current and Save the change:

WebHostUk.Co.Uk

That’s it! The new PHP version is already enabled for your user.

If you want to enable or disable a PHP module, just select it or deselect it from the list and click on Save.

You can also change the PHP options, by clicking on the Switch To PHP Options button:

WebHostUk.Co.Uk

Here you can manage the PHP options, such as the allow_url_fopen, max_execution_time, memory_limit, upload_max_filesize and others:

WebhostUk.Co.Uk

Click on the Save button at the bottom, in order to save your configuration!

Should you need any further assistance, please do not hesitate to contact us.

What is cPanel

What is CPanel
What is CPanel

cPanel on Linux Server is a web based control panel tool which helps to manage web hosting account through a web interface instead of a console. With cPanel we are able to accomplish our tasks faster and even non-professionals can easily manage websites via cPanel.

Mail

To create email accounts, forwarders, and autoresponders as well as account and user-level filtering to manage email.

Fight spam with BoxTrapper, Apache SpamAssassin, and email authentication.

Then, use mailing lists to broadcast your message.

Allow email account suspension and password verification.

Domains

Yo can setup subdomains, addon domains, domains Alias (parked ), and redirects.

Identify your site with Simple DNS Zone Editor and Advanced DNS Zone Editor.

Databases

Store large amounts of data and limit access using MySQL  databases.

Files

Edit and back up files and folders while monitoring your website’s disk space usage.

Security

Configure password-protected directories, IP address denials, SSL/TLS, and GnuPG key settings to restrict access. Protect your site with HotLink Protection, Leech Protect, and ModSecurity.

Apps Galore

Take advantage of third-party software for blogs, eCommerce, bulletin boards, guest books and more to build a robust, dynamic site.

Logs

Know your audience and track your website’s performance using Webalizer and AWStats.

Crons

Allows you to run a certain command at times set by the job. For example, you could set a cron job to delete temporary files every week so that your disk space is not being used up by those files.

cPanel empower you and offer the ability to administer every facet of their website using simple, point-and-click software.

How to  start?

Shared web hosting is one of the most affordable and economical options to host your website. If you would like to use cPanel to manage your Website, Our Linux cPanel web hosting We offers Professional Web Hosting with a wide range of plans to choose from Linux cPanel hosting, designed to deliver extremely fast web hosting for your website, ensuring reliability, security and quality at the most affordable price.

Backup with cPanel expert support team round the clock and free  one-click installation scripts for all popular application software’s such as WordPress, Joomla, Drupal, Magento, b2evolution etc, Free website file and database transfer.

How to Open Ports Range in OpenSuse / Suse Linux Firewall

How to open a network port range in the firewall under OpenSuse / Suse Enterprise Linux server?

How do open a port range in my firewall, such as the TCP ports 20000 to 25000?

You need use Yast tool to open a port ranges under Suse Linux.

Start YaST (type yast command prompt)

Select Security and Users

Select Firewall.

Click Allowed Services

Advanced and enter the desired port range 30000:35000 (syntax is from-port-start:to-port-end). For example, enter the following for the TCP ports 30000 to 35000:

30000:35000

Finally, Close the advanced configuration by clicking OK.

Click Next > Accept.

After closing the YaST firewall configuration, the TCP port range is opened for you.

How to auto delete old emails for cPanel User

email-delete
email-delete

If your mailbox that is always going over-quota or filling up with mail like your default account or your spam box and you don’t want to have to keep logging in and deleting the emails manually below you can find the steps how to auto delete the emails.

  1. Log on to your cPanel Interface.
  2. Go to ”Advanced‘ section.
  3. Click on “Cron Jobs“.
  4. Select the specific time from the lists provided.
  5. You should enter the command to run in the “Command” field.
Note: You should make sure to enter the proper command and the full path to the file.

Check the relevant screen captures:

To do this enter the following information in the following fields:

Minute: 45
Hour: 06
Day: *
Month: *
Weekday: *

Command: /usr/bin/archivemail –quiet –delete –days 10 /home/{USER}/mail/inbox

Make sure you replace {USER} with your actual cPanel username.

Hit the Commit Changes button and wait until sometime after 6:45 AM (assuming you set it up to run at that time) and login to your default email account to see if your emails have been deleted

If everything looks good your default inbox will now have any emails that are older than 10 days automatically deleted

To login into your default email account you use your cpanel username and password

If you wanted to have all the emails deleted that are older than three days you would simply change the –days option to 3

If you wanted to have all emails inside your mail directory including sent mail, spam, etc. that are older than 30 days deleted…
/usr/bin/archivemail –quiet –delete –days 30 /home/{USER}/mail/*

If you had an email account named info @ yourdomain.com and wanted to have all the emails in that inbox that are older than seven days deleted…
/usr/bin/archivemail –quiet –delete –days 7 /home/{USER}/mail/{yourdomain.com}/info/inbox

If you had an email account named info @ yourdomain.com and wanted to have all the emails in your sent-mail folder that are older than twenty-one days deleted…
/usr/bin/archivemail –quiet –delete –days 21 /home/{USER}/mail/{yourdomain.com}/info/sent-mail

Don’t forget to change {yourdomain.com} to your actual domain name !

You can look in your mail directory via your ftp client or the online file manager to see where your mailboxes are located.

NOTE: We *CANNOT* recover mail deleted in this manner, so please use this tutorial at your own risk

 

POP and IMAP email settings for Outlook

To add your email account to Outlook, Outlook on the web, Outlook.com, or the Mail and Calendar apps for Windows 10, you’ll need several pieces of information including the type of account, the incoming and outgoing server names, and the SSL and port settings.

Your email provider can give you these settings, but we’ve provided the settings for the most popular email providers below.

Below you will find POP and IMAP server settings

You can find your server settings below. If your provider isn’t listed, visit your email provider’s website and contact their technical support.

Gmail

You have to enable IMAP or POP access at http://mail.google.com before you can add your account to any other applications.

  1. IMAP incoming server:    imap.gmail.com
  2. IMAP port:    993 
  3. IMAP SSL:    Yes
  4. SMTP outgoing server:    smtp.gmail.com
  5. SMTP port:    587
  6. SMTP SSL or TLS:    TLS
  7. POP incoming server:    pop.gmail.com
  8. POP port:    995
  9. POP SSL:    Yes

If you’d like us to add your email provider, please leave us a comment below with the name of your provider. We can’t add every provider, but we will try to add popular ones on a regular basis.


Outlook.com

  1. IMAP incoming server:    imap-mail.outlook.com
  2. IMAP port:    993
  3. IMAP encryption (SSL/TLS):    TLS

  4. SMTP outgoing server:    smtp-mail.outlook.com
  5. SMTP port:    587
  6. SMTP encryption:    STARTTLS
  7. POP incoming server:    pop-mail.outlook.com
  8. POP port:    995
  9. POP encryption (SSL/TLS):    TLS

If you’d like us to add your email provider, please leave us a comment below with the name of your provider. We can’t add every provider, but we will try to add popular ones on a regular basis.


Yahoo!

  1. IMAP incoming server:    imap.mail.yahoo.com
  2. IMAP port:    993
  3. IMAP SSL:    Yes
  4. SMTP outgoing server:    smtp.mail.yahoo.com
  5. SMTP port:    465 or 587
  6. SMTP SSL or TLS:    SSL
  7. POP incoming server:    pop.mail.yahoo.com
  8. POP port:    995
  9. POP SSL:    Yes

If you’d like us to add your email provider, please leave us a comment below with the name of your provider. We can’t add every provider, but we will try to add popular ones on a regular basis.