RE: adding users

2001-02-14 Thread Peter Cavender

Hi-

note that your reply went just to me, not the list.

what do you mean by "qmailadmin for that domain"?

try:
 
ezmlm-list /path/to/ezmlm/list

to get a dump of the subscribed addresses.

--Pete



>Ok guys that was helpfull as can be that saved me tons O time. I did
>ezmlm-sub /path/to/ezmlm/list < address_list and then it started processing
>the list and only took a few minutes. But for some reason none of the
>addresses show up in qmailadmin for that domain
>
>-Original Message-
>From: Peter Cavender [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 14, 2001 12:36 PM
>To: [EMAIL PROTECTED]
>Subject: Re: adding users
>
>
> > > I have done this a few times with a shell script.  If you have all
> > > the addresses in a text file address_list:
> > >
> > > #!/bin/sh
> > > for foo in `cat address_list`; do
> > >   ezmlm-sub /path/to/ezmlm/list $foo
> > > done
> >
> >Too wasteful since it calls ezmlm-sub thousands of times.  Just
> >
> >ezmlm-sub /path/to/ezmlm/list < address_list
> >
> >Mate
>
>COOL!
>
>I did not know it could do that, but am glad I know now.
>
>Thanks, Mate!




Re: Adding users...

2000-04-11 Thread Irwan Hadi

At 10:58 10/04/2000 -0400, Steve Peace wrote: 
>
> I am a relative newbie to qmail.  I have setup a RedHat 6.0 server running
> qmail.  After a couple of days I finally got everything working.  It all
> workings 100% perfect for what I need it to do.  I only have one problem,  I
> am setting this up for my employer and need to create about 200 email
> accounts.  I can create each account manually by using the adduser command,
> set each password,  login as the user and run maildirmake, edit the assign
> file and run qmail-newu.  I have tried to run the qmail-pw2u file, but it
> seems to hang my box.  There has to be a faster way to create users.  I would
> love to look into it more myself, but I have a boss that is gettin rather
> fidgety and wants his email by yesterday.  Any help would be greatly
> appreciated.


For 200 usernames it is better NOT to use system account (/etc/passwd)
just make it virtual
check
www.inter7.com/vpopmail for your reference, and you *will* be very satisfied.
Thanks to inter7.com ;)

---
AFLHI 058009990407128029/089802---(102598//991024)



Re: Adding users...

2000-04-11 Thread Albert Hopkins


Set up the /etc/skel directory as you would want the default user's home
directory.  Also, consider the "newusers" command available in Red Hat 6.

On Mon, 10 Apr 2000, Steve Peace wrote:

> I am a relative newbie to qmail.  I have setup a RedHat 6.0 server
> running qmail.  After a couple of days I finally got everything
> working.  It all workings 100% perfect for what I need it to do.  I
> only have one problem, I am setting this up for my employer and need
> to create about 200 email accounts.  I can create each account
> manually by using the adduser command, set each password, login as the
> user and run maildirmake, edit the assign file and run qmail-newu.  I
> have tried to run the qmail-pw2u file, but it seems to hang my box.  
> There has to be a faster way to create users.  I would love to look
> into it more myself, but I have a boss that is gettin rather fidgety
> and wants his email by yesterday.  Any help would be greatly
> appreciated.
> 
> S. Peace
> 

-- 
 Albert Hopkins
 Sr. Systems Specialist
  Dynacare, Inc
  [EMAIL PROTECTED]




RE: Adding users...

2000-04-10 Thread Chad Day



Set 
up your skeleton directory so it copies the appropriate maildir folders 
when you create a new user.  Go to the mailing list archives and 
search for skeleton.

  -Original Message-From: Steve Peace 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, April 10, 2000 10:59 
  AMTo: [EMAIL PROTECTED]Subject: Adding 
  users...
  
  
  I am a relative newbie to qmail.  I have setup a RedHat 
  6.0 server running qmail.  After a couple of days I finally got 
  everything working.  It all workings 100% perfect for what I need it to 
  do.  I only have one problem,  I am setting this up for my employer 
  and need to create about 200 email accounts.  I can create each account 
  manually by using the adduser command, set each password,  login as 
  the user and run maildirmake, edit the assign file and run qmail-newu.  I 
  have tried to run the qmail-pw2u file, but it seems to hang my box.  
  There has to be a faster way to create users.  I would love to look into 
  it more myself, but I have a boss that is gettin rather fidgety and wants his 
  email by yesterday.  Any help would be greatly appreciated.
   
  S. 
Peace


Re: Adding Users when Installing (NEWBIE)

2000-01-26 Thread Dave Sill

Joe Millay <[EMAIL PROTECTED]> wrote:

>I am installing qmail on a box with RedHat 6.1 as the OS. I am following
>LQW's instructions. I have downloaded the source for qmail, ucspi, and
>daemontools. I am to the section where I create users and groups, but I
>am confused (VERY confused).
>
>I cannot find the "INSTALL.ids" file.

If you followed LWQ, at this point, INSTALL.ids would be in
/usr/local/src/qmail/qmail-1.03/INSTALL.ids.

>Nor do I understand the lines of the script:
>
>pw useradd alias -g nofiles -d /var/qmail/alias -s /nonexistent
>pw useradd qmaild -g nofiles -d /var/qmail -s /nonexistent

Those are an *example* for FreeBSD. You're not using FreeBSD.

>Am I to substitute the username somewhere in the lines above?

No. You're to extract the Linux "useradd" lines from INSTALL.ids and
execute them as-is.

>The instructions say to edit /etc/group if INSTALL.ids is not
>installed.

No, they say to edit /etc/group and /etc/passwd *if* your system isn't
covered in INSTALL.ids.

>OK. I find that, but I do not understand:
>
>qmaild:*:7791:2108:: /var/qmail/:bin/true
>
>Where is the user name located in this line? Am I missing something in
>the instructions?

What you're missing is that the instructions need to be followed. At
the point where you were unable to locate INSTALL.ids, you should have 
stopped, thought, and asked for help. Instead, you plowed on. BTW, the 
username in the above entry is "qmaild".

The whole point of this section of the instructions is to set up
certain users and groups that qmail itself uses--not to add end users, 
as you seem to believe.

>Thanks for any help, I really, really appreciate it. By the way--I am
>installing this on a test machine, just like the instructions suggest.
>:)

Good. Very good. :-)

-Dave



Re: Adding Users when Installing (NEWBIE)

2000-01-26 Thread Alexander Jernejcic

alias and qmaild these are users needed for qmail to run. the 
INSTALL.ids should hve been gone to /var/qmail/doc
if you do not find it, i will mail them to you directly. and: the line 
"qmaild:*:7791:2108:: /var/qmail/:bin/true" is an /etc/passwd line and 
not /etc/group

a.j

>> Ursprüngliche Nachricht <<

Am 1/25/00, 9:27:53 PM, schrieb Joe Millay <[EMAIL PROTECTED]> zum 
Thema Adding Users when Installing (NEWBIE):


> Hello,

> I am installing qmail on a box with RedHat 6.1 as the OS. I am 
following
> LQW's instructions. I have downloaded the source for qmail, ucspi, and
> daemontools. I am to the section where I create users and groups, but 
I
> am confused (VERY confused).

> I cannot find the "INSTALL.ids" file. Nor do I understand the lines of
> the script:

> pw useradd alias -g nofiles -d /var/qmail/alias -s /nonexistent
> pw useradd qmaild -g nofiles -d /var/qmail -s /nonexistent

> Am I to substitute the username somewhere in the lines above?

> The instructions say to edit /etc/group if INSTALL.ids is not 
installed.
> OK. I find that, but I do not understand:

> qmaild:*:7791:2108:: /var/qmail/:bin/true

> Where is the user name located in this line? Am I missing something in
> the instructions?

> Thanks for any help, I really, really appreciate it. By the way--I am
> installing this on a test machine, just like the instructions suggest.
> :)

> Thanks,
> Joe Millay