Marc Perkel wrote:

> Dovecot uses multiple back ends. I am using more than one. I am also
> using the standard shadow/passwd files. And I am developing a third

Wow, facts, after all.

> Do you want to write an example of how I would authenticate against both
> a Linuxconf and a passwd/shadow file system? I'm not convinced Exim can
> do it. But a simple IMAP call could.

Exim is quite flexible. untested, but the concept should be clear:

server_condition = ${if and{ \
  {!eq {$2}{}} \
  {!eq {$3}{}} \
  {crypteq {$3}{\
    ${extract {1}{:}{\
      ${lookup {${extract [EMAIL PROTECTED] lsearch\
        {/etc/vmail/shadow.${extract [EMAIL PROTECTED]
  {1}\
  {... the same with pam}}

This is really not rocket science.


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to