Re: [exim] Why doesn't Exim authenticate against IMAP direct…

Góra strony
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
CC: 'Exim-users'
Temat: Re: [exim] Why doesn't Exim authenticate against IMAP directly?


Jakob Hirsch wrote:

>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 {1}{@%!}{$2}}} lsearch\
>        {/etc/vmail/shadow.${extract {2}{@%!}{$2}}}}}}}\
>  {1}\
>  {... the same with pam}}

>
>This is really not rocket science.
>
>
>
>

Go ahead and finish it. Let's see how complex it really is.

--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com