<?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=Rebuilding_cdb_files</id>
	<title>Rebuilding cdb files - 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=Rebuilding_cdb_files"/>
	<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Rebuilding_cdb_files&amp;action=history"/>
	<updated>2026-04-29T12:38:33Z</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=Rebuilding_cdb_files&amp;diff=163&amp;oldid=prev</id>
		<title>Ebroch: Created page with &quot;===Rebuilding cdb files===  I cannot seem to remember the commands to rebuild the cdbs, so I bashed one up to do it for me, automagically...put it in /etc/cron.hourly...this way all your cdbs are never more than an hour old.  #!/bin/bash  #rebuilds simcontrol.cdb  /var/qmail/bin/simscanmk  sleep 2  #rebuilds simversions.cdb  /var/qmail/bin/simscanmk -g  sleep 2  #rebuilds badloadertypes--rare-ok to comment out  /var/qmail/bin/qmail-badloadertypes  sleep 2  #rebuilds badm...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Rebuilding_cdb_files&amp;diff=163&amp;oldid=prev"/>
		<updated>2024-03-16T16:55:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Rebuilding cdb files===  I cannot seem to remember the commands to rebuild the cdbs, so I bashed one up to do it for me, automagically...put it in /etc/cron.hourly...this way all your cdbs are never more than an hour old.  #!/bin/bash  #rebuilds simcontrol.cdb  /var/qmail/bin/simscanmk  sleep 2  #rebuilds simversions.cdb  /var/qmail/bin/simscanmk -g  sleep 2  #rebuilds badloadertypes--rare-ok to comment out  /var/qmail/bin/qmail-badloadertypes  sleep 2  #rebuilds badm...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Rebuilding cdb files===&lt;br /&gt;
&lt;br /&gt;
I cannot seem to remember the commands to rebuild the cdbs, so I bashed one up to do it for me, automagically...put it in /etc/cron.hourly...this way all your cdbs are never more than an hour old.&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #rebuilds simcontrol.cdb&lt;br /&gt;
 /var/qmail/bin/simscanmk&lt;br /&gt;
 sleep 2&lt;br /&gt;
 #rebuilds simversions.cdb&lt;br /&gt;
 /var/qmail/bin/simscanmk -g&lt;br /&gt;
 sleep 2&lt;br /&gt;
 #rebuilds badloadertypes--rare-ok to comment out&lt;br /&gt;
 /var/qmail/bin/qmail-badloadertypes&lt;br /&gt;
 sleep 2&lt;br /&gt;
 #rebuilds badmimetypes--rare-ok to comment out&lt;br /&gt;
 /var/qmail/bin/qmail-badmimetypes&lt;br /&gt;
 sleep 2&lt;br /&gt;
 #rebuilds tcp.smtp and reloads new configs&lt;br /&gt;
 qmailctl cdb&lt;br /&gt;
 #eof&lt;br /&gt;
WORKSFORME. (don&amp;#039;t forget to chmod +x the file you save that as, like I did)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note, as of QmailToaster v1.3,&lt;br /&gt;
 # qmailctl cdb&lt;br /&gt;
does it all, so there&amp;#039;s no more need for this.&lt;br /&gt;
&lt;br /&gt;
==[[User Tips &amp;amp; Tricks]]==&lt;/div&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
</feed>