On 26 Nov 00 at 20:29, Ina Patricia Lopez wrote:

> hi!
>    I want to serve virtual email hosting on my linux machine.  im using
> redhat 6.2 and sendmail.
> 
> say i have domain1, domain2 and domain3.
> 
> 
> 1. can i use /etc/passwd and /etc/shadow for my user entries? what is
> the max no of entry? can i go for as much as a hundred thousand users?
> 

64K or roughly 65535 users

 
> 2. i tried to configure virtual email hosting via linuxconf.  i added
> the 3 domains above. further checking i found that the system generated
> the ff:
> 
> *sendmail.cf with these entries:
> CV mail.domain1.com
> CV mail.domain1.com
> CV mail.domain3.com    
> 
> 
> * /etc/vmail with the ff: files.
> 
>                              shadow.mail.domain1.com
> passwd.mail.domain1.com      shadow.mail.domain2.com
> passwd.mail.domain2.com      shadow.mail.domain3.com
> passwd.mail.domain3.com                          
> 
> BUT with 0 entries.
> 
> question1:  how do i add users to these files??

I think you add it manually using an editor.  Never done that before.  I do 
use 5.2 and 6.0 though.   What I do use is create the user for that machine 
and then use virtusertable (probably in /etc or /etc/mail dir)  and add

[EMAIL PROTECTED]         user1@localhost
[EMAIL PROTECTED]         user2@localhost
[EMAIL PROTECTED]         user3@localhost

Make sure you issue makemap to  index the config table.

> question2:  say i use Eudora, how it will authenticate? would it be via
> /etc/shadow or /etc/vmail/shadow.DOMAIN??

Hmm...using the above method, it authenticates user1, user2 and user3 at the 
localhost

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to