[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linux-team] Sendmail et Relay
Euh ... si tu sais attendre demain, je pourrais jeter un oeil dans mon
bouquin sur sendmail (paru chez O'Reilly)
Sinon, je pense que tu dois definir une classe contenant les adresses IP des
personnes autorisées à utiliser le relaying.
Je pense que tu as meme une classe destinée a definir les geneurs ... donc
si tu sais deja reperer l'ip de celui qui vous utilise la machine comme
relay ...
> -----Message d'origine-----
> De: Pascal Bleser [mailto:pbleser@atos-group.com]
> Date: mercredi 29 septembre 1999 10:57
> À: linux@lists.linuxbe.org; linux-team@rtfm.be
> Objet: [linux-team] Sendmail et Relay
>
>
> Hep ;-)
> Dites, comment faire pour interdire le relay "non-local" avec
> sendmail ?
> Sendmail, j'ai déjà chipoté un peu, mais il y a un bail, et
> notre (boulot)
> serveur mail externe (Linux) avec Sendmail 8.8.8 est utilisé
> involontairement
> comme relay, et un des admins m'a demandé comment on fait
> pour désactiver ça.
>
> J'ai juste trouvé ceci dans /etc/mail/linux.mc:
> dnl "use_ip" is a list of IP addresses that are allowed to
> relay mail.
> dnl "use_names" is a list of domain names that are allowed
> to relay mail.
> dnl If your host accepts non-local email as relay for other
> sites, use
> dnl "use_relayto" to specify those sites.
> dnl To ban unauthorized relay, you have to use one or more
> of "use_ip",
> dnl "use_names" and "use_relayto". Always add the line with
> "check_rcpt4".
> dnl
> dnl HACK(`use_ip',`/etc/mail/LocalIP')dnl
> dnl HACK(`use_names', `/etc/mail/LocalNames')dnl
> dnl HACK(`use_relayto', `/etc/mail/RelayTo')dnl
> dnl HACK(`check_rcpt4')dnl
>
> Je dois décommenter use_ip et mettre l'IP de notre firewall
> dans /etc/mail/LocalIP ?
> ...sachant que notre configuration réseau est la suivante:
>
> +---+
> |lx |
> +---+
> |
> +---+
> *--|fw |--LAN--
> +---+
>
> *=internet ;-)
>
> Puis un
> m4 /etc/mail/linux.mc > /etc/sendmail.cf
> rcsendmail reload
> Ca suffit ou bien il y a d'autres astuces ?
>
> merci ;-)
>
> --
> -o) / Pascal Bleser ATOS Payment Systems|
> /\\ \ C++/UNIX Development Aachen, Germany|
> _\_v \<guru@linuxbe.org> <pbleser@atos-group.com>|
> ---------------------------------------------------|
> I gave up Smoking, Drinking and Sex. :
> It was the most *horrifying* 20 minutes of my life!:
> ---------------------------------------------------'
>
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
>
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.