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

[linux] SuSE 7.2 Serveur mail vite fait bien(?) fait



Bonjour,

J'ai déjà eu l'occasion de parler de mes petits problèmes au boulot mais je 
m'arrête là. Donc mon boss a fait jou-jou avec le serveur AIX et le serveur 
mail qu'il contient a crashé. Les messages partent (j'ai reçu un essai chez 
moi) mais rien n'entre. AIX n'est pas mon truc et je suis perdu surtout que 
cela marchait impec jeudi matin.

Il ne s'agit pas de l'AIX

Lundi, il faudra que je résolve le problème de serveur mail au quart de tour 
pour que le service puiise communiquer.

Je songe à Postfix (j'ai déjà tâtonné avec ce serveur mail, certains disent 
que c'est mieux que sendmail, d'autres non, bref ...).
Il faut que j'installe Postfix au plus vite.

Bon, je résume:

Je suis à l'intérieur d'un réseau qui a déjà un serveur mail principal donc 
je suis backup.

Dans les howto, je peux lire:

"Running Postfix inside an intranet"

"The simplest way to set up Postfix on a host inside a firewalled network 
(c'est mon cas) is to send all your mail to an intranet mail gateway, and to 
let that mail gateway take care of the forwarding."

dans /etc/postfix/main.cf:

	mydomain = sbb.ihe.be (voir mon adresse)
	myorigin = $mydomain

Donc tous ceux qui sont cannectés à mon serveur Postfix auront l'adresse 
e-mail users@sbb.ihe.be

"Forward all mail to an intranet mail gateway, except for mail for the local 
machine":

	relayhost=$mydomain

"This assumes that your organization?? has set up internal MX records for the 
the local domain"
Le main serveur mail est du type "mx" donc cela devarit être OK

Quand on parle de "intranet mail gateway" je suppose qu'il s'agit du serveur 
mail principal dont je suis backup???

Dans les FAQ, je peux encore lire:

In addition to the above you can configure Postfix to deliver
intranet mail directly instead of sending it via the intranet
mail gateway.
Specify routing information for the internal domain in the transport table, 
and enable transport table lookups.

    /etc/postfix/transport:
        my.domain               smtp:
        .my.domain              smtp:
        thishost.my.domain      local:        !!!important!!!
        localhost.my.domain     local:        !!!important!!!     
/etc/postfix/main.cf:
        transport_maps = hash:/etc/postfix/transport

Est-ce utile?

Sinon je peux encore lire:

Configuring Postfix as backup MX host
When you are secondary mx for a remote site this is
all you need:
    DNS:
        the.backed-up.domain.name        IN      MX 100 your.machine.name     
/etc/postfix/main.cf:
        relay_domains = $mydestination the.backed-up.domain.name
smtpd_recipient_restrictions = permit_mynetworks check_relay_domains

Que choisir?

Je ne vais pas plus loin sinon je n'ai pas fini mais si quelqu'un a un tuyau 
par où commencer? Je souhaite une configuration de base qui fonctionne à 
développer plus tard.

Thanks

-- 
Alain Barthélemy

bartydeux@gminformatique.com
http://bartydeux.gminformatique.com

[ Soyez précis dans vos sujets svp afin de déterminer directement  ]
[ le type de demande...                                            ]
[ Pour vous (dés)inscrire, aller sur http://linuxbe.org/ml.php     ]
[ Archives de la mailing list: http://archives.linuxbe.org/linux/  ]
[ http://LinuxBe.org              Contact: listmaster@linuxbe.org  ]