Bon voila notre exim.conf sans commentaire superflue.

Parallelement on a pris en compte ton infos concernant relay_from_hosts,
Nous supposons que "::::1" correspond à tous les réseaux autre que ceux
spécifiés

Le résultat : On ne passe plus !!! ni en interne ni en externe, sous outlook
express, il demande une authentification que l'on saisie et qui est refusée
(ya plus de spam... mais ya plus de mail non plus!!!!)...

Y aurait il un soucis entre PAM (librairie PAM de Redhat + exim_pam_0.77) et
RH9...

Kenavo

Patrick

######################################################################
#                  Runtime configuration file for Exim
#
######################################################################

######################################################################
#                    MAIN CONFIGURATION SETTINGS
#
######################################################################

primary_hostname = mondomaine.com

domainlist local_domains = @:mondomaine.com
domainlist relay_to_domains = localhost
hostlist   relay_from_hosts = 127.0.0.1 : ::::1 : 192.168.200.0/24 :

#   domainlist local_domains = my.first.domain : my.second.domain

# domainlist relay_to_domains = *.myco.com : my.friend.org

# hostlist relay_from_hosts = 127.0.0.1 : 192.168.0.0/16

acl_smtp_rcpt = acl_check_rcpt

# qualify_domain =

# qualify_recipient =

# allow_domain_literals

never_users = root

host_lookup = *

rfc1413_hosts = *
rfc1413_query_timeout = 30s

# sender_unqualified_hosts =
# recipient_unqualified_hosts =


# percent_hack_domains =

ignore_bounce_errors_after = 2d

timeout_frozen_after = 7d

######################################################################
#                       ACL CONFIGURATION
#
#         Specifies access control lists for incoming SMTP mail
#
######################################################################

begin acl

acl_check_rcpt:

  accept  hosts = :

  deny    local_parts   = [EMAIL PROTECTED]/|] : ^\\.

  accept  local_parts   = postmaster
          domains       = +local_domains

  require verify        = sender

accept  domains       = +local_domains
          endpass
          message       = unknown user
          verify        = recipient

  accept  domains       = +relay_to_domains
          endpass
          message       = unrouteable address
          verify        = recipient

  accept  hosts         = +relay_from_hosts

  accept  authenticated = *

  deny    message       = relay not permitted

######################################################################
#                      ROUTERS CONFIGURATION
#
#               Specifies how addresses are handled
#
######################################################################
#     THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT!        #
# An address is passed to each router in turn until it is accepted.
#
######################################################################

begin routers

# domain_literal:
#   driver = ipliteral
#   domains = ! +local_domains
#   transport = remote_smtp

dnslookup:
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
  no_more

system_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch{/etc/aliases}}
# user = exim
  file_transport = address_file
  pipe_transport = address_pipe

userforward:
  driver = redirect
  check_local_user
  file = $home/.forward
  no_verify
  no_expn
  check_ancestor
# allow_filter
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply

localuser:
  driver = accept
  check_local_user
  transport = local_delivery

######################################################################
#                      TRANSPORTS CONFIGURATION
#
######################################################################
#                       ORDER DOES NOT MATTER
#
#     Only one appropriate transport is called for each delivery.
#
######################################################################

remote_smtp:
  driver = smtp

local_delivery:
  driver = appendfile
  file = /var/mail/$local_part
  delivery_date_add
  envelope_to_add
  return_path_add
# group = mail
# mode = 0660

address_pipe:
  driver = pipe
  return_output

address_file:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  return_path_add

address_reply:
  driver = autoreply

######################################################################
#                      RETRY CONFIGURATION
#
######################################################################

begin retry

# Domain               Error       Retries
# ------               -----       -------

*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h

######################################################################
#                      REWRITE CONFIGURATION
#
######################################################################

begin rewrite

######################################################################
#                   AUTHENTICATION CONFIGURATION
#
######################################################################

begin authenticators

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if pam{$1:$2}{1}{0}}"
server_set_id = $1

######################################################################
#                   CONFIGURATION FOR local_scan()
#
######################################################################
# begin local_scan

# End of Exim configuration file


Linux-Azur :      http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****

Répondre à