OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: virtual domains
From: Ralf Hildebrandt (news-list.postfix.usersinnominate.de)
Date: Fri Jun 09 2000 - 01:48:59 CDT


On 8 Jun 2000 18:49:03 +0200, omar cromwell mercado <ocmercadoyahoo.com> wrote:

>Can someone possibly help me how to setup virtual
>domains to work properly in postfix? Im at a loss why
>I still get "..loops back to me.." errors despite
>following what the manual says (i think). My virtual
>domain is banner.com which resolves to the same IP as
>my postfix host (main.rbdomain.com -> 192.168.0.1).

main.rbdomain.com doesn't resolve for me.
MX for banner.com is smtp.banner.com which does resolve to 208.241.96.70

>myhostname = main.rbdomain.com
>myorigin = $mydomain
OK.

>mydestination = $mydomain localhost.$mydomain
Add main.rbdomain.com !!

>relay_domains = $mydestination
>mynetworks = 192.168.0.0/24, 127.0.0.0/8
>virtual-maps = hash:/etc/postfix/virtual
>
>my /etc/postfix/virtual verbatim:
>banner.com anything
>mail.banner.com anything
>
>I did postmap /etc/postfix/virtual, postfix reload...
>
>Am i missing something? Thanks for any help.

Yes: In virtual tell Postfix WHAT TO DO with mail to banner.com!

banner.com anything
banner.com ocmercadoyahoo.com

mail.banner.com anything
mail.banner.com ocmercadoyahoo.com

-- 
Ralf.Hildebrandtinnominate.de
                                                          innominate AG
                                                      networking people
fon: +49.30.308806-44 fax: -77  web: http://innominate.de  pgp: /pgp/rh