Selasa, 10 Juni 2014

Creating an alias for an account

The following codes illustrate how you can setup an alias. This step is optional since we are going to configure virtual mail domains later in this howto. I have added this step to make sure you understand how you can do this in case it is required. Create a user sudo useradd -m -s /bin/bash sysadmin sudo passwd sysadmin Edit the alias table Open the alias file with: sudo vi /etc/aliases Add...

Per User .forward Files

Users can control their own mail delivery by specifying destinations in a file called .forward in their home directories. The syntax of these files is the same as system aliases, except that the lookup key and colon are not present. I will illustrate an example here: Assume that you need to forward all the mails which come to the sysadmin account to an another account. Enter the following commands: su...
With this approach, every hosted domain can have its own info etc. email address. However, it still uses Linux system accounts for local mailbox deliveries. With virtual alias domains, each hosted address is aliased to a local UNIX system account or to a remote address. The example below shows how to use this mechanism for the fossedu.org and linuxelabs.com domains. Inside the main.cf file,...