Re: [exim] Enhancing acl_check_rcpt

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: 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