Re: [exim] short host name in local_domains

2019-07-03 Thread Marc Haber via Exim-users
On Fri, 7 Jun 2019 11:12:23 +0200, Heiko Schlittermann via Exim-users wrote: >Marc Haber via Exim-users (Do 06 Jun 2019 16:07:36 CEST): >> in Debian, local_domains gets seeded with "@:localhost" plus whatever >> the local administrator has entered to augment the list of >> local_domains. > >Why "

Re: [exim] short host name in local_domains

2019-06-07 Thread Heiko Schlittermann via Exim-users
Marc Haber via Exim-users (Do 06 Jun 2019 16:07:36 CEST): > Hi, > > in Debian, local_domains gets seeded with "@:localhost" plus whatever > the local administrator has entered to augment the list of > local_domains. Why "localhost"? This would accept messages via SMTP addressed to USER@localhost.

Re: [exim] short host name in local_domains

2019-06-06 Thread Jeremy Harris via Exim-users
On 6 June 2019 17:21:41 BST, Marc Haber via Exim-users wrote: >That would be legal syntax as in > >|local_domains = >@:localhost:${extract{1}{.}{$primary_hostname}}:other.domain.example > >? That's how I read the docs on list-expansion; they're string-expanded first. As always, test. -- Cheer

Re: [exim] short host name in local_domains

2019-06-06 Thread Marc Haber via Exim-users
On Thu, 06 Jun 2019 18:21:41 +0200, Marc Haber via Exim-users wrote: >That would be legal syntax as in > >|local_domains = >@:localhost:${extract{1}{.}{$primary_hostname}}:other.domain.example > >? Indeed, and it even makes its way through Debian's magic scripts, making |dc_other_hostnames='${e

Re: [exim] short host name in local_domains

2019-06-06 Thread Marc Haber via Exim-users
On Thu, 6 Jun 2019 16:05:14 +0100, Jeremy Harris via Exim-users wrote: >On 06/06/2019 15:07, Marc Haber via Exim-users wrote: >> Am I doing things wrong by adding the short host name to >> local_domains? > >If it works, it's hard to call it wrong. It's a matter of personal style, I know, and I wo

Re: [exim] short host name in local_domains

2019-06-06 Thread Jeremy Harris via Exim-users
On 06/06/2019 15:07, Marc Haber via Exim-users wrote: > 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_doma

[exim] short host name in local_domains

2019-06-06 Thread Marc Haber via Exim-users
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