HowTos/MTA Integration

From Scalix Wiki
Revision as of 21:26, 9 April 2006 by Florian (Talk | contribs) (Setting up a Smarthost with Postfix)

Jump to: navigation, search

Basic MTA configuration

By default, the MTA will not be visible to the outside world; this means it must be configured not to listen on the system's external IP address.

Outgoing Internet Traffic

The Scalix service router places messages adressed to Internet/SMTP recipients on the ROUTER queue. This queue is being processed by the outgoing Internet mail gateway, the unix.out process. Depending on the format selected for the recipient (MIME or TNEF), the message is being transformed and finally a RFC-2822 compliant message is being generated.

The message is then handed over to the operating system's MTA through a local SMTP conversation. The MTA is invoked through the command line interface; the exact command to be used is specified in /var/opt/scalix/sys/unix.mapper, e.g.

transport-service = /usr/sbin/sendmail -bs

Note: This configuration will also work with Postfix as it provides a /usr/sbin/sendmail by default that will emulate a number of sendmail options; the -bs option for local SMTP mode is one of them.

The message will then be processed by the MTA as usual. A few special configurations require additional configuration.

Smarthost configuration

Setting up a Smarthost with sendmail

Setting up a Smarthost with Postfix

To setup the smarthost in Postfix, execute the following command:

postconf -ev <relayhost>[:<portnumber>]

and restart Postfix using

/etc/init.d/postfix restart

Configurations without DNS

Setting up sendmail without DNS