Page précédente
Table des matières
Page suivante

4.3 Le fichier linux-netclient.rtc.mc

---8<--- COUPER ICI ----------------------------------------------------
divert(-1)
#   linux-netclient.rtc.mc, version réseau derrière une connexion en dialup
#   Copyright (C) 2000 Thomas Nemeth.
#
#   Thanks to Jean Charles Delépine, Cyril guibourg, Erwan David, Julien
#   Blache, Yves Potin and Neil W Rickert.
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
divert(0)
include(`../m4/cf.m4')dnl Macros globales
dnl
VERSIONID(`@(#)linux-netclient.rtc.mc, 0.1 (Nemeth) 10.08.2000')dnl
dnl
dnl ===================================================================
dnl
dnl Définition d'un OSTYPE
dnl
dnl On tournera généralement sous Linux.
dnl
OSTYPE(`linux')dnl
dnl
dnl ===================================================================
dnl
dnl Redirection vers le mail-hub
dnl
dnl Cette machine va router tous ses mails vers le mail-hub donc
dnl on lui dis vers quelle machine se tourner.
dnl
dnl Attention !! Ne pas utiliser `nullclient' sur une machine accessible
dnl de l'extérieur : cette règle produit un serveur ouvert à tout
dnl relais. On lui préfèrera dans ce cas l'association des macros
dnl SMART_HOST et MAIL_HUB en décommentant la partie suivante et en
dnl commentant celle-ci.
dnl
FEATURE(`nullclient',`mailhub.mondomaine.tld')dnl
dnl
dnl ===================================================================
dnl
dnl Configuration pour machines accessibles de l'extérieur.
dnl
dnl undefine(`ALIAS_FILE')dnl
dnl FEATURE(always_add_domain)dnl
dnl define(`MAIL_HUB', `mailhub.mondomaine.tld')dnl
dnl define(`SMART_HOST', `mailhub.mondomaine.tld')dnl
dnl define(`confFORWARD_PATH', `')dnl
dnl MASQUERADE_AS(`mailhub')dnl
dnl FEATURE(`masquerade_envelope')dnl
dnl MAILER(smtp)dnl
dnl
dnl ===================================================================
---8<--- COUPER ICI ----------------------------------------------------


Page précédente
Table des matières
Page suivante

Page mise à jour le 13 août 2000.
Thomas Nemeth