On Tue, 30 Jan 2001 16:46:51 -0800, Ben Ocean wrote:
>
>>The virtusertable is a list of virtual addresses...something like the
>>/etc/aliases (or is that /etc/mail/aliases) file. The first part of the
>>line is the virtual address, the second is the address which should
>>actually accept the mail.
>>
>> > [EMAIL PROTECTED] [EMAIL PROTECTED]
>> > [EMAIL PROTECTED] [EMAIL PROTECTED]
>>
>>No...more like:
>>
>>[EMAIL PROTECTED] [EMAIL PROTECTED]
>>[EMAIL PROTECTED] [EMAIL PROTECTED]
>>
>>Adduser never does a thing to your virtusertable entries...I'm assuming
>>that the same box is hosting thewebsons.com and nwhotspring.com. If there
>>is already a "sales" account on the "thewebsons.com" box, adduser wouldn't
>>let you create another "sales" account, anyhow.
>
>Okay, this is where I'm confused. So, I set up *[EMAIL PROTECTED]* in
>the virtusertable to be mapped to *[EMAIL PROTECTED]*. Do I enter the
>command *useradd -c -m "whatever" ocean* to set up this new user? Then it's
>automatically mapped to *[EMAIL PROTECTED]*? Okay, I think I get it,
>please verify.
The way I'm reading it, you've got it backwards. You use useradd (or
Linuxconf, or Webmin...my personal fave) to create ocean, then you
add "[EMAIL PROTECTED] ocean" to create the mapping, then
"makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable"
to create the map database.
Sendmail should already be set up to use the virtusertable
database...I believe it's part of the default installation. Then,
yes...it should automatically work.
But you have to remember...the first entry on the line in the
virtusertable is the virtual address...the second is the real address
to which the mail will be delivered. In other words, the virtual
address (address 1 on the [EMAIL PROTECTED]) is mapped to
the real address (address 2 on the line ocean@...).
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list