Loading ...
Sorry, an error occurred while loading the content.

Re: reason for having localhost.$mydomain, etc. in mydestination

Expand Messages
  • mouss
    ... in the default setup, @localhost gets completed as @localhost.$mydomain (See append_at_mydomain). Putting both localhost and localhost.$mydomain yields
    Message 1 of 2 , Jan 2, 2010
    • 0 Attachment
      Philippe Cerfon a écrit :
      > Hi.
      >
      > The default for mydestination = ${myhostname}, localhost.${mydomain}, localhost
      > Why does it contain localhost.${mydomain}?

      in the default setup, @localhost gets "completed" as
      @localhost.$mydomain (See append_at_mydomain). Putting both localhost
      and localhost.$mydomain yields some safety.


      > And wouldn't it be a good idea to add the hostname (without the domain
      > as in $myhostname)?
      >

      By default, @host gets completed to @host.$mydomain. and if you change
      append_at_mydomain, then you need to fix pieces of software that would
      generate addresses of the form <foo@host> (without a domain part).

      This is different from "localhost", because many pieces of software are
      known to generate <foo@localhost> style addresses. and also because
      "localhost", even if it doesn't have a dot, is unambiguous.


      > Thanks,
      > Philippe.
      >
      > btw: Happy new year!

      yep, happy MMX.
    Your message has been successfully submitted and would be delivered to recipients shortly.