At 9:32 -0400 5/28/2002, Dave C. wrote:
>On Mon, 27 May 2002, Jim Savoy wrote:
>
>>
>>
>> "Dave C." wrote:
>
>> And I'm still curious as to how "mensa.uleth.ca" gets added.
>> If exim itself is tacking this on, how can I stop it from doing that?
>> And what did the message look like before mensa.uleth.ca was
>> added to it? Just a local part with no domain?
>
>If it originally had no domain, then probably. Hrm.. Im not sure if exim
>does this by default in headers. Are you doing any address rewriting?
>
>You could of course reject mail with no domain attached..
>'headers_check_syntax' I beleive..
The default out of the box is to grab the name from the uname call. And
apply it to addresses with only a local part, from those hosts which are
allowed to provide such addresses.
In Exim 3 (I forget which this thread is talking about), see under MAIN
CONFIGURATION SETTINGS early in the configuration file:
# Specify your host's canonical name here. This should normally be the fully
# qualified "official" name of your host. If this option is not set, the
# uname() function is called to obtain the name.
primary_hostname =
# Specify the domain you want to be added to all unqualified addresses
# here. An unqualified address is one that does not contain an "@" character
# followed by a domain. For example, "caesar@???" is a fully qualified
# address, but the string "caesar" (i.e. just a login name) is an unqualified
# email address. Unqualified addresses are accepted only from local callers by
# default. See the receiver_unqualified_{hosts,nets} options if you want
# to permit unqualified addresses from remote sources. If this option is
# not set, the primary_hostname value is used for qualification.
qualify_domain =
# If you want unqualified recipient addresses to be qualified with a different
# domain to unqualified sender addresses, specify the recipient domain here.
# If this option is not set, the qualify_domain value is used.
# qualify_recipient =
And then, lower down:
# By default, Exim expects all envelope addresses to be fully qualified, that
# is, they must contain both a local part and a domain. If you want to accept
# unqualified addresses (just a local part) from certain hosts, you can specify
# these hosts by setting one or both of
#
# receiver_unqualified_hosts =
# sender_unqualified_hosts =
--
John Baxter jwblist@??? Port Ludlow, WA, USA