Home How to install ? Installation Installing a mail server and set first settings on debian

Installing a mail server and set first settings on debian

Print PDF

Change Debian repositories to use the Postfix last version

In Artica 1.2 version, it uses the repostories manager of the operating system And uses the postfix version which support the “milter” API.
This new feature allows, in addition to the performance profit on the utilities associated with postfix, to offer a “comfort” in the modules management of picking without having to configure the file master.cf.  
Some Linux debian distribution do not include this new version.
In this case, type these lines of orders to force the software to use this new version.  

echo “deb. http://www.backports.org/debian etch-backports hand contrib non-free” >> /etc/apt/sources.list
apt-get install debian-backports-keyring
apt-get update && apt-get -t etch-backports install postfix postfix-ldap

*Il may be that the postfix fitter asks you few questions, put anything, artica will take again the hand once installed

Masters applications Installation.

In this method, we install the whole of the components necessary Artica administration running and all modules associated with postfix.
These modules being free, why deprive itself some!?
Artica does not affect the rules of “Apparmor” in order to prevent any conflict, it is advised of uninstall Apparmor to check it, type orders

dpkg -L |grep armor
II apparmor 2.1 1075-0ubuntu9.1 To use-space parser utility for AppArmor
II apparmor-utils 2.1 1075-0ubuntu9.1 Utilities for controlling AppA

if you have two “I” “II” it is confirm that your server store this software, then type this order to uninstall 

apt-get remove apparmor --purge

Web engine and LDAP server installation

type these commands.

apt-get install slapd openssl php5-cgi php5-ldap php5-mysql lighttpd mysql-server rrdtool librrdp-perl librrds-Perl libfile-tail-perl libmysqlclient15-dev awstats openssl libgeo-ipfree-perl mailgraph queuegraph libnet-xwhois-perl gcc make libwww-perl php5-imap sasl2-bin

*Remember the MYSQL sever password if the fitter asks it to you

Postfix additional modules installation.

type these commands

apt-get install spamassassin spamass-milter clamav clamav-demon stunnel4 clamav-milter milter-greylist libio-socket-ssl-perl mimedefang sanitizer libhtml-parser-perl wv libfile-scan-perl libarchive-zip-perl graphdefang
ttf-dustin libgd-tools libconvert-tnef-perl

Optional mailboxes server

If you wish your server become a mailbox server IMAP, POP3, NNTP, type these commands

apt-get install cyrus-imapd-2.2 cyrus-admin-2.2 php5-imap sasl2-bin cyrus-pop3d-2.2 cyrus-murder-2.2

Artica program installation

Connect on the www.artica.fr site and go in the “download” section and download last debian package (artica-postfix-1.x.xxxxxx.deb)

Let us admit that package names should be artica-postfix-1.2.061611.deb

type these commands

wget http://www.artica.fr/download/1.2versions/artica-postfix-1.2.061611.deb && dpkg - I artica-postfix-1.2.061611.deb 

During the installation, artica will seek applications which generally do not exist in the distribution, ensure that your server can be connected to Internet.

Once the installation of artica-postfix finished, you will have to stop artica-postfix and to start again

type these commands

/etc/init.d/artica-postfix stop
/etc/init.d/artica-postfix start


now Artica is installed you will be able to create your first parameters.


 

Connecting to the Administration web console

By default, the listening server listen port 9000

With a Firefox navigator, connect to the following address:

https://server:9000

The title page of artica should be posted:

 




 

Use the account “Manager” and the “secret” password to connect as an administrator



Information of the first assistant;

With the first connection and if you did not inform the assistant, a window is printed proposing to you to indicate the first parameters. If you type on “cancel”, the assistant will not print himself any more.



 



 

Click on “Next” to begin the assistant.

The first question relates to your organization.

Indeed, artica can manage several organizations. I.e. several fields and companies on the same server.

Indicate in the field the name of your company
for example. 

 


 

The second question proposes to you to indicate a first user group.

An organization can contain several groups. A group lodges mails users .
Each group has privileges and specific parameters.

Indicate a group name like “administrators” for example.

 


 

The third question relates to SMTP domain transport which you will manage (mainly characters after @ of the addresses email)

Indicate the Domain here that you wish to create.

 

 

The fourth question relates to the lodging of this domain. Indeed, you sould have the objective to use this server only in transfer mode.

Then ,you will indicate the address of the true server which store the Domain previously selected.

in addition and if this server store mailboxes of your domaine, do not put anything in the field and click on “next”



 



 

The fifth question proposes to you to create your first user of the transport.

You will indicate only in the fields “to use id” the account user (without @) for example “root”

Indicate the password of this user in the field “password”

then click on the button “Build settings”

 



 

The assistant indicates  operations it will carry out in Artica in order to prepare your server with the new parameters.
Click on “Launch” in order to authorize Artica to generate the configuration.


 

There can be an error to the group creation. Do not pay attention to it.


Once the operations carried out, close this windows

Definition of your network.

For the moment, your server run in stand alone mode ; 

It does not listen it's own address.

In the left menu, deploy the “postfix” menu and click on the“Network settings” sub-menu

 

In the bottom section “What customers to relay email from”, indicate  workstations or servers IP beginning address  xxx.xxx.xxx.0  and IP end addresses  xxx.xxx.xxx.255 should send emails for Internet or locally.
Then, click on “Add”

End of the part, compilation of the rules.

Click on hyperlink “SAVE & APPLY YOUR POLICIES”

In the new window click on the hyperlink “Postfix hand settings”

 

 

Artica will apply the rules defined to postfix

When all is compiled the Postfix entry indicates “success to you”

 

 

Your server is OK to run...
 

Related Articles Plus


Newsflash

blackducksoftware.com has decided to put Artica in top 10 of Open Sources Rookies for 2008 years.
Artica start to be seen in the world....

More infos :

http://www.blackducksoftware.com/news/news/2009-01-21