Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3168 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  help me !!! les pro de exim [URGENT]

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

help me !!! les pro de exim [URGENT]

n°23650
athor
Elle est ou la boie a clous ??
Posté le 06-08-2001 à 09:53:53  profilanswer
 

alors la j'ai un drole de pbm mais qui me gave a mort
 
j'ai tout configuré mon serveur de mail pour que l'envoi se fasse a travers une machine avec un serveur smtp (c mon exim qui stock les mails mais pour les envoyer il contact une autre machine = relaying je pense)
je fais parti d'un domaine (que l'on va appelé bac.com)
 
ma machine avec un serveur smtp est sur un autre domaine (cbf.com)
 
alors lorsque j'envoi un mail a une personne local il n'y a pas de pbm
de meme lorsque j'envoi un mail a une personne du domaine cbf.com pas de pbm non plus  
mais par contre quand j'envoi un mail a une personne exterieur (ifrance, caramail ....) ben la il me met un message d'erreur :
 
2001-08-03 16:32:48 15SDuS-00006P-00 == athor25@ifrance.com T = remote_smtp defer (-44) : retry time not reached for any host

 
c vraiment trop bizzard  
 
vous avez pas une solution, voir meme une explication
 
merci d'avance
 
(PS: ce que je capte pas non plus c'est que j'ai une autre machine sous exim qui est sous le meme domaine que le serveur smtpet la il n'y a pas de pbm pour envoyer tous les mails a toutes les @ possiibles)

mood
Publicité
Posté le 06-08-2001 à 09:53:53  profilanswer
 

n°23653
Martinez
Posté le 06-08-2001 à 10:23:21  profilanswer
 

ben recopies le fichier de conf !!

n°23654
athor
Elle est ou la boie a clous ??
Posté le 06-08-2001 à 10:29:04  profilanswer
 

#ton domaine
qualify_domain = cbf.com
 
queue_remote_domains = ! *.localnet
 
#les domaines locaux
local_domains = localhost:serveurtest.cbf.com:serveurtest:cbf.com
 
# Allow mail addressed to our hostname, or to our IP address.
 
local_domains_include_host = true
local_domains_include_host_literals = true
 
#les domaines qu'on relaye si t'en as plusieurs tu mets : entre eux
relay_domains = *
 
# If this is uncommented, we accept and relay mail for all domains we are  
# in the DNS as an MX for.
 
#relay_domains_include_local_mx = true
 
#tu veux pas de mail pour ces utilisateurs via exim
#never_users = root
 
#dès que ta une requete smtp tu peux vérifier par le dns l'expéditeur
#host_lookup = *
 
# Exim contains support for the Realtime Blocking List (RBL) that is being  
# maintained as part of the DNS. See http://maps.vix.com/rbl/ for background.
# Uncommenting the following line will make Exim reject mail from any
# host whose IP address is blacklisted in the RBL at maps.vix.com.
 
#rbl_domains = rbl.maps.vix.com
#rbl_reject_recipients = false
#rbl_warn_header = true
 
# The setting below allows your host to be used as a mail relay by only
# the hosts in the specified networks. See the section of the manual
# entitled "Control of relaying" for more info.
 
#host_accept_relay = localhost : 192.168.0.4
 
# If you want Exim to support the "percent hack" for all your local domains,
# uncomment the following line. This is the feature by which mail addressed
# to x%y@z (where z is one of your local domains) is locally rerouted to
# x@y and sent on. Otherwise x%y is treated as an ordinary local part
 
# percent_hack_domains=*
 
# If this option is set, then any process that is running as one of the
# listed users may pass a message to Exim and specify the sender's
# address using the "-f" command line option, without Exim's adding a
# "Sender" header.
 
trusted_users = mail
 
# If this option is true, the SMTP command VRFY is supported on incoming
# SMTP connections; otherwise it is not.
 
smtp_verify = true
 
# Some operating systems use the "gecos" field in the system password file
# to hold other information in addition to users' real names. Exim looks up
# this field when it is creating "sender" and "from" headers. If these options
# are set, exim uses "gecos_pattern" to parse the gecos field, and then
# expands "gecos_name" as the user's name. $1 etc refer to sub-fields matched
# by the pattern.
 
gecos_pattern = ^([^,:]*)
gecos_name = $1
 
# This sets the maximum number of messages that will be accepted in one
# connection. The default is 10, which is probably enough for most purposes,
# but is too low on dialup SMTP systems, which often have many more mails
# queued for them when they connect.
 
smtp_accept_queue_per_connection = 100
 
# Send a mail to the postmaster when a message is frozen. There are many
# reasons this could happen; one is if exim cannot deliver a mail with no
# return address (normally a bounce) another that may be common on dialup
# systems is if a DNS lookup of a smarthost fails. Read the documentation
# for more details: you might like to look at the auto_thaw option
 
freeze_tell_mailmaster = true
 
# This string defines the contents of the \`Received' message header that
# is added to each message, except for the timestamp, which is automatically
# added on at the end, preceded by a semicolon. The string is expanded each
# time it is used.
 
received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         (Exim ${version_number} #${compile_number} (Debian))\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
end
 
 
##################################################
####################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################
 
# This transport is used for local delivery to user mailboxes. On debian
# systems group mail is used so we can write to the /var/spool/mail
# directory. (The alternative, which most other unixes use, is to deliver
# as the user's own group, into a sticky-bitted directory)
 
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  file = /var/mail/${local_part}
#file = /usr/mail/${local_part}  
#file = /var/spool/mail/${local_part}
 
# This transport is used for handling pipe addresses generated by alias
# or .forward files. It has a conventional name, since it is not actually
# mentioned elsewhere in this configuration file. (A different name *can*
# be specified via the "address_pipe_transport" option if you really want
# to.) If the pipe generates any standard output, it is returned to the sender
# of the message as a delivery error. Set return_fail_output instead if you
# want this to happen only when the pipe fails to complete normally.
 
address_pipe:
  driver = pipe
  return_output
 
# This transport is used for handling file addresses generated by alias
# or .forward files. It has a conventional name, since it is not actually
# mentioned elsewhere in this configuration file.
 
address_file:
  driver = appendfile
 
# This transport is used for handling file addresses generated by alias
# or .forward files if the path ends in "/", which causes it to be treated
# as a directory name rather than a file name. Each message is then delivered
# to a unique file in the directory. If instead you want all such deliveries to
# be in the "maildir" format that is used by some other mail software,
# uncomment the final option below. If this is done, the directory specified
# in the .forward or alias file is the base maildir directory.
#
# Should you want to be able to specify either maildir or non-maildir
# directory-style deliveries, then you must set up yet another transport,
# called address_directory2. This is used if the path ends in "//" so should
# be the one used for maildir, as the double slash suggests another level
# of directory. In the absence of address_directory2, paths ending in //
# are passed to address_directory.
 
address_directory:
  driver = appendfile
  no_from_hack
  prefix = ""
  suffix = ""
# maildir_format
 
# This transport is used for handling autoreplies generated by the filtering
# option of the forwardfile director. It has a conventional name, since it
# is not actually mentioned elsewhere in this configuration file.
 
address_reply:
  driver = autoreply
 
# This transport is used for delivering messages over SMTP connections.
 
remote_smtp:
  driver = smtp
 
end
 
 
######################################################################
#                      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 = real-
  driver = localuser
  transport = local_delivery
 
# This director handles aliasing using a traditional /etc/aliases file.
# If any of your aliases expand to pipes or files, you will need to set
# up a user and a group for these deliveries to run under. You can do
# this by uncommenting the "user" option below (changing the user name
# as appropriate) and adding a "group" option if necessary.
 
system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases
  search_type = lsearch
# user = list
# Uncomment the above line if you are running smartlist
 
# This director handles forwarding using traditional .forward files.
# It also allows mail filtering when a forward file starts with the  
# string "# Exim filter": to disable filtering, uncomment the "filter"  
# option. The check_ancestor option means that if the forward file  
# generates an address that is an ancestor of the current one, the  
# current one gets passed on instead. This covers the case where A is  
# aliased to B and B has a .forward file pointing to A.
 
# For standard debian setup of one group per user, it is acceptable---normal
# even---for .forward to be group writable. If you have everyone in one
# group, you should comment out the "modemask" line. Without it, the exim
# default of 022 will apply, which is probably what you want.
 
userforward:
  driver = forwardfile
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  no_verify
  check_ancestor
  file = .forward
  modemask = 002
  filter
 
# This director matches local user mailboxes.
 
localuser:
  driver = localuser
  transport = local_delivery
 
end
 
 
######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################
 
# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.
 
# This router routes to remote hosts over SMTP using a DNS lookup with
# default options.
 
lookuphost:
  driver = lookuphost
  transport = remote_smtp
 
# This router routes to remote hosts over SMTP by explicit IP address,
# given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
# require this facility, which is why it is enabled by default in Exim.
# If you want to lock it out, set forbid_domain_literals in the main
# configuration section above.
 
literal:
  driver = ipliteral
  transport = remote_smtp
 
end
 
 
######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################
 
# This single retry rule applies to all domains and all errors. It specifies
# retries every 15 minutes for 2 hours, then increasing retry intervals,
# starting at 2 hours and increasing each time by a factor of 1.5, up to 16
# hours, then retries every 8 hours until 4 days have passed since the first
# failed delivery.
 
# Domain               Error       Retries
# ------               -----       -------
 
*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h
 
end
 
 
######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################
 
 
# There are no rewriting specifications in this default configuration file.
 
 
# This is an example of a useful rewriting rule---it looks up the real
# address of all local users in a file
 
# *@serveur    ${lookup{$1}lsearch{/etc/email-addresses}\
#      {$value}fail} bcfrF
 
# End of Exim configuration file
 
 
 
 
 
 
ca c le fichier qui marche sur ma machine de test

n°23655
athor
Elle est ou la boie a clous ??
Posté le 06-08-2001 à 10:31:45  profilanswer
 

le fichie qui marche sur ma machine de test marche pas du tout sur mon nouveau serveur (celui que j'essaye de configurer)
 
alors je l'ai quelque peu modifié
 
#ton domaine
qualify_domain = cbf.com
 
queue_remote_domains = ! *.localnet
 
#les domaines locaux
local_domains = localhost:breva.cbf.com:breva
 
# Allow mail addressed to our hostname, or to our IP address.
 
local_domains_include_host = true
local_domains_include_host_literals = true
 
#les domaines qu'on relaye si t'en as plusieurs tu mets : entre eux
relay_domains = *
 
# If this is uncommented, we accept and relay mail for all domains we are  
# in the DNS as an MX for.
 
relay_domains_include_local_mx = true
 
#tu veux pas de mail pour ces utilisateurs via exim
#never_users = root
 
#dès que ta une requete smtp tu peux vérifier par le dns l'expéditeur
#host_lookup = *
 
# Exim contains support for the Realtime Blocking List (RBL) that is being  
# maintained as part of the DNS. See http://maps.vix.com/rbl/ for background.
# Uncommenting the following line will make Exim reject mail from any
# host whose IP address is blacklisted in the RBL at maps.vix.com.
 
#rbl_domains = rbl.maps.vix.com
#rbl_reject_recipients = false
#rbl_warn_header = true
 
# The setting below allows your host to be used as a mail relay by only
# the hosts in the specified networks. See the section of the manual
# entitled "Control of relaying" for more info.
 
#host_accept_relay = localhost : 192.168.0.4
 
# If you want Exim to support the "percent hack" for all your local domains,
# uncomment the following line. This is the feature by which mail addressed
# to x%y@z (where z is one of your local domains) is locally rerouted to
# x@y and sent on. Otherwise x%y is treated as an ordinary local part
 
# percent_hack_domains=*
 
# If this option is set, then any process that is running as one of the
# listed users may pass a message to Exim and specify the sender's
# address using the "-f" command line option, without Exim's adding a
# "Sender" header.
 
trusted_users = mail
 
# If this option is true, the SMTP command VRFY is supported on incoming
# SMTP connections; otherwise it is not.
 
smtp_verify = true
 
# Some operating systems use the "gecos" field in the system password file
# to hold other information in addition to users' real names. Exim looks up
# this field when it is creating "sender" and "from" headers. If these options
# are set, exim uses "gecos_pattern" to parse the gecos field, and then
# expands "gecos_name" as the user's name. $1 etc refer to sub-fields matched
# by the pattern.
 
gecos_pattern = ^([^,:]*)
gecos_name = $1
 
# This sets the maximum number of messages that will be accepted in one
# connection. The default is 10, which is probably enough for most purposes,
# but is too low on dialup SMTP systems, which often have many more mails
# queued for them when they connect.
 
smtp_accept_queue_per_connection = 0
 
# Send a mail to the postmaster when a message is frozen. There are many
# reasons this could happen; one is if exim cannot deliver a mail with no
# return address (normally a bounce) another that may be common on dialup
# systems is if a DNS lookup of a smarthost fails. Read the documentation
# for more details: you might like to look at the auto_thaw option
 
freeze_tell_mailmaster = true
 
# This string defines the contents of the \`Received' message header that
# is added to each message, except for the timestamp, which is automatically
# added on at the end, preceded by a semicolon. The string is expanded each
# time it is used.
 
received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         (Exim ${version_number} #${compile_number} (Debian))\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
end
 
 
##################################################
####################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################
 
# This transport is used for local delivery to user mailboxes. On debian
# systems group mail is used so we can write to the /var/spool/mail
# directory. (The alternative, which most other unixes use, is to deliver
# as the user's own group, into a sticky-bitted directory)
 
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  file = /var/mail/${local_part}
#file = /usr/mail/${local_part}  
#file = /var/spool/mail/${local_part}
 
# This transport is used for handling pipe addresses generated by alias
# or .forward files. It has a conventional name, since it is not actually
# mentioned elsewhere in this configuration file. (A different name *can*
# be specified via the "address_pipe_transport" option if you really want
# to.) If the pipe generates any standard output, it is returned to the sender
# of the message as a delivery error. Set return_fail_output instead if you
# want this to happen only when the pipe fails to complete normally.
 
address_pipe:
  driver = pipe
  return_output
 
# This transport is used for handling file addresses generated by alias
# or .forward files. It has a conventional name, since it is not actually
# mentioned elsewhere in this configuration file.
 
address_file:
  driver = appendfile
 
# This transport is used for handling file addresses generated by alias
# or .forward files if the path ends in "/", which causes it to be treated
# as a directory name rather than a file name. Each message is then delivered
# to a unique file in the directory. If instead you want all such deliveries to
# be in the "maildir" format that is used by some other mail software,
# uncomment the final option below. If this is done, the directory specified
# in the .forward or alias file is the base maildir directory.
#
# Should you want to be able to specify either maildir or non-maildir
# directory-style deliveries, then you must set up yet another transport,
# called address_directory2. This is used if the path ends in "//" so should
# be the one used for maildir, as the double slash suggests another level
# of directory. In the absence of address_directory2, paths ending in //
# are passed to address_directory.
 
address_directory:
  driver = appendfile
  no_from_hack
  prefix = ""
  suffix = ""
# maildir_format
 
# This transport is used for handling autoreplies generated by the filtering
# option of the forwardfile director. It has a conventional name, since it
# is not actually mentioned elsewhere in this configuration file.
 
address_reply:
  driver = autoreply
 
# This transport is used for delivering messages over SMTP connections.
 
remote_smtp:
  driver = smtp
 
end
 
 
######################################################################
#                      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 = real-
  driver = localuser
  transport = local_delivery
 
# This director handles aliasing using a traditional /etc/aliases file.
# If any of your aliases expand to pipes or files, you will need to set
# up a user and a group for these deliveries to run under. You can do
# this by uncommenting the "user" option below (changing the user name
# as appropriate) and adding a "group" option if necessary.
 
system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases
  search_type = lsearch
# user = list
# Uncomment the above line if you are running smartlist
 
# This director handles forwarding using traditional .forward files.
# It also allows mail filtering when a forward file starts with the  
# string "# Exim filter": to disable filtering, uncomment the "filter"  
# option. The check_ancestor option means that if the forward file  
# generates an address that is an ancestor of the current one, the  
# current one gets passed on instead. This covers the case where A is  
# aliased to B and B has a .forward file pointing to A.
 
# For standard debian setup of one group per user, it is acceptable---normal
# even---for .forward to be group writable. If you have everyone in one
# group, you should comment out the "modemask" line. Without it, the exim
# default of 022 will apply, which is probably what you want.
 
userforward:
  driver = forwardfile
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  no_verify
  check_ancestor
  file = .forward
  modemask = 002
  filter
 
# This director matches local user mailboxes.
 
localuser:
  driver = localuser
  transport = local_delivery
 
end
 
 
######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################
 
# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.
 
# This router routes to remote hosts over SMTP using a DNS lookup with
# default options.
 
lookuphost:
  driver = lookuphost
  transport = remote_smtp
 
# This router routes to remote hosts over SMTP by explicit IP address,
# given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
# require this facility, which is why it is enabled by default in Exim.
# If you want to lock it out, set forbid_domain_literals in the main
# configuration section above.
 
literal:
  driver = ipliteral
  transport = remote_smtp
 
 
end
 
 
######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################
 
# This single retry rule applies to all domains and all errors. It specifies
# retries every 15 minutes for 2 hours, then increasing retry intervals,
# starting at 2 hours and increasing each time by a factor of 1.5, up to 16
# hours, then retries every 8 hours until 4 days have passed since the first
# failed delivery.
 
# Domain               Error       Retries
# ------               -----       -------
 
*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h
 
end
 
 
######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################
 
 
# There are no rewriting specifications in this default configuration file.
 
 
# This is an example of a useful rewriting rule---it looks up the real
# address of all local users in a file
 
# *@serveur    ${lookup{$1}lsearch{/etc/email-addresses}\
#      {$value}fail} bcfrF
 
# End of Exim configuration file

n°23656
athor
Elle est ou la boie a clous ??
Posté le 06-08-2001 à 10:32:54  profilanswer
 

est ce que ca vient de mon exim ou alors du serveur smtp relai ?

n°23661
Martinez
Posté le 06-08-2001 à 11:06:12  profilanswer
 

euh...là g moyenement envie et pas trop le temps de tout lire et de faire du débugging...
sorry

n°23789
athor
Elle est ou la boie a clous ??
Posté le 06-08-2001 à 20:23:38  profilanswer
 

c plus la peine j'ai trouvé  
ca venais du loopback


---------------
---Lors d'un combat la victoire est inutile si elle n'inflige pas un maximum de souffrance à l'ennemi---

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  help me !!! les pro de exim [URGENT]

 

Sujets relatifs
Linux redhat, startx, bug, help, mercire gros pbm avec exim !!! [urgent a mort]
[HELP RAPIDE SVP] Lilo m'a viré zindozpbm avec exim !!! URGENT [envoi de mail]
HELP : comment créer une diskette de boot sous nunuxProblème avec la libtool ! HELP
HELP pour windows 2000 
Plus de sujets relatifs à : help me !!! les pro de exim [URGENT]


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR