OVH Cloud OVH Cloud

Re: Re: Forward avec postfix

1 réponse
Avatar
Aurelien
Merci Erwan pour tes indications.
Voilà où j'en suis..(pas bien glorieux..)

main.cf modifé :
myhostname = calypso.domaine.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relay_domains = domaine.net
transport_maps = hash:/etc/postfix/transport
mynetworks = 192.168.1.0/24, 127.0.0.0/8

Dans le fichier "transport" j'ai indiqué :
domaine.net smtp:192.168.1.10

A savoir que postfix est en 192.168.1.20 et domino en *.10

Et le p'tit hic des logs :
Jun 29 12:13:20 calypso postfix/trivial-rewrite[1118]: fatal: open database
/etc/postfix/transport.db: No such file or directory
Jun 29 12:13:21 calypso postfix/master[1081]: warning: process
/usr/lib/postfix/trivial-rewrite pid 1118 exit status 1
Jun 29 12:13:21 calypso postfix/master[1081]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter 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

1 réponse

Avatar
Erwan David
Le Tue 29/06/2004, Aurelien disait
Merci Erwan pour tes indications.
Voilà où j'en suis..(pas bien glorieux..)

main.cf modifé :
myhostname = calypso.domaine.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relay_domains = domaine.net
transport_maps = hash:/etc/postfix/transport
mynetworks = 192.168.1.0/24, 127.0.0.0/8

Dans le fichier "transport" j'ai indiqué :
domaine.net smtp:192.168.1.10



smtp:[192.168.1.10] pour éviter qu'il cherche le MX


A savoir que postfix est en 192.168.1.20 et domino en *.10

Et le p'tit hic des logs :
Jun 29 12:13:20 calypso postfix/trivial-rewrite[1118]: fatal: open database
/etc/postfix/transport.db: No such file or directory
Jun 29 12:13:21 calypso postfix/master[1081]: warning: process
/usr/lib/postfix/trivial-rewrite pid 1118 exit status 1
Jun 29 12:13:21 calypso postfix/master[1081]: warning:
/usr/lib/postfix/trivial-rewrite: bad command startup -- throttling



postmap /etc/postfix/transports

Toutes les maps de type hash doivent être hashées par postmap quand on
a édité le source.

--
Erwan


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact