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

Re: [postifx] Distribution interne de mails



Bonsoir,

Oui jusque la ca me parait bon,

il reste a ajouter dans le main.cf

#########################################################################
# pour construire la base transport.list utiliser la commande
#
# postmap /etc/postfix/transport.list
#
# Choix du relay en fonction du domaine
#
#########################################################################
transport_maps = hash:/etc/postfix/transport.list

# Il faut commenter la ligne mydestination = ...

et puis de faire un fichier transport.list qui contiendra :

zone1.mondomaine.com smtp:postfix.zone1.mondomaine.com
zone2.mondomaine.com smtp:postfix.zone2.mondomaine.com
* smtp:

# la derniere ligne du fichier ne sert que si le relais bastion est aussi
utilisé en sortie  sinon ce n'est pas la peine

Voila bonne soirée

Fred




----------------------------------------------------------------------------
---- 
Frédéric SOLDNER
Administrateur sytèmes & réseaux

----- Original Message ----- 
From: "Raphaël RIGNIER" <raphael@rignier.com>
To: <debian-user-french@lists.debian.org>
Sent: Monday, November 06, 2006 4:40 PM
Subject: [postifx] Distribution interne de mails


> Bonjour,
>
> j'ai un serveur bastion Debian disons bastion.mondomaine.com dans une
> DMZ qui fait office entre autres de passerelle SMTP Postfix. de 2
> sous-domaines.
> J'aimerais que ce serveur (après un éventuel scan antispam antivirus)
> distribue le courrier entrant sur 2 autre serveurs postfix internes de
> la façon suivante :
>
> Dans mon DNS local j'ai un enregistrement MX pour chaque sous-domaine
> (non visible de l'extérieur):
>
> zone1.mondomaine.com MX 10 postfix.zone1.mondomiane.com
> zone2.mondomaine.com MX 10 postfix.zone2.mondomaine.com
>
> postfix.zone1.mondomaine.com A 192.168.1.1
> postfix.zone2.mondomaine.com A 192.168.2.1
> bastion.mondomaine.com A 192.168.3.1
>
>
> J'aimerais qu'un mail de l'extérieur toto@zone1.mondomaine.com aille sur
> postfix.zone1.mondomaine.com
> et de la même manière : rototo@zone2.mondomaine.com aille sur
> postfix.zone2.mondomaine.com en passant au préalable par bastion.
>
> Sur mon DNS public bastion je serais tenté de mettre :
>
> zone1.mondomaine.com MX 10 bastion.mondomaine.com
> zone2.mondomaine.com MX 10 bastion.mondoamine.com
>
> et dans le main.cf
>
> relay_domains = $mydestination, zone1.mondomaine.com,
zone2.mondomaine.com.
>
>
> J'ai bon ou pas?
>
> Merci de vos suggestion....
>
>
> -- 
> Lisez la FAQ de la liste avant de poser une question :
> http://wiki.debian.net/?DebianFrench
> Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
> "Reply-To:"
>
> To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>
>


Sans virus connus

Reply to: