Re: [exim] Migrating from qmail to exim question

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Ian Eiloart
Data:  
Para: Miguel Lanz
CC: <exim-users@exim.org>
Asunto: Re: [exim] Migrating from qmail to exim question
On 15 May 2012, at 16:35, Miguel Lanz wrote:
>
> Thanks for your feedback guys I really appreciate it.
>
> I installed courier-imap and courier-imap-auth.
>
> My question is:
>
> where do I configure exim and courier-imap to work together.


They don't really work together. You need to create a transport on the exim.conf file that delivers to the correct inboxes. And you need to create a router that says which messages should be delivered with that transport. Presumably that'll be all messages destined for your email domains.

> what setting do I need to configure on exim.conf file. Also openldap server runs on an external server how to I tell exim to use it so that users can authenticate through their e-mail clients using IMAP and their network password?


There you need to set an authenticator in the "authenticators" section. Mine looks like this (but I've obfuscated my ldap structure, you'll need to tweek the "user=" section so that it's appropriate to your LDAP structure

begin authenticators
######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################


login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = Username:: : Password::
  server_condition = ${if ldapauth \
    { user="uid=${quote_ldap:${sg{$1}{[\n\t\r ]}{}}},ou=A,ou=B,o=blah" \
      pass="$2" ldap:///\
    }{yes}{no}}
  server_set_id = ${sg{$1}{[\n\t\r ]}{}}
### end authenticators



> also when I sent my self a test e-mail using just exim right after I installed it, it places the e-mail under /var/mail/$USER instead of creating a Maildir folder for the user.


Yes, you'll need to set up the transport for that. I don't use courier, so I can't help with that, I'm afraid.

> Thanks for your help.


--
Ian Eiloart
Postmaster, University of Sussex
+44 (0) 1273 87-3148