Author: Evgeniy Berdnikov Date: To: exim-users Subject: Re: [exim] Cram authentication and domain-specific password file
On Mon, Jun 29, 2015 at 06:28:07PM +0200, Jonas Meurer wrote: > Nope, I mean the domain part of provided username.
Username is saved in $auth1. Clearly documented.
> If somebody tries to
> authenticate as 'user@???', then the password file to lookup the
> credentials is '/etc/vmail/users/domain.org'. This is what I try to
> achieve. Is this possible at all?
Just split the username string on '@', extract domain and use it.
--
Eugene Berdnikov