[ILUG] MX record question
lhecking at nmrc.ucc.ie
Wed Mar 29 12:42:51 IST 2000
Justin MacCarthy writes:
> Sorry I wasn't clear !!! What I meant was a catchall. IE How do I get mail
> sent to anything.dom.net to go to mail.dom.net
One way is using a wildcard MX record. That's generally perceived a bad idea.
DNS&BIND 3rd ed p.378
The latter doesn't actuall say it's a bad idea, only that it's dangerous :)
o sendmail: mailertable; FEATURE(`mailertable')
The brackets turn off MX lookups.
o postfix: transport table; transport_maps = hash:/etc/postfix/transport
As the default transport is smtp, it can be omitted (the part before the
colon on the RHS). The brackets turn off MX lookups.
John McCormac writes:
> Justin MacCarthy wrote:
> Set up mail.dom.net with its own IP.
> Then set the MX for dom.net to mail.dom.net. This should work by
> default. Then it is up to the Sendmail/MTA to decide what goes where.
But this doesn't work.
If there are no MX records for anything.dom.net, mail will be sent to
anything.dom.net directly (ie. the A record), and not to mail.dom.net.
More information about the ILUG