Imapsync is an IMAP transfer tool used for copying emails from one IMAP server to another IMAP server. This article will help you to install imapsync on Ubuntu, Debian, and LinuxMint systems and transfer all your Mailboxes and emails between two IMAP servers.
Step 1 – Install Imapsync
Imapsync package is available under EPEL package repository. First make sure you have added EPEL on your system or install it first.
$ sudo yum install epel-release
Now, install imapsync package using following command. Continue reading “Mail Sync between 2 mailservers using Imapsync” »
I assume you have one public IP address for your WAN side, and a block for the LAN side, something like this:
ISP-----ROUTER ETH0/ROUTER ETH1------SWITCH------PCs
You NEED to have a public IP address for the WAN interface, ISP will route the subnet they have given you through this IP address. Simply you need to set the forwarding bit to 1
echo 1 > /proc/sys/net/ipv4/ip_forward
To make it persistent you need to edit /etc/sysctl.conf, find this line: Continue reading “Linux Router- No NAT” »
We need to set a FQDN hostname before we set up the mail server. On CentOS Linux, hostname is set in two files: Hostname setting:
# Part of file: /etc/sysconfig/network
Hostname <=> IP address mapping: /etc/hosts. WARNING: Please list the FQDN hostname as the first item.
# Part of file: /etc/hosts
127.0.0.1 demo.iredmail.org demo localhost localhost.localdomain
Verify the FQDN hostname with command ‘hostname -f’. If you change the hostname, please reboot the server to make it work. Continue reading “Install iRedmail on a CentOS 6.8 server” »
Metabase requires at least 1GB of RAM. All the required dependencies will be installed throughout the tutorial. You will need a minimal installation of CentOS 7 with root access on it. If you are logged in as a non-root user, you can run sudo -i to switch to root user.
Update Base System
Before installing any package it is recommended that you update the packages and repository using the following command.
yum -y update
Add Node.js 8.x repository:
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
yum -y install nodejs
To store Mailtrain database we will need to install MariaDB. MariaDB is a fork of MySQL
Install MariaDB repository into your system. Continue reading “Install Mailtrain Bulk Mailer Application on CentOS 7” »
As the first step, we will install these packages on the CentOS server with yum:
yum install nfs-utils
Now create the directory that will be shared by NFS:
Change the permissions of the folder as follows:
chmod -R 755 /var/nfsshare
chown nfsnobody:nfsnobody /var/nfsshare
We use /var/nfsshare as shared folder, if we use another drive such as the /home directory, then the permission chnges will cause a massive permissions problem and ruin the whole hierarchy. So in case we want to share the /home directory then permissions must not be changed. Next, we need to start the services and enable them to be started at boot time. Continue reading “Build NFS Server on CentOS 7” »
When I tried to start postfix today, I got the following message:
fatal: parameter inet_interfaces: no local interface found for 220.127.116.11
Solution is straightforward:
comment out “inet_interfaces = all”
add “inet_protocol = ipv4”
Installing the RPM
If you are using the RPM version of Webmin, first download the file from the downloads page, or run the command :
then install optional dependencies with :
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
and then run the command :
rpm -U webmin-1.870-1.noarch.rpm
Continue reading “Webmin installation on Centos” »
It’s a bit silly process, googled hours but found not solid way to update my old 32bit centos 5 linux box. So came up with a solution of my own. It might work for you, but no guarantee!
Remove all .repo inside /etc/yum.conf.d/ directory
Create a new repo file inside /etc/yum.conf.d/
Update with the following section: Continue reading “CentOS 5 Repository fix using vault.centos.org” »
I hope you already know how to allow NFS from proxmox host server. if not, you may read my earlier post:
NFS fix on LXC Host Server
I was actually receiving a error like below:
# mount -t nfsd nfsd /proc/fs/nfsd
mount: nfsd is write-protected, mounting read-only
mount: cannot mount nfsd read-only
My proxmox edition was 5.0-30 and my CentOS was 7.
However, this is a bit different rather looking the other one as mentioned above. I was experiencing connecting my Centos 7 LXC container to a NFS server in the network. The regular tweak didn’t work. So, had to spend a while googling the solution. Found the correct one on a forum thread. But eventually it worked. For this you need to edit the file
nano /etc/pve/lxc/<your container ID>.conf
Add the below line in the conf file:
Reboot the container. And now try to connect the NFS server. It should work.
In this guide, we’ll walk you through installing all of these components (except for Linux, which is already installed as your OS when you create the server).
Install the Extra Packages for Enterprise Linux Repository (or EPEL for short):sudo yum install epel-release
Run a yum update to sync your packages with the new EPEL repository:
sudo yum update
sudo yum install mysql-server
sudo service mysqld start
Configure your MySQL installation:
Make it so that MySQL will start automatically on server reboot: Continue reading “LEMP on Centos 6” »