Ah ben vouhala !!!
Tu nous avais pas tout dit
Petit cachotier !
Je pense qu'il te faut deux choses :
1) le dns de sme.toto.fr doit savoir tésoudre sme.tata.toto.fr
2) Idéalement, le dns de sme.toto.fr devrait connaitre un MX pour le domaine tata.toto.fr, mais çà, c'est pas gagné !
D'après le man de qmail-remote :
smtproutes
Artificial SMTP routes. Each route has the form domain:relay, without any extra spaces. If
domain matches host, qmail-remote will connect to relay, as if host had relay as its only MX.
(It will also avoid doing any CNAME lookups on recip.) host may include a colon and a port num
ber to use instead of the normal SMTP port, 25:
inside.af.mil:firewall.af.mil:26
relay may be empty; this tells qmail-remote to look up MX records as usual. smtproutes may
include wildcards:
.af.mil:
:heaven.af.mil
Here any address ending with .af.mil (but not af.mil itself) is routed by its MX records; any
other address is artificially routed to heaven.af.mil.
The qmail system does not protect you if you create an artificial mail loop between machines.
However, you are always safe using smtproutes if you do not accept mail from the network.
j'en déduis que si smtproutes contient les deux lignes suivantes :
- Code: Tout sélectionner
tata.toto.fr:sxme.tata.toto.fr
.tata.toto.fr:sxme.tata.toto.fr
çà devrait pouvoir le faire.
A+,
Pascal