[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim




=?iso-8859-1?Q?S=E9bastien_Chaumat?= a écrit :

> On Wed, 17 Mar 1999, Daniel ANDRE wrote:
>
> > Bonjour,
> >
> > =?iso-8859-1?Q?S=E9bastien_Chaumat?= a écrit :
> >
> > > Bonjour a tous,
> > >
> > >  Comme beaucoup de monde ici bas (?) je suis passé de smail à exim lors de
> > > l'upgrade vers slink.
> > >
> > >  Je n'ai plus de problèmes avec les mails pour root, qui sont bien
> > > délivrés en local en respectant /etc/aliases.
> > >
> > >  Mais la config par défaut en "satelite systeme" ne me permet pas
> > > d'envoyer le mail destiné à l'extérieur (domaine non local) sur le
> > > smarthost.
> > >
> > >  Ça ne devrait pas être le comportement normal ?
> > >
> > >  Comment peut-on arranger ça?
> >
> > J'utilise exim (sur hamm, pas encore passé sur slink) et ça fonctionne. Je ne
> > sais plus trop comment j'ai fait mais j'ai certainement modifié le fichier
> > exim.conf à la main.
> >
> > Quel est le fichier exim.conf?
>
> Je pense que la partie qui joue la dedans c'est :
>
> ######################################################################
> #                    MAIN CONFIGURATION SETTINGS                     #
> ######################################################################
> qualify_domain = mercure.ens-lyon.fr
> local_domains =
> never_users = root
> host_lookup_nets = 0.0.0.0/0
> sender_host_reject_relay = *
> trusted_users = mail
> smtp_verify = false
> gecos_pattern = ^([^,:]*)
> gecos_name = $1
> received_header_text = "Received: \
>           ${if def:sender_fullhost {from ${sender_fullhost} \
>           ${if def:sender_ident {(${sender_ident})}}\n\t}\
>           {${if def:sender_ident {from ${sender_ident} }}}}\
>           by ${primary_hostname} \
>           ${if def:received_protocol {with ${received_protocol}}} \
>           (Exim ${version_number} #${compile_number} (Debian))\n\t\
>           id ${message_id}"
> end

As-tu bien un transport déclaré?:

######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
...

remote_smtp:
  driver = smtp
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.
>
> # Send all mail to a smarthost
>
> smarthost:
>   driver = domainlist
>   transport = remote_smtp
>   route_list = "* physique.ens-lyon.fr bydns_a"

Là j'ai mis byname à la place de bydns_a parceque, tout au moins dans ma config
l'utilisation des champs MX du DNS ne fonctionne pas (en fin je crois que c'est ça
je ne me souviens plus très bien la raison exacte).

>
>
> end
>

Daniel ANDRE


Reply to: