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: Domain Rewrite Question & size restrictions
From: Ralf Hildebrandt (news-list.postfix.usersinnominate.de)
Date: Sun Oct 01 2000 - 09:51:32 CDT


On 1 Oct 2000 03:21:14 +0200, Tony Giacomo <tgiacomomindspring.com> wrote:

>My company recently purchased another company that uses 3 domain names =
>and we are consolidating to one. I would like to MX all of the mail to =
>point to my bastion host and have it change the 3 domains for the =
>recipients on the inbound mail. For example make the following changes =
>within postfix:
>
>bobcompany1.com -> bobmycompany.com
>joecompany2.com -> joemycompany.com
>tommycompany3.com -> tommymycompany.com
>tonymycompany.com -> tonymycompany.com (unchanged of =
>course)
>
>What is the best way to do this (I hope it is possible) with postfix? =
>Can someone provide me with a clear example or a good reference?

Can't exchange handle the virtual domains? I'd just add

company1.com smtp:bloddy.exchange.box
.company1.com smtp:bloddy.exchange.box
company2.com smtp:bloddy.exchange.box
.company2.com smtp:bloddy.exchange.box
company3.com smtp:bloddy.exchange.box
.company3.com smtp:bloddy.exchange.box

to the transport map on the Postfix box and be done with it.

>Also, is it possible to limit inbound mail to a maximum message size?

Of course:

message_size_limit (default: 10240000 bytes)
       The maximal size of a Postfix queue file, including envelope
       information (sender, recipient, etc.).

-- 
ralf.hildebrandtinnominate.de
Dipl.-Informatiker                                       innominate AG
system engineer                                      networking people
tel: +49.30.308806-62  fax: -77   http://innominate.de  pgp at request