On 9 January 2011 12:15, Frank Lin PIAT <fp...@klabs.be> wrote:

> Hello,
>
> I want to allow my remote users to submit emails through SMTP
> on port 587 (using TLS). Obviously I want to enforce authenticate
> for those mail submission (my user are stored in LDAP, with passwrd
> as plain text, so both PAM and LDAP should be possible [?]).
>
> Does anyone knows a good howto. I am especially wondering how to
> instruct EXIM to use PAM/LDAP rather than the local /etc/exim4/passwd)
>
> thanks
>
> Franklin
>
>
This is what we do to authenticate against LDAP, the LDAP server and exim
are the same machine, no encryption is used. Everything is Debian 5.0.7

plain:
        driver = plaintext
        public_name = PLAIN
        server_debug_print = "EXIM PLAIN auth"
        server_condition = ${if ldapauth \
                {user=${lookup ldapdn
{ldap://localhost/ou=people,dc=myorg,dc=org??sub?(uid=$2)}} \
                pass=${quote:$auth3} \
                ldap://localhost/}}
        server_set_id = $2

Hope that helps

Reply via email to