OSEC

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

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


Hello,

I have a problem with my postfix server
I manage a virtual daomain with my server like <http://exemple.com/>
exemple.com
I have another SMTP server which manage a subdomain of my domain like
<http://subdomain.exemple.com/> subdomain.exemple.com (Ip adress
<http://192.168.0.2/> 192.168.0.2)
I would like that my postfix server to relay the message in destination
for <http://subdomain.exemple.com/> subdomain.exemple.com

I'd tried this
/etc/postfix/main.cf
relay_domains= <http://subdomain.exemple.com/> subdomain.exemple.com
transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport
.subdomain.exemple.com smtp: <http://192.168.0.2/> 192.168.0.2

I've got this in my log

Jan 29 23:37:22 pletdsrv30 postfix/qmgr[22090]: 5D45A2FED7: from=<
<mailto:rootexemple.com> rootexemple.com>, size=293, nrcpt=1 (queue
active)
Jan 29 23:37:22 pletdsrv30 postfix/smtp[22180]: 5D45A2FED7: to=<
<mailto:testsubdomain.exemple.com> testsubdomain.exemple.com>,
relay=none, delay=0, status=bounced ([subdomain
<http://domino.exemple.com/> .exemple.com]: Name or service not known)
Jan 29 23:37:22 pletdsrv30 postfix/cleanup[22178]: A78DD2FEB9:
message-id=< <mailto:20070129223722.A78DD2FEB9pletdsrv30.exemple.com>
20070129223722.A78DD2FEB9pletdsrv30.exemple.com>
Jan 29 23:37:22 pletdsrv30 postfix/qmgr[22090]: A78DD2FEB9: from=<>,
size=1966, nrcpt=1 (queue active)
Jan 29 23:37:22 pletdsrv30 postfix/qmgr[22090]: 5D45A2FED7: removed

Can I have some help, please?

Alain