Benjamin Collar <[EMAIL PROTECTED]> wrote:

>How do I rewrite a domain name on some incoming mail before passing it on?

Better question is why would you want to?

>For instance, the company I'm working for used to receive its mail at
>mail.aaa.com. Now it only wants aaa.com. This is not a virtual
>domain. Currently, they use a special sendmail rule to rewrite
>mail.aaa.com to aaa.com before forwarding the mail to the exchange
>server. How would I accomplish this with qmail?

Just add mail.aaa.com to control/locals and control/rcpthosts.
Rewriting headers is expensive, error prone, and just plain silly.

-Dave

Reply via email to