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.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!