Re: [Fwd: sendmail, masquerading, root]
Le 18/01/02, Eric LOEW a ecrit:
> > En fait j'ai trouvé le fichier
> >
> > /usr/share/sendmail/sendmail.cf/m4/proto.m4
> >
> > appelé par /usr/share/sendmail/sendmail.cf/m4/cf.m4 (le fichier de base
> > sur lequel s'appuie m4 pour fabriquer le fichier sendmail.cf si j'ai
> > bien tout compris).
> >
> > divert(0)dnl # end of nullclient diversion
> > # class E: names that should be exposed as from this host, even if we
> > masquerade
> > ifdef(`_NULL_CLIENT_ONLY_', `#',
> > `# class L: names that should be delivered locally, even if we have a
> > relay
> > # class M: domains that should be converted to $M
> > #CL root
> > ')CE root
> > undivert(5)dnl
> >
> > J'ai donc retirer CE root.
C'est laid de faire comme ça. Normalement, on doit pas toucher à autre
chose qu'aux fichiers de confs en eux-mêmes (dans /etc).
Pour résoudre ton problème, tu pourrais utiliser par exemple les
genericstable.
Une doc en français (la première que j'ai trouvée sur Google):
http://w1.neuronnexion.fr/~delepine/linux/sendmail.rtc-3.html
D'autres, en anglais (c'est mon jour de bonté):
http://www.lege.com/Sendmail+Dialup.v1.00.html#toc5
http://www.sendmail.org/virtual-hosting.html
Et pis plein d'autres:
http://www.google.com/search?hl=en&q=genericstable+sendmail&spell=1
Et bien sûr, la l'installation du paquet senmdail-doc et la lecture du
contenu de /usr/share/doc/sendmail fait pas de mal :)
--
Manu
Reply to: