<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Bulk_User_Adding_For_Qmail_Toaster</id>
	<title>Bulk User Adding For Qmail Toaster - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Bulk_User_Adding_For_Qmail_Toaster"/>
	<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Bulk_User_Adding_For_Qmail_Toaster&amp;action=history"/>
	<updated>2026-04-29T06:28:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.qmailtoaster.org:80/index.php?title=Bulk_User_Adding_For_Qmail_Toaster&amp;diff=135&amp;oldid=prev</id>
		<title>Ebroch: Created page with &quot;Greetings, With help from the script PakOgah sent me I have created a bulk user adding script! It reads a text file which has entries like FIRSTNAME LASTNAME USERNAME And automatically adds the users in the text file, creates a comment field sets a default quota and password Suggestions are welcome. The script is attarched. Its still missing some functionality but its work in progress Kisakye ALex  akisakye@ucu.ac.ug    #!/bin/sh  #  #  BULK USER ADDING FOR QMAIL TOASTER...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Bulk_User_Adding_For_Qmail_Toaster&amp;diff=135&amp;oldid=prev"/>
		<updated>2024-03-16T16:29:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Greetings, With help from the script PakOgah sent me I have created a bulk user adding script! It reads a text file which has entries like FIRSTNAME LASTNAME USERNAME And automatically adds the users in the text file, creates a comment field sets a default quota and password Suggestions are welcome. The script is attarched. Its still missing some functionality but its work in progress Kisakye ALex  akisakye@ucu.ac.ug    #!/bin/sh  #  #  BULK USER ADDING FOR QMAIL TOASTER...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Greetings,&lt;br /&gt;
With help from the script PakOgah sent me I have created a bulk user adding script! It reads a text file which has entries like&lt;br /&gt;
FIRSTNAME LASTNAME USERNAME&lt;br /&gt;
And automatically adds the users in the text file, creates a comment field sets a default quota and password&lt;br /&gt;
Suggestions are welcome.&lt;br /&gt;
The script is attarched. Its still missing some functionality but its work in progress&lt;br /&gt;
Kisakye ALex &lt;br /&gt;
akisakye@ucu.ac.ug&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #&lt;br /&gt;
 #  BULK USER ADDING FOR QMAIL TOASTER&lt;br /&gt;
 #&lt;br /&gt;
 # Created after I ran into an issue of creating 20,000 users on my toaster!&lt;br /&gt;
 # Initial ideas come from a script that PakOgah &amp;quot;pakogah@pala.bo-tak.info&amp;quot;&lt;br /&gt;
 # helped me with.&lt;br /&gt;
 # Still very manual, but Work in Progress&lt;br /&gt;
 #&lt;br /&gt;
 # Suggestions to akisakye@ucu.ac.ug&lt;br /&gt;
 #&lt;br /&gt;
 # Change a few variables and you are good to go&lt;br /&gt;
 #&lt;br /&gt;
 #&lt;br /&gt;
 # Location of the users file&lt;br /&gt;
 # Rememeber that the users file is in the format&lt;br /&gt;
 # Firstname Lastname Username&lt;br /&gt;
 USERS_FILE=&amp;quot;/path/to/file.txt&amp;quot;&lt;br /&gt;
 # The mail domain to which users are created&lt;br /&gt;
 #&lt;br /&gt;
 MAILDOMAIN=&amp;quot;@domain.com&amp;quot;&lt;br /&gt;
 # the vadduser command&lt;br /&gt;
 QMAILADD=&amp;quot;/home/vpopmail/bin/vadduser&amp;quot;&lt;br /&gt;
 # Select a default password for all users&lt;br /&gt;
 PASS=&amp;quot;mypass&amp;quot;&lt;br /&gt;
 #Specify the Default Quota_in_bytes for your Users&lt;br /&gt;
 # 10 MB = 10 x 1024 x 1024&lt;br /&gt;
 QUOTA=&amp;quot;10485760&amp;quot;&lt;br /&gt;
 #Fun starts here No more variables to change below this line&lt;br /&gt;
 cat ${USERS_FILE} | \&lt;br /&gt;
 while read FIRSTNAME LASTNAME USERNAME&lt;br /&gt;
 do&lt;br /&gt;
   echo &amp;quot;adding the user: $USERNAME&amp;quot;&lt;br /&gt;
         $QMAILADD -q $QUOTA -c &amp;quot;$FIRSTNAME $LASTNAME&amp;quot; $USERNAME$MAILDOMAIN $PASS&lt;br /&gt;
 done&lt;br /&gt;
 #&lt;/div&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
</feed>