[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Forward mail from RAQ4 to Microsoft Exchange Server IP address.



Wayne Stevens wrote:

> I set the forwarding of all email of a domain to go to a certain IP address.
> The panels except everything.  When I send an email to user@xxxxxxxxxx, it
> is returned.  What do I need to do to accomplish this.  Below is the message
> with the www.  Same happens without the www.
> 
> The original message was received at Mon, 13 May 2002 15:32:15 -0500
> from firebird.bmc.com [198.207.223.228]
> 
>    ----- The following addresses had permanent fatal errors -----
> 207.200.54.42
>     (reason: 550 5.1.1 User unknown)
>     (expanded from: <steve@xxxxxxxxxxxxxxxxxxx>)

An IP# is NOT an email address.

You can't send all email to an IP# address that way.  If all email
addressed to username@xxxxxxxxxxxxxx goes to the same username at
domain-two.com, the way I'd do it would be to set up an MX record for
domian-one.com to point directly to the box at domain-two.com.  This has
the advantage of not impacting the RaQ hosting domain-one.com at all for
incoming mail.

The server hosting email at domain-two.com must be set to allow it to
accept mail for domain-one.com.

If for some reason you cannot set that up, you can add the following
line at the bottom of the RaQs virtusertable file:

@www.domain-one.com	<tab>	user@xxxxxxxxxxxxxx

which would have the effect of sending all email addressed to
domain-one.com to a single catchall email account, user@xxxxxxxxxxxxxxx

Or to send email to individual users set up at domain-two.com, you can
use this line instead:

@www.domain-one.com	<tab>	%1@xxxxxxxxxxxxxx

Don't forget that's one or more tabs between the columns, not spaces,
and don't forget to rebuild the virtusertable database after you've made
changes to it:

# makemap hash virtusertable < virtusertable

I hope this helps.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484