OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE : problem to relay some message

From: ABIVEN Alain /ext\(VFE\) (alain.abivensncf.fr)
Date: Tue Jan 30 2007 - 10:21:04 CST


  

-----Message d'origine-----
De : owner-postfix-userspostfix.org [mailto:owner-postfix-userspostfix.org]
Envoyé : mardi 30 janvier 2007 17:10
À : postfix-userspostfix.org
Objet : Re: problem to relay some message

On 1/30/07, ABIVEN Alain /ext(VFE) <alain.abivensncf.fr> wrote:
>
>
> Hello,
>
> I have a problem with my postfix server
> I manage a virtual daomain with my server like exemple.com
> I have another SMTP server which manage a subdomain of my domain like
> subdomain.exemple.com (Ip adress 192.168.0.2) I would like that my
> postfix server to relay the message in destination for
> subdomain.exemple.com
>
> I'd tried this
> /etc/postfix/main.cf
> relay_domains= subdomain.exemple.com
> transport_maps = hash:/etc/postfix/transport
>
> /etc/postfix/transport
> .subdomain.exemple.com smtp:192.168.0.2
>

In /etc/postfix/transport, make the entry

subdomain.exemple.com smtp:192.168.0.2

and issue the commands

# postmap transport
# postfix reload

--
Manish Kathuria
Tux Technologies
http://www.tuxtechnologies.co.in/

I've ever done this
I put a sniffer on eth0 and when I try to send a message to testsubdomain.exemple.com
There is a research DNS on subdomian.exemple.com
Mybe I must to put my potfix server as secondary MX and my other SMTP server as primary MX ?