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
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:
We'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):
Depending on what you are trying to fix, you may want to use options -b and -d.
We 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.
For some reason Zentyal 5 (and 4 before it) does not enable the vacation out-of-office message in Sogo (even thought the function is available in the software).
To enable it, follow these steps (you will need access to the command line console):
Sometimes 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):
and add a line similar to this:
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:
apt-get install cifs-utils
Now let's create the credentials file:
This 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:
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))