@Mail System Documentation : v 3.4
The latest version of this file can be found at:
http://atmail.nl/docs/


@Mail Postfix Installation

1 Introduction: What is Postfix?

2 Postfix Configuration files

3 Contact Information


1 Introduction: What is Postfix?

Postfix is an SMTP (Simple Mail Transfer Protocol) Server for UNIX. It is a popular SMTP server for Unix platforms, and is very easy to setup and configure. You'll need to configure Postfix to deliver mail for your domain-names to the @Mail system.

2 Configuring Postfix for @Mail

This section will guide you through the configuration of Postfix for @Mail on a UNIX platform. These steps must be carried out as the Administrator, i.e. Root user.

Find out where the Postfix configuration files live. This location is usually '/etc/postfix' but in case this is different find out by doing 'locate main.cf'. Change directory to this location and edit the following files:

2.1 Postfix Configuration files

Edit main.cf; add/modify:

    'myhostname = $hostname'

where $hostname is the local hostname.  

    then add/modify:

     'mydomain = $domainname'

where $domainname is a fully qualified domain which resolves to the localhost IP.  


In the master.cf file for postfix add the following:

        atmail    unix  -       n       n       -       -       pipe
            flags=  user=apache argv=/var/www/atmail/saveemail.pl  $recipient


        In the user= field, add the user that is the webserver owner (usually 'apache' or 'nobody').


Next, disable the local delivery agent daemon by commenting it out in /etc/postfix/master.cf:

#======================================================================
# service     type      private     unpriv      chroot      wakeup      maxproc     command + args
#                               (yes)       (yes)       (yes)          (never)      (50)
#======================================================================
# local         unix          -               n           n               -                -                 local


 Insert into the /etc/postfix/transport file:

            <domain>                atmail:

        for all domains for which you would like @Mail to receive mail.


Edit /etc/postfix/main.cf and add the line:

            transport_maps = hash:/etc/postfix/transport


 Next run postmap /etc/postfix/transport



        Reload Postfix:

            root# postfix reload 
or
            root# postfix start                 (if postfix was not already started)


2.2 How @Mail receives emails

Setting up the relay 'atmail' in /etc/postfix/master.cf, transports email for the domains specified in /etc/postfix/transport to use the relay 'atmail' to send messages to saveemail.pl (the @Mail-script that receives mail). @Mail can then handle all incoming mail and store it in mailboxes.

3 Contact Support

For additional support, please visit our web site, http://webbasedemail.com
Or send us an eMail : support@CalaCode.com