Web Hosting Talk







View Full Version : No limited Aliases


Lupin
06-18-2001, 11:33 AM
Just a question:
I'd like to set my server do accept e-mail from any *@domain.com...

For example:
I got www.domain.com
and the e-mail domain@domain.com .

What should I do to make my account get all the e-mail sent to xxx@domain.com (joe@domain.com, jarry@domain.com ...)?

Thanks :)

freakysid
06-18-2001, 02:48 PM
You are using Sendmail?

If so, you can put an entry into the virtusertable file like so

@domain.com mymailbox@domain.com

virtusertable is located either in /etc directory or in /etc/mail directory. When you make changes to the virtusertable flat file you have to rehash the virtusertable.db which is most commonly a hash table format database

makemap hash virtusertable.db < virtusertable

I think that's right. I'm not very experienced with Sendmail.