On Mon, Nov 10, 2008 at 02:17:20PM -0500, Bailo, John wrote: > Setting up a backup server on a two mail server network: > > Reading the postfix book, it looks like relay_domains will try to relay > all mail for those domains.
Will by default accept mail for the domains from untrusted (to relay to the world at large) clients and will, barring transport table overrides ..., use the "relay" transport to deliver the mail to the recipient's domain. > Relay_recipients must specify all the mails on the primary or I can use > a wildcard of @thedomain.com The relay_recipient_maps table is used to validate recipient addresses, not route them. The lookup result is ignored, only the presence/absence of a key is important. Using wildcards is largely pointless, you are disabling recipient validation, and becoming a backscatter host. Don't use wildcards, list all valid addresses. Wildcards are only needed as a temporary measure, when you have recipient lists for most domains, but some are not yet available... > However, what if I want to relay only some emails for the domain listed > in relay_domains and have the rest use local email addresses on the > backup mail server? A local domain is not a relay domain. You don't appear to have understood the concepts yet... http://www.postfix.org/ADDRESS_CLASS_README.html -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:[EMAIL PROTECTED]> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.