Re: [Exim] mysql lookup

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dan Egli
Date:  
À: palmeida
CC: Exim User's Mailing List
Sujet: Re: [Exim] mysql lookup
Paulo Almeida wrote:


>>>
>>>[MY ROUTER]
>>>local_user:
>>> debug_print = "R: local_user for $local_part@$domain"
>>> driver = accept
>>> transport = maildir_home
>>>



just off the top of my head, I'd say to add a line like this to that router:

local_parts = ${lookup mysql {SELECT id FROM users WHERE domain='$domain'}}

That won't work on it's own, but it will give you an idea of where to
look. The issue is that if you are even getting into that transport for
non-existant users then you need to re-configure the router so it won't
accept non-existant users.

--
-- Dan