[Exim] ldap delivry + exiscan

Page principale
Supprimer ce message
Répondre à ce message
Auteur: <p.caseiro@voila.fr>
Date:  
À: exim-users
Sujet: [Exim] ldap delivry + exiscan
    Hello I have a problem !

For the local délivery I use ldap and this mails delivred by ldap wasn't scanned by exiscan !!

Some one have a solution ???

thanks for your help

Some Elements :

######################################################################
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#   A local address is passed to each in turn until it is accepted.  #
######################################################################


# This allows local delivery to be forced, avoiding alias files and
# forwarding.

real_local:
#!!# prefix renamed local_part_prefix
driver = accept
check_local_user
local_part_prefix = real-
transport = local_delivery


incoming_mail:
  driver = accept
  condition = \
 "${if or {\
        {and {\
            {match {$received_protocol}{smtp}}\
            {match {$sender_address_domain}{ac-dijon.fr}}\
                  }\
        }\
         {and {\
             {match {$received_protocol}{smtp}}\
             {eq {$domain}{eleves.ac-dijon.fr}}\
                   }\
         }\
        {match {$received_protocol}{local}}\
      }\
      {No}{Yes}\
}"
  retry_use_local_part
  transport = poubelle



ldap_user:
driver = redirect
allow_defer
data =${expand:${lookup ldap{ldap://localhost:389/o=gouv,c=fr?mailDir?sub?
(mail=$local_part@$domain)}}}
directory_transport = address_directory_ldap
file_transport = address_file_ldap
retry_use_local_part
#search_type = ldapm # Recherche multiple
#errors_to = real-admin

ldap_aliases:
driver = redirect
allow_defer
data =${lookup ldapm {ldap://localhost:389/o=gouv,c=fr?mailDir?sub?
(mailAlternateAddress=$local_part@$domain)}}
directory_transport = address_directory_ldap
file_transport = address_file_ldap
qualify_preserve_domain
retry_use_local_part

system_aliases:
driver = redirect
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
retry_use_local_part
# user =
# Uncomment the above line if you are running smartlist
sympa_aliases:
driver = redirect
allow_defer
data = ${lookup{$local_part}lsearch{/etc/mail/sympa_aliases}}
file_transport = address_file
pipe_transport = address_pipe
retry_use_local_part
user = sympa

------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr