Hi All,

I've been using exim4 in a fairly basic configuration up until  
recently, however I now have a need to have ldap authentication for  
outgoing messages.

I've setup the following authenticator, however all email has "sent on  
behalf of cn=user name,ou=People,dc=foo,dc=bar" (I've replaced the  
exact cn and dc information for security reasons) instead of the from  
address of the user (i.e. [email protected]).

I've googled to try and fix this, however I'm not exactly sure what  
I'm looking for so I've yet to find an answer.

login:
   driver = plaintext
   public_name = LOGIN
   server_prompts = Username:: : Password::
   server_condition = ${if ldapauth \
     {user="cn=${quote_ldap_dn:$auth1},ou=People,dc=foo,dc=bar" \
     pass=${quote:$auth2} \
     ldap://127.0.0.1/}}

server_set_id = "cn=$auth1,ou=People,dc=foo,dc=bar"


If anyone can shed some light on this, that would be great!

Kind regards,

Matt.
-- 
Matthew Macdonald-Wallace
[email protected]
http://www.truthisfreedom.org.uk/

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

Reply via email to