united states of america usa  linkedinfacebookgoogle
MailScanner: skip certain email checks

One of our IT Support clients asked us why some emails are coming in with extra HTML content. After some searching, we've discovered that is was due to the MailScanner antispam system: it was parsing emails improperly and adding extra junk. We have decided to solve this by skipping the email from that domain from being scanned altogether.

One way to do so is to change the Scan Messages directive in MailScanner.conf from:

Scan Messages = yes

to

Scan Messages = %rules-dir%/scan.messages.rules

Then, in your rules directory, create a file called scan.messages.rules. In that file, be sure to add the line for scanning all by default:

Continue Reading

Fix NTFS partition errors under Linux

ubuntu10We'll use Ubuntu for this example, but essentially you need an ntfs-3g package, which contains ntfsfix. Under Ubuntu, run the following to install it:

sudo apt-get install ntfs-3g

Then this (where /dev/sdd1 would be your ntfs disk):

ntfsfix /dev/sdd1

Depending on what you are trying to fix, you may want to use options -b and -d.

Continue Reading

Create a PDF from a series of images

pdf-logoWe often get asked, if there's a simple way to join PDFs from many images under linux. The task is very trivial, if you have 1-2 images, as you can use many of the graphical applications. If you have 10-20 or more, we recommend pdfjoin. It runs under Linux on a command line and allows for a quick images to PDF combine.

Continue Reading

Schedule nightly reboot in linux

Linux IT SupportSometimes it is a good idea to schedule a regular reboots, to clear the memory and remove any crashed processes.

This can be easily achieved by adding the task to a cron tab (Linux scheduling system):

First, open the crontab (as a root):

crontab -e

and add a line similar to this:

Continue Reading

Mount windows share in Linux (fstab)

Ubuntu Support and Consulting

This works on any modern distribution of Linux, but we are using Ubuntu 14.04 for the process. First, install CIFS/Samba tools, required to mount the share point:

In Ubuntu:

apt-get install cifs-utils

Now let's create the credentials file:

Continue Reading

Add a software raid to Linux

linux-icon-19This tutorial is for adding extra disks to an already existing system, not conerting current ones to RAID. We are adding a RAID1 software RAID to most common Linux distributions (this should work on any one of them).

We have used 2 disks for this:
/dev/sdb: 500.1
/dev/sdc 500.1

Continue Reading

Unmount a drive when it is busy

There are some circumstances where you have to unmount a drive, but it is not letting you. Giving an error, similar to this:

umount: /mnt/backup: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

Continue Reading

Reserve IP in OpenVPN

openvpn-logo-300x300The IPs in the VPN are assigned randomly. If you have your router configured using something like Tomato, you can setup the reservation by MAC address. For the linux-based install, follow these steps:

1) To begin, first identify the directory, where the files will be stored:

Continue Reading

More Articles...

Tel: (786) 646-6461   |   Toll-Free: (877) 454-0758
18350 NW 2nd Ave, Suite 406E, Miami, FL, 33169, USA
Privacy Policy