Feb 21

Re: Changing max_execution_time and max_input_time in .htaccess for a single domain

Sometimes you need more time for your script or upload to complete however you want to avoid changing these setting for the entire server, so the option to change for a single domain is there when running PHP as Apache.

To change max_execution_time and max_input_time from the 60 second default add the following lines to the top of your .htaccess:

php_value max_execution_time 600
php_value max_input_time 600

The change is instantly active and affects only the virtual host in question.

Feb 20

Re: Problems sending attachments, attachments wont attach

Usually this problem is browser related and can be traced to an over-protective security setting, try the following in Internet Explorer:

  • Click “Tools”,”Internet options”,”Security” tab,”Custom level”
  • Scroll down util you find “Navigate sub-frames across different domains”
  • Click “Enable”, “Apply”, “Ok”

Now try to attach again.

Feb 19

Re: qmail restart error, plesk qmail error,  [: =: unary operator expected

You have installed Plesk, updated all your modules, upgrade PHP, mysql, everything looks great. Then, you realise that you have Plesk with the Postfix MTA but you want Qmail MTA - so you go ahead and select Qmail MTA in the Plesk Upgrade Manager.

Install is fine, until you try to start qmail.

[root@server ~]# service qmail restart
/etc/init.d/qmail: line 25: [: =: unary operator expected

Before you panic, check this file:

# cat /etc/sysconfig/network
HOSTNAME=server.yourhostname.com
NETWORKING=yes

If you are missing the NETWORKING line, simply insert it.

# [root@server ~]# service qmail start
Starting qmail:                                            [  OK  ]

Your qmail service is now functioning as required. Panic over :)

Feb 16

Re: Email port, ports for email, secure email ports

When troubleshooting email and mail server related problems it is wise to first check that all of your email ports are open and not being blocked by your firewall, here you can find the ports you need open for POP, POPS, IMAP, IMAPS and SMTP

  • Port 25 allows SMTP connections
  • Port 110 allows POP connections
  • Port 995 allows POPS connections
  • Port 143 allows IMAP connections
  • Port 993 allows IMAPS connections

Ensure these ports are open if you are have problems communicating with your mail server.

Feb 02

Re: Setup email on iPhone, iPad, iPod or IMAP PC/Mac client

So you have logged in to Plesk and created your mailbox. Now, apart from being able to AtMail Webmail straight away, you might want to connect your iDevices too. Here’s how to do it…

Try the following for sending/receiving IMAP on your iPhone/iPad or Mac/PC devices:

Incoming Mail Server
Hostname: mail.yourdomain.co.uk
User Name: mailboxname@yourdomain.co.uk
Password: (your password)

Advanced Incoming Settings
Use SSL: OFF
Athentication: Password
IMAP Prefix /
Server Port: 143
S/MIME: OFF

Outgoing Mail Server
Hostname: mail.yourdomain.co.uk
User Name: mailboxname@yourdomain.co.uk
Password: (your password)
Use SSL: ON
Authentication: Password
Server Port: 587

Obviously replace mailboxname with the actual mail box name and yourdomain with your actual domain name. Now you should be able to send and receive without any problems.

Jan 06

Re: Finding Plesk Spammer, Qmail spam source, Anonymous spam

So you’ve done all the basics, looked through the maillogs and you’ve determined the spammer is sending from “anonymous” which means a vulnerable script somewhere on the server. But where? Great, so now let’s delve a little deeper to find the UID of the spammer.

1) Let’s take a look in the mail queue and read one of those spam email references:

# /var/qmail/bin/qmail-qread

remote ankush_krishna2137@yahoo.com
6 Jan 2012 09:14:53 GMT #34012584 2987 <anonymous@server.microlite8.com>

2) Now we have a message ID, let’s search for the actual message:

# find /var/qmail/queue/ -name 34012584

/var/qmail/queue/info/0/34012584
/var/qmail/queue/remote/0/34012584
/var/qmail/queue/mess/0/34012584

3) Great! Now let’s see what’s in the message to get out that all telling UID:

# cat /var/qmail/queue/mess/0/34012584

Received: (qmail 9936 invoked by uid 10820); 6 Jan 2012 09:14:50 +0000
Date: 6 Jan 2012 09:14:50 +0000
Message-ID: <20120106091450.9934.qmail@server.microliteX.com>
To: annette@recdom.wandoo.co.uk
Subject: Urgent Reply
From: Mrs.Farida Waziri <faridawaziri@hotmail.com>

4) Let’s map the UID to a domain name on the Plesk server:

# cat /etc/passwd | grep 10820

admin947932:x:10820:2523::/var/www/vhosts/thisisthespammer.com:/bin/false

5) Spammer caught :D

Please share this page on Facebook or Google+ if you found this article useful.

Jan 05

Re: Is my site infected with Malware, Is there malicious code in my site?

There is one sure fire way to check if your site is infected with Malware, ask Google!

Go to the following URL and insert your domain name at the end, here is a sample:

http://www.google.com/safebrowsing/diagnostic?site=uk-cheapest.co.uk

To check your PC for malware, use the following free software:

AdAware - http://www.lavasoft.com/
MBAM - http://www.malwarebytes.org/products/malwarebytes_free

This free software will remove all malware and malicious ads, spyware and cookies from your PC and should be run regularly to ensure an optimum browsing experience.

Jan 05

Re: Yandex IP range, Yandex subnets, Block Yandex Robots

Across our server range we are finding that Yandex continues to ignore robots.txt files and crawls some sites constantly, so how do you stop such an abuse of your network resources?

If you use IPTABLES or APF (you should!) then you can block all Yandex spiders using the following IP ranges:

77.88.0.0/18 # yandex.ru
77.88.22.0/23 # yandex.ru
77.88.24.0/21 # yandex.ru
77.88.24.0/22 # yandex.ru
77.88.28.0/22 # yandex.ru
77.88.36.0/23 # yandex.ru
77.88.42.0/23 # yandex.ru
77.88.44.0/24 # yandex.ru
77.88.50.0/23 # yandex.ru
87.250.224.0/19 # yandex.ru
87.250.230.0/23 # yandex.ru
87.250.252.0/22 # yandex.ru
93.158.128.0/18 # yandex.ru
93.158.137.0/24 # yandex.ru
93.158.144.0/21 # yandex.ru
93.158.144.0/23 # yandex.ru
93.158.146.0/23 # yandex.ru
93.158.148.0/22 # yandex.ru
95.108.128.0/17 # yandex.ru
95.108.128.0/24 # yandex.ru
95.108.152.0/22 # yandex.ru
95.108.216.0/23 # yandex.ru
95.108.240.0/21 # yandex.ru
95.108.248.0/23  # yandex.ru
178.154.128.0/17 # yandex.ru
178.154.160.0/22 # yandex.ru
178.154.164.0/23 # yandex.ru
199.36.240.0/22 # yandex.ru
213.180.192.0/19 # yandex.ru
213.180.204.0/24 # yandex.ru
213.180.206.0/23 # yandex.ru
213.180.209.0/24 # yandex.ru
213.180.218.0/23 # yandex.ru
213.180.220.0/23 # yandex.ru

Simply restart APF and Yandex will no longer be a problem (until they extend their network!).

Jan 04

Before connecting your domain to your Google Apps Email account you will need to determine if your domain name is parked or hosted. If your domain name is parked you will need to make the changes in your Domain Control panel - if your nameservers are NOT set to ns.microlite1.com and ns2.microlite1.com and you have hosting with us you will need to make the changes inside your Plesk control panel. If you have lost your Domain / Plesk control panel login details please go to Forgotten password to retrieve all of your login details by email.

To make DNS changes inside your Domain control panel select the domain and go to DNS Manager, please be sure to delete any existing MX records before adding the new ones. When adding the Google MX records please set the hostname for each MX record to @

To make DNS changes inside your Plesk control panel, select the domain and go to DNS Settings, please ensure that you delete any existing MX records before adding the Google MX records. When adding the records please leave the ‘mail domain’ field blank.

You are now ready to add the following MX records:

ASPMX.L.GOOGLE.COM. 1

ALT1.ASPMX.L.GOOGLE.COM. 5

ALT2.ASPMX.L.GOOGLE.COM. 5

ASPMX2.GOOGLEMAIL.COM. 10

ASPMX3.GOOGLEMAIL.COM. 10

The records are listed in priority order (smallest priority value 1 = highest priority), if you cannot add the priority values listed then you will need to add the records in the listed order.

If you experience any problems please submit a ticket to our Help Desk.

Dec 20

To import a MySQL database you can use phpMyAdmin which is available in your Plesk control panel.

1) Firstly, you will need  to create the database in Plesk that you would like to import the SQL file to.

- Video tutorial: How to create a database in Plesk

2) Open up phpMyAdmin inside Plesk

- Go to Databases

- Select the Database

- Go to Webadmin

3) Once you are in phpMyAdmin, Select the Database on the left hand bar.

4) Go to import

5) Click the ‘Choose’ button to browse the location of the text file

6) Click “Go” to import the SQL file

If you experience any problems, please log a ticket with our Help Desk.

Dec 20

Sending Emails using SMTP

Many of our hosting accounts are provided with your own shared SMTP server based on your domain name however many ISPs are now blocking 3rd party SMTP use in an effort to control SPAM on their networks.

If you use a third-party SMTP server server based on your domain name it may be classed as a spam risk. Sometimes, only emails sent through a dedicated ISP SMTP server have the best chance of delivery.

Use your ISP SMTP Server for best performance

Your ISP (or Broadband provider) already supplies you with an SMTP server, this is provided as part of the service you are paying for. It can be confusing, so here is a list of popular ISPs and their SMTP servers.

AOL
smtp.aol.com
BT Yahoo!
mail.btinternet.com
BT Openworld
mail.btopenworld.com
BT Click
smtp.btclick.com
BusinessServe
smtp.businessserve.co.uk
Claranet
relay.clara.net
Demon
post.demon.co.uk
Easynet
smtp.easynet.co.uk
Freeserve
smtp.freeserve.co.uk
Global Internet
smtpmail.globalnet.co.uk
gmail
smtp.gmail.com
Go Daddy
smtpout.secureserver.net
Lineone
smtp.lineone.net
Lycos
smtp.lycos.co.uk
Mac.com
smtp.mac.com
Mistral
smtp.mistral.co.uk
Netscape
smtp.isp.netscape.com
Netscapeonline
mailhost.netscapeonline.co.uk
Nildram
smtp.nildram.co.uk
NTL
smtp.ntlworld.com
OneTel
mail.onetel.net.uk
Pipex (Dial)
smtp.dial.pipex.com
Pipex
smtp.dsl.pipex.com
Purplenet
smtp.purplenet.co.uk
Supanet
smtp.supanet.com
TalkTalk
smtp.talktalk.net
Telewest
smtp.blueyonder.co.uk
Tesco Net
mail.tesco.net
Tiscali
smtp.tiscali.co.uk
Totalise
mail.totalise.co.uk
UK Gateway
smtp.ukgateway.net
UK Superweb
smtp.uksuperweb.co.uk
Virgin
smtp.virgin.net
Waitrose
smtpmail.waitrose.com
Wanadoo (Orange)
smtp.wanadooadsl.net
yahoo.co.uk
smtp.mail.yahoo.co.uk
plusnet
relay.plus.net
BT Connect
smtp.btocnnect.com
O2
smtp.o2.co.uk
Post Office
smtp.mypostoffice.co.uk
Sky
smtp.tools.sky.com
Eclipse Internet
smtp.eclipse.co.uk
Madasafish
mail.madasafish.com
Orange
smtp.orange.net
Be*
smtp.bethere.co.uk
Griffin Internet
smtp.griffin.com
Hotchilli
smtp.hotchilli.net
Karoo
smtp.karoo.co.uk
Namesco
smtp.namesco.net
Scotnet
mail.scotnet.co.uk
Timewarp
mail.timewarp.co.uk
Zen Internet
mailhost.zen.co.uk

 

When to use mail.yourdomain.co.uk

Most of our tutorials show your email configuration using the SMTP server mail.yourdomain.co.uk, however, you should use your ISP SMTP server in its place for the best and most consistent results.

If your ISP does not provide you with an SMTP service, then try using mail.yourdomain.co.uk as your SMTP server, this will work for most email networks.

Dec 20

So you want to setup your email on your new Android device? Don’t worry, it’s easy – we’ll have you up and running in 5 minutes. Just follow these steps…

  • Open your Android device email application
  • If you already have an email account set up, Press Menu and tap Accounts. Press Menu again and tap Add Account.
  • Type your email address and password then hit Next
  • Select IMAP to use your mail direct on the server. (Use POP if you want to permenantly download emails to your actual device rather than viewing them from the server.)

Incoming Server settings:

Username: your email address
Password: your password
IMAP server: mail.yourdomainnamehere.com
Port: 143
Security type: None
IMAP path prefix: leave blank

Outgoing server settings:

Most ISP do not allow 3rd party SMTP servers, so you will need to use that provided by your ISP, see here for more details: Find your ISP SMTP Server Name

Dec 20

Re: Upgrade features on Plesk to latest offering

The range of features on offer today may be more than when you purchased your account. There is no need to lose out. This is not a new customers only offer.

We are now offering more hosted domains on all accounts to new cutomers however if you are an existing customer, don’t worry – you can upgrade to the latest offering for free!

Here is what you need to do:

  • Look at the Hosting page for your plan current feature list
  • The multiple domain allowances have increased for all accounts
  • The database allowances have in some cases been reduced
  • Log a ticket with the Helpdesk asking for a “feature update”
  • Include your clientXXXXX Plesk login within the ticket for a fast upgrade
  • Your existing data will not be affected and will remain intact

If you provide the correct clientXXXXX ID and your domain name from the outset in your ticket, your upgrade may be completed within an hour. The ticket will be updated once the upgrade is complete.

Dec 16

Re: Gmail email not arriving, email sent to gmail not arriving

If you are able to send email to some destinations but not to your Gmail.com and you do not get a bounce message email address then try the following:

  • Ensure that the email is no going to your Gmail.com junk folder
  • Ensure that you have an SPF record setup at the sending domain

If you are getting nothing arriving to your Gmail account and you are not getting a bounce and you have an SPF record set up then try this Google walkthrough: Google – Gmail emails not arriving

 

Dec 11

Re: What to do with your new web hosting account

  1. Login to your Plesk Control Panel to gain access to all the features and resources provided with your account.
  2. Set up your first email address and start using email services with your domain
  3. Start collecting web visitor statistics and monitor visitors activity around your site
  4. Launch more sites with multi domain hosting to get the most from your web presence
  5. Install and Connect FileZilla FTP to upload files to your personal web space
  6. Install a Web Application such as WordPress and get a professional site online straight away

You are now well on the way to making the most of your new hosting account. For further information and advise search the knowledgebase or contact the Helpdesk.