Re: [exim] Enhancing acl_check_rcpt

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
Asunto: Re: [exim] Enhancing acl_check_rcpt
On 04/11/2020 14:15, Victor Sudakov via Exim-users wrote:
> OTOH it would be good to have the +dovecot_domains compiled automatically
> from all the domains in /etc/dovecot/users instead of defining it as a
> semi-static list.
>
> (I call it semi-static because it's defined as
> "domainlist dovecot_domains = dsearch;/home/vmail"
> So when I add a new dovecot domain, I must remember to create the directory
> under /home/vmail or rely on dovecot to create it).


If you used a DB (sqlite, pgsql, mysql...) with separate columns for
local_part and domain, you could easily search for either the full
account or just the domain.
--
Cheers,
Jeremy