[exim] short host name in local_domains

Top Page
Delete this message
Reply to this message
Author: Marc Haber
Date:  
To: exim-users
Subject: [exim] short host name in local_domains
Hi,

in Debian, local_domains gets seeded with "@:localhost" plus whatever
the local administrator has entered to augment the list of
local_domains.

I am usually entering the short hostname of the host in that list, so
that my local_domains usually ends up being like "@:localhost:myhost",
knowing that @ gets expanded to myhost.domain.example by virtue of
primary_hostname. This allows stupid local apps to send mail to
localuser@myhost instead of localuser@??? to have
localuser aliased away in the /etc/aliases file. Without myhost in
local_domains, Mail to localuser@myhost would not be considered local
and probably sent away to a smarthost without the virtue of having the
local alias file consulted.

Am I doing things wrong by adding the short host name to
local_domains? Why does @ only expand to the FQDN and not to FQDN and
the short host name? Why is there not q special expansion item
expanding to the short host name?

Greetings
Marc, having been a bit out of touch with e-mail servers for the last
years
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | 
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834