Hello.
Let me say right off that this bug may have the same underlying cause as 481597, I'm not
certain.
I dpkg-reconfigure'd exim4-config recently to set up for smarthost operation. The problem I
observed was that all mail was sent to the smarthost, even mail which should have been
delivered locally, e.g., mail to an unqualified username, or to username@mailname
(matt@peopledog.homenet in this case).
In part the issue is confusing directions:
" Please enter a semicolon-separated list of recipient domains for which │
│ this machine should consider itself the final destination, apart from │
│ the local hostname (peopledog) and "localhost". These domains are │
│ commonly called "local domains". │
│ │
│ Leaving this list blank will have Exim do no local deliveries.
"
These two paragraphs seem in contradiction. The first suggests that the mailname and
localhost do not need to be provided in the following prompt to obtain local delivery for
the mailname and localhost. Yet the latter suggests that no local delivery at all will
happen if the field is left blank.
As it happens it appears the last paragraph is more correct. If I leave the list blank, in
the resulting config.autogenerated only "@:localhost" is present in MAIN_LOCAL_DOMAINS, so
mail qualified implicitly or otherwise by the mailname is not considered local.
If I repeat the mailname at the "other destinations" prompt then local mail is delivered as
expected.
Thanks for your work on Debian.
Matt