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

Re: [cobalt-users] Raq3 - virtusertable - email forwarding toLotus Server



Roman Sainz wrote:
> 
> At 11:23 AM 5/15/01 +0200, you wrote:
> 
> >Hi all,
> >
> >We have a virtual site on a Raq3i (virtsite1.net).
> >Behind this site there is a real company with a Lotus
> >Server.
> >The email users at this company use Lotus and
> >their Lotus Notes (mail client) is connected to their Lotus server.
> >They can not change that.
> >
> >Now, we would like all the external mail sent to anyuser@xxxxxxxxxxxx
> >be automatically smtp-forwarded to the Lotus server. (Basically we
> >don't want the
> >Lotus Server to become a pop3 client).
> >
> >
> >We tried in the virtusertable:
> >
> >%1@xxxxxxxxxxxxx     %1@[xxx.xxx.xxx.xxx]
> >where xxx.xxx.xxx.xxx is the IP address of the Lotus Server.
> >An email test to foo@xxxxxxxxxxxxx cause the sendmail to reject it
> >since
> >foo is unknown on the cobalt.
> 
> Ok, I believe that there is an earlier intercept on your virtualusertable.
> @virtsite1.net      %1@xxxxxxxxxxxxxxxxx
> 
> so that is already taking all mail from virtsite1.net to www.virtsite1.net
> 
> Also, I belive that  virtualusertable will map to local users, or local
> aliases.
> Therefore, you could create an alias for every user on the Lotus server.
> 
> PD: did you re-hash after your changes?
> makemap hash /etc/virtusertable.db < /etc/virtusertable


Thanks Roman.
Your solution works fine.

We just added the following entry 
at the end of the virtusertable:

@virtsite1.net	%1@xxxxxxxxxxxxxxxxxxxxxxx

No user is created in the virtsite1.
There is no other line about virtsite1 in
the virtusertable.

And it's fine !
All mail sent to anyone@xxxxxxxxxxxxx is
forwarded to the Lotus server of our client.


Many thanks.


David Minodier