<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HeXagon's Hut &#187; email</title>
	<atom:link href="http://hexhost.net/tag/email/feed" rel="self" type="application/rss+xml" />
	<link>http://hexhost.net</link>
	<description>"Quiet. My dumb dumb want to speak."</description>
	<lastBuildDate>Wed, 21 Apr 2010 12:40:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>PostfixAdmin + Roundcube = Postcube &#8211; UPDATE</title>
		<link>http://hexhost.net/82/postfixadmin-roundcube-postcube-update</link>
		<comments>http://hexhost.net/82/postfixadmin-roundcube-postcube-update#comments</comments>
		<pubDate>Tue, 04 Aug 2009 02:02:15 +0000</pubDate>
		<dc:creator>HeXagon</dc:creator>
				<category><![CDATA[Postcube]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfixadmin]]></category>
		<category><![CDATA[roundcube]]></category>

		<guid isPermaLink="false">http://hexhost.net/?p=82</guid>
		<description><![CDATA[After the Postfix developers said F*@&#38;  you to anyone who wants user management and the new ability to add plugins. Here is what I have come up with. Donations are welcome! This installation assumes a few things: 1. You have PostfixAdmin already installed somewhere.  (While it is not required. It is nice to have since this [...]<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://hexhost.net/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>After the Postfix developers said F*@&amp;  you to anyone who wants user management and the new ability to add plugins. Here is what I have come up with. <a href="http://hexhost.net/donate" target="_blank">Donations are welcome!</a></p>
<h2><span style="text-decoration: underline;"><strong>This installation assumes a few things:</strong></span></h2>
<p>1. You have PostfixAdmin already installed somewhere.  (While it is not required. It is nice to have since this doesn&#8217;t do domain admin.)<br /> 2. You are using the default database structure that comes with PostfixAdmin<br /> 3. You know what you are doing.  (You have to modify the postfix database.)<br /> 4. You are using the latest subversion release of RoundCube that supports plugins.</p>
<h2><span style="text-decoration: underline;"><strong>It also does have some limitations:</strong></span></h2>
<p>1. It only allows for add/removal/editing of  accounts under a single domain. The accounts that are being edited must match the domain of the logged in user.<br /> 2. I am not an excellent programmer. This version is a complete mess of code and may or may not break on you. If it does, please tell me how, when, where, and why and I will do my best to fix it.<br /> 3. You must manually edit the database to create the superuser that cannot be deleted.<br /> 4. This must be done perfectly or stuff will break.<br /> 5. It does not remove account data.<br /> 6. This also currently must be installed on the same server as the e-mail.</p>
<p><span style="text-decoration: underline;"><br /> </span></p>
<h2><span style="text-decoration: underline;">Installation Steps:</span></h2>
<p><strong>Altering the database structure + configs.</strong></p>
<ol>
<li>Add a field to the mailbox table
<pre>ALTER TABLE `mailbox` ADD `is_admin` TINYINT NOT NULL AFTER `active`;</pre>
</li>
<li> Create a table called quotacron
<pre>CREATE TABLE IF NOT EXISTS `quotacron` ( `path` varchar(255) NOT NULL, `bytes` varchar(255) NOT NULL, `time` datetime NOT NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1;</pre>
</li>
<li>Modify dovecot and postfix configuation (Make sure to do this for ANY query that checks the database for a virtual user.</li>
<li>Change the SQL string to use WHERE username = &#8216;%u&#8217; AND active &gt; 0&#8242; instead of &#8216;WHERE username = &#8216;%u&#8217; AND active = 1&#8242;</li>
<li>Okay, now reload postfix and dovecot. The reason we did this is because a normal user will be active = 1 and is_admin = 1. The super user will have a value of 2 for both fields. This is so that we can make sure that if we grant another user admin, they cannot steal it.</li>
</ol>
<p><strong>Installing the Plug-in</strong></p>
<ol>
<li>Download the Plugin
<pre>http://hexhost.net/files/roundcube_plugin-manage_users.zip</pre>
</li>
<li>Unzip the plugin in the roundcube plugins directory
<pre>unzip roundcube_plugin-manage_users.zip</pre>
</li>
<li>Edit roundcube configuration file (/path/to/roundcube/config/main.inc.php)
<pre>$rcmail_config['plugins'] = Array('manage_users');</pre>
</li>
<li>Edit Plugin configuration file (/path/to/roundcube/plugins/config.inc.php)
<pre>$rcmail_config['postfixadmin_user'] = 'postfix'; // Username to access the postfix database$rcmail_config['postfixadmin_pass'] = 'password'; // Password to access the postfix database$rcmail_config['postfixadmin_db'] = 'postfix'; // Name for the postfix database$rcmail_config['postfixadmin_host'] = 'localhost'; // Host for the postfix database$rcmail_config['physical_mail_path'] = '/path/to/virtual/mail/root/';  //Path to virtual Mailboxes (MUST HAVE BEGINNINGAND TRAILING SLASHES!</pre>
</li>
<li>If you want quota&#8217;s to work, Create a cron for the user that is owner of the virtual mailboxes. In it add the following line (editing it appropriately):
<pre>*/5 * * * * cd /path/to/roundcube/plugins/manage_users/; php quota_cron.php</pre>
</li>
</ol>
<p><strong>Configuring the superuser</strong></p>
<ol>
<li>Using SQL administrator change the is_admin and active field for your superuser to a value of 2 in the MySQL database. This will make the superuser irremovable and nobody can deactivate it without manually editing the database.</li>
</ol>
<p><strong>Using the plugin</strong></p>
<ol>
<li>Log into RounCube interface as super-administrator</li>
<li>Go to User Preferences</li>
<li>Click on User Admin</li>
<li>You can now edit users.</li>
</ol>
<p><strong>In the end</strong></p>
<ul>
<li>This probably will break. It might or might not work. Remember you HAVE to know what your doing. And, this is VERY alpha, and you are charged with knowing what you are doing!</li>
</ul>
<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://hexhost.net/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://hexhost.net/82/postfixadmin-roundcube-postcube-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfixadmin + Roundcube plugin = PostCube</title>
		<link>http://hexhost.net/68/postfixadmin-roundcube-plugin-postcube</link>
		<comments>http://hexhost.net/68/postfixadmin-roundcube-plugin-postcube#comments</comments>
		<pubDate>Tue, 14 Jul 2009 21:05:35 +0000</pubDate>
		<dc:creator>HeXagon</dc:creator>
				<category><![CDATA[Postcube]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfixadmin]]></category>
		<category><![CDATA[roundcube]]></category>

		<guid isPermaLink="false">http://hexhost.net/?p=68</guid>
		<description><![CDATA[So I&#8217;m sitting here scouring the internet looking for a plug-in for RoundCube that will let me administer a Postfix database from within RoundCube. Everyone in the community seems to think that RoundCube should never have the distinction between a user and an administrator. I think differently. I have embarked on an adventure to create [...]<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://hexhost.net/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m sitting here scouring the internet looking for a plug-in for RoundCube that will let me administer a Postfix database from within RoundCube.</p>
<p>Everyone in the community seems to think that RoundCube should never have the distinction between a user and an administrator. I think differently. I have embarked on an adventure to create a plug-in that will allow an &#8216;administrator&#8217; user as defined in the Postfix database to be used in RoundCube. I deem it.. PostCube</p>
<p>Once I have a beta / release-candidate I will post it here. Should be here within a week.</p>
<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://hexhost.net/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://hexhost.net/68/postfixadmin-roundcube-plugin-postcube/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thanks North America Scholar Consortium. Now I&#8217;m the douchebag.</title>
		<link>http://hexhost.net/26/thanks-north-america-scholar-consortium-now-im-the-douchebag</link>
		<comments>http://hexhost.net/26/thanks-north-america-scholar-consortium-now-im-the-douchebag#comments</comments>
		<pubDate>Sat, 04 Apr 2009 03:02:20 +0000</pubDate>
		<dc:creator>HeXagon</dc:creator>
				<category><![CDATA[Scams]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[nasc]]></category>
		<category><![CDATA[scam]]></category>

		<guid isPermaLink="false">http://hexhost.net/?p=26</guid>
		<description><![CDATA[So today, one of my close friends gets an e-mail stating that she had been invited to a scholar program. The &#8220;North America Scholar Consortium&#8221;. It was delivered to her UNT e-mail. By the lack of information in the e-mail, and the fact that it was the following: 3 April, 2009 Dear K*****, K**** L, [...]<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://hexhost.net/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
			<content:encoded><![CDATA[<p>So today, one of my close friends gets an e-mail stating that she had been invited to a scholar program. The &#8220;North America Scholar Consortium&#8221;. It was delivered to her UNT e-mail. By the lack of information in the e-mail, and the fact that it was the following:</p>
<blockquote><p>3 April, 2009</p>
<p>Dear K*****, K**** L,</p>
<p>As a result of your dedication to scholarly success in University of North<br />
Texas, North<br />
America Scholar Consortium extends to you an invitation to apply for<br />
membership in the NASC Honor Society. Membership application is by<br />
invitation only; therefore, membership is a special honor afforded to<br />
a small group of outstanding students.</p>
<p>Membership applications are available at<br />
http://inv.naschonor.org//lt.php?id=ZkgDBQxQxxxITQMfBxxxCAME Please use<br />
your<br />
assigned invitation code when you apply.</p>
<p>Invitation Code: xxxxxxx</p>
<p>To learn more about the opportunities that accompany NASC Honor<br />
Society membership, please visit<br />
http://inv.naschonor.org//lt.php?id=ZkgDBQxQV1EBTQMxxxVCAME for more<br />
information. I encourage you to seize this valuable and rewarding<br />
opportunity and look forward to seeing your name among the next list<br />
of new NASC Honor Society members!</p>
<p>Sincerely,</p>
<p>Louis Birch<br />
President 2009-2010<br />
NASC Honor Society </p></blockquote>
<p>So I start to do some digging. I had never heard of this scholar program and shes psyched that shes done so good in school that she&#8217;s gotten this e-mail. Just by the way the e-mail was formatted, a lack of phone number and further details as to what they do got me suspicious and made me smell a rat.</p>
<p>So I google the name to find the #1 search result to see if this may be a phishing scam. Nope, the website referenced is the #1 result. Okay so far so good. Whois returns:</p>
<p><code>Created On:30-Oct-2008 17:55:00 UTC</code></p>
<p>okay, 6 months old&#8230; kinda fishy but not completely out of the question.</p>
<p><code>Registrant ID:GODA-055102752<br />
Registrant Name:Registration Private<br />
Registrant Organization:Domains by Proxy, Inc.<br />
Registrant Street1:DomainsByProxy.com<br />
Registrant Street2:15111 N. Hayden Rd., Ste 160, PMB 353<br />
Registrant Street3:<br />
Registrant City:Scottsdale<br />
Registrant State/Province:Arizona<br />
Registrant Postal Code:85260<br />
Registrant Country:US</code></p>
<p>You would think a legitimate organization would have contact details. Strike 1.</p>
<blockquote><p>
Membership Application Form</p>
<p>By Invitation Only</p>
<p>Application submission is free of charge. Please DO NOT send us any payment at this stage.<br />
A life-time membership fee of $68 will be required only if your application is approved. </p></blockquote>
<p>BZZZZ strike 2. Something like this is usually sponsored and free. </p>
<p>No phone number on the contact us page? Strike 3. Its a scam.</p>
<p>I go to tell my friend this and she has called her mom and told her how cool it is and i tell her its a scam. I swear she almost started crying. </p>
<p><strong>UPDATE: As it turns out. She did cry after she left the room. ASSHOLES I&#8217;m going to find you.</strong></p>
<p>It&#8217;s one thing to phish and spam. But to use something like a fake scholars program, that&#8217;s just not cool.</p>
<p>Thanks assholes, now i feel like a douche bag for something you got her hopes up on.</p>
<p>Jackasses. I hope you burn in hell.</p>
<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://hexhost.net/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></content:encoded>
			<wfw:commentRss>http://hexhost.net/26/thanks-north-america-scholar-consortium-now-im-the-douchebag/feed</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
	</channel>
</rss>
