This section will guide you through installation of Postfix 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 aliases
add 'webemail: "|/path/to/atmail/saveemail.pl" '
where /path/to/atmail is the path to the @Mail installation folder
in your Webserver.
edit virtual
add '$domainname webemail'
where $domainname is the domainname for which you install @Mail
edit main.cf
add 'myhostname = $domainname'
where $domainname is the domainname for which you install @Mail
Make sure alias_maps and virtual_maps are set correctly in your main.cf:
alias_maps = hash:/path/to/aliases/aliases
virtual_maps = hash:/path/to/virtual/virtual
After this, give the following commands to activate the changes in
the virtual and the aliases and to restart the postfix daemon.
If the postmap-, postalias- or postfix-command can not be found in
your path find the correct path using 'locate postmap', 'locate postalias',
'locate postfix'.
postmap virtual
postalias aliases
postfix stop
postfix start
2.2 How @Mail receives emails
By setting the aliases file to forward to saveemail.pl (the @Mail-script
that receives mail) @Mail now receives all the mail sent to your domain.
@Mail can now handle all incoming mail and store it in mailboxes.
2.3 Additional Information