yes, the virtual user table provides this functionality

in your sendmail.mc

FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

in /etc/mail/virtusertable.txt

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

# the following comes after all other aliases for a particular domain
# catch all that doesn't allow non existant names
@dom1.com                            error:nouser No such user here

# catch all that sends all mail to someone
@dom2.com       alice

make tha map with 
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable.txt

don't foget to run m4 and restart sendmail.

hth
charles

On Wed, 1 Nov 2000, Jonathan Wilson wrote:
> 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

Reply via email to