# Copyright (C) 1991 PeterG. This program is free software: you # can redistribute it and/or modify it under the terms of the # GNU General Public License as published by the Free Software # Foundation, either version 2 of the License, or (at your # option) any later version. This program is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. This directory may contain one or more of files that are address checking, alias or routing tables for EXIM4. They are listed here in the order in which they apply. These files control message acceptance during the SMTP envelope negotation: f2deny: localpart@domain Messages being received with a 'MAIL FROM:' that matches the given address are to be refused. The local part or the domain can contain wildcards. af2accept: localpart1@domain1: localpart2@domain3\ :localpart3@domain3 ... Messages being received with a 'RCPT TO:' equal to the address before the colon and with a 'MAIL FROM:' equal to one of the addresses after the colon are to be accepted. The address before the semicolon can contain wildcards. a2deny: localpart@domain Messages being received with a 'RCPT TO:' that matches the given address are to be refused. The local part or the domain can contain wildcards. These alias tables apply only to addresses in *incoming* messages. They are applied to all addresses, whether the domain is local or remote. The target addresses in 'a2a' and 'd2a' ought to be fully qualified, and the domain should not be one that is aliased elsewhere. a2a: localpart1@domain1: localpart2[@domain2] Messages to an address that matches the local part and domain given before the colon are redirected to the address after the colon. Matching is case independent. d2a: domain1: localpart2[@domain2] Messages to an address whose domain matches domain given before the colon are redirected to the address after the colon. The domain before the colon *must* be in lower case. Matching is case independent. d2d: domain1: domain2 Messages to an address whose domain matches domain given before the colon are redirected to the address containing the same local part but with the domain after the colon. The domain before the colon *must* be in lower case. Matching is case independent. This table routes domains to smarthosts: d2host: domain hostname Messages addressed to the domain in the first column are forwarded over SMTP to the host in the second column.