Re: [Exim] qualify_domain is also a hostname

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nigel Metheringham
Date:  
À: Randy Bush
CC: exim users
Sujet: Re: [Exim] qualify_domain is also a hostname
randy@??? said:
> it seems that the qualify_domain tells roam.psg.com not only
> o please hide hostname and generate only psg.com which i very much
> need, but also
> o you are a valid destination for foo@??? the latter is not what
> i want at all!


qualify_domain and local_domains are orthogonal *but* they do set
defaults from one another, as these statements from TFM state (edited
down somewhat):-

local_domains option

Option: local_domains
Type: domain-list
Default: "see below"

This specifies a list of domains which are recognized as `local',
that is, their delivery is handled in a special way by this MTA
using directors rather than routers. If this option is not set,
it defaults to the value of `qualify_recipient'.



qualify_domain option

Option: qualify_domain
Type: string
Default: "see below"

This specifies the domain name that is added to any sender
addresses that do not have a domain qualification. It also
applies to recipient addresses if `qualify_recipient' is not
set. Such addresses are accepted by default only for
locally-generated messages -- messages from external sources
must always contain fully qualified addresses, unless the
sending host matches one of the `receiver_unqualified' or
`sender_unqualified' options. If `qualify_domain' is not set,
it defaults to the `primary_hostname' value.



qualify_recipient option

Option: qualify_recipient
Type: string
Default: "see below"

This specifies the domain name that is added to any recipient
addresses that do not have a domain qualification. Such addresses
are accepted by default only for locally-generated messages --
messages from external sources must always contain fully qualified
addresses, unless the sending host matches one of the
`receiver_unqualified' or `sender_unqualified' options (see below).
If `qualify_recipient' is not set, it defaults to the
`qualify_domain' value.

So, in short, if you do not want any local deliveries, you set
    local_domains =


    Nigel.
-- 
[ Nigel Metheringham                  Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]