Re: [exim] Support for usernames user@domain

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Graeme Fowler
Data:  
Para: exim-users
Asunto: Re: [exim] Support for usernames user@domain
On Mon, 2008-11-17 at 19:15 +0100, Tim Tassonis wrote:
> As a multi-domain mail hoster, we are thinking of starting to create
> operating user accounts in the form of user@domain for our mailboxes.
> This however seems not to be liked too much my exim.


Well, this is a very common thing to do, so let's see...

> Our virtual user router looks like this:
>
>   virtual_localuser:
>    driver = accept
>    check_local_user
>    transport = local_delivery
>    domains = "lsearch;/etc/exim4/maildomains"
>    local_parts = "lsearch;/etc/exim4/users.${domain}"


All looks sane so far.

> and /etc/exim4/users.example.org looks like this:
>
> sgerrard
> ftorres


OK, fine.

<snip>

> If I now create a OS user dkuyt@???, I somehow can't get this to
> work. I tried putting the line
>
> dkyut: dkyut@???
>
> into /etc/exim4/users.example.org, but I always get an error. Is there a
> way to do this, or is it not supported by exim?


And the error is...?

What does your local delivery transport look like? I'll take a punt on
it stripping the domain and delivering to local_part alone, not
local_part@domain.

Graeme