Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] Postfix Qwerkiness
  • From: Sandy Drobic <suse-linux-e@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 24 Jan 2007 09:53:53 +0100
  • Message-id: <45B71EA1.7030602@xxxxxxxxxxxxxxxxxxxxxxx>
Kenneth Schneider wrote:
On Tue, 2007-01-23 at 17:40 -0500, Brian Blater wrote:
On 1/23/07, Sandy Drobic <suse-linux-e@xxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx to
bbl***@pure-energy.net. (Basically anything to
"user"@mail.pure-energy.net should be aliased to
something@xxxxxxxxxxxxxxx). so, how can I tell postfix that
vscan@xxxxxxxxxxxxxxxxxxxx = vscan@xxxxxxxxxxxxxxx and to look in the
virtual file to see that vscan@xxxxxxxxxxxxxxx =
bbl***@pure-energy.net (or even that vscan@xxxxxxxxxxxxxxxxxxxx =
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >