Kenneth Schneider wrote:
On Tue, 2007-01-23 at 17:40 -0500, Brian Blater wrote:
On 1/23/07, Sandy Drobic
wrote: snip Thanks for your help on this. Bear with me as I ask a few questions to get a better understanding. mail.pure-energy.net is the hostname. I already have pure-energy.net setup as a relay_domain. In the virtual file I have an alias for vscan@mail.pure-energy.net to bbl***@pure-energy.net. (Basically anything to "user"@mail.pure-energy.net should be aliased to something@pure-energy.net). so, how can I tell postfix that vscan@mail.pure-energy.net = vscan@pure-energy.net and to look in the virtual file to see that vscan@pure-energy.net = bbl***@pure-energy.net (or even that vscan@mail.pure-energy.net = bbl***@pure-energy.net? pure-energy.com should have the "A" record and mail.pure-energy.com can be a CNAME to it (alias) so that they both use the same IP address. You also need to make sure you have an MX record to handle the mail.
This has nothing to do with the question. The question was about address rewriting. pure-energy.NET does not need an a record, just an mx record. Only if a mx record does not exist the a record will be used to determine the transport for a mail. If neither a or mx record exists mails will be bounce with "unknown recipient domain". As a general rule, better do not use CNAME in maildomains. They must resolve to an mx or a record anyway, so it's just one more dns lookup for the client. Much more important for a sending mailserver is to have a matching reverse dns record that points back to the a record. Otherwise the server is logged as the name of the reverse dns record or as unknown. A lot of servers refuse to accept mails from servers that do not have a matching reverse dns record. Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org