Hello Roger,

qmail-pw2u wants the contents of /etc/passwd to be passed/piped to it.  If
you wanted to create an assignment file from the /etc/passwd, you might try
something like

cat /etc/passwd | /var/qmail/bin/qmail-pw2u > /var/qmail/users/assign

If you do that though, be sure you delete people who won't need mail.  Or
you could make your own assign file, but you would have to figure that out
yourself :-)  ALSO REMEMBER TO RUN /var/qmail/bin/qmail-newu AFTER YOU HAVE
AN ASSIGN FILE.  This has caused me a little trouble in the past :-D

Jeff


----- Original Message -----
From: "Roger Arnold" <[EMAIL PROTECTED]>
To: "Qmail Users" <[EMAIL PROTECTED]>
Sent: Sunday, January 07, 2001 5:01 AM
Subject: Newbie question


> Roger Arnold wrote:
>
> How do you make a users file using "qmail-pw2u" from your /etc/passwd
> file ?
>
> If I execute /var/qmail/qmail-pw2u with no extensions I would have
> thought that it would have created an assignments file from /etc/passwd,
> however all that happens is that it goes into never-never land, and not
> return to the command prompt.
>
> Are there any indepth documentation relating to this and other qmail
> commands other than the man files ?
>
> Thanks in advance
>
> Roger
>

Reply via email to