In your virtusertable, set up entries that look like:

virtuser@virtdomain user@localdomain

so that the mail goes to a local user.  You can assign them any "login" 
name you like...and their mail client can be configured to show whatever 
email address they like.

So, to wrap up:

In your virtusertable, you can have:

[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]

And then joe, sam and harry all use POP3 to get the proper mail for their 
proper addresses.

On Wed, 1 Nov 2000, Jonathan Wilson wrote:

> Howdy,
> 
> Ok, the only way I can think to ask this question is to give an example:
> 
> I have sendmail setup with virtual domains. I think. What I mean is that I have 
>about 5 domains, whose MX records point to my IP, entered into /etc/sendmail.cw.  
>I'll use the examples of mymaindomain.com and firstvirtual.com and lastvirtual.com - 
>totally separate domains for which we also have virtual hosting set up in Apache.
> 
> This works fine in and of it's self, with one problem:
> 
> If you email [EMAIL PROTECTED], or jw@, or admin@, or any other localuser@it 
>gets sent of course to the local user of that name. (by the way we have pop3 working 
>fine) This was fin until one of our customers wanted a [EMAIL PROTECTED] 
>address, and we realized that other customers will probably want contact@, info@, 
>webmaster@, etc for their different domains - but we can't have our users reading 
>each other's mail!
> 
> Until now we've been creating local users, setting the shell to /bin/false and 
>giving the pop3 access - but you can't have multiple local users of the same name! I 
>see that sendmail has a virtual users table, but I'm not sure if it solves my problem 
>or not.
> 
> So the real question is, how do I manage to have multiple "virtual" email accounts 
>that have the same username, but are "at" different domains name? Surely you aren't 
>limited to having all your mail users be local users, are you?
> 
> In particular info@ is in high demand, as you can imagine.
> 
> Any help (especially expedient help) would be /greatly/ appreciated!
> 
>       JW
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to