IMAP : Serving multiple Domains with the IMAP Server

Support knowledgebase (kngu_imap_relay)
Applies to

SuSE Imap-Server: Version 1.0

Situation:

You are interested in serving more than one Domain with your IMAP server

In order to do this you have to simply enable Relaying of Domains and possible adjust the Transport Tables.

Proceedure:

In the file /etc/postfix/main.cf you will find the follosing section:

------------------snip-------------------------------------------------
# The relay_domains parameter restricts what domains (and subdomains
# thereof) this mail system will relay mail from or to.  See the
# smtpd_recipient_restrictions restriction in the file sample-smtpd.cf.
#
# By default, Postfix relays mail only from or to sites in or below
# $mydestination, or in the optional virtual domain list.
#
# Specify a list of hosts or domains, /file/name patterns or type:name
# lookup tables, separated by commas and/or whitespace.  Continue
# long lines by starting the next line with whitespace. A file name
# is replaced by its contents; a type:name table is matched when a
# (parent) domain appears as lookup key.
#
# NOTE: Postfix will not automatically forward mail for domains that
# list this system as their primary or backup MX host. See the
# permit_mx_backup restriction in the file sample-smtpd.cf.
#
#relay_domains = $mydestination, $virtual_domains
------------------snap-------------------------------------------------
which, for example, should be changed to:
relay_domains = $mydestination, some.domain.com, someother.domain.com 

You will also need to reload the new configuration for Postfix, which can be done with this command:
rcpostfix reload
In the same directory, you will find a number of example files that each describe other possible Postfix configuration parameters. In addition, there is more complete documentation on the Postfix MTA in the directory /usr/doc/packages/postfix/html.
Keywords: IMAP, POSTFIX, DOMAIN, RELAY, SERVER

Categories: User

SDB-kngu_imap_relay, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 06. Jul 2000
SuSE Linux AG - Last generated: 08. Sep 2000 by karine (sdb_gen 1.40.0)