<?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>james.murty.org &#187; webmail</title> <atom:link href="http://james.murty.org/archives/tag/webmail/feed/" rel="self" type="application/rss+xml" /><link>http://james.murty.org</link> <description>ramblings from the sleep deprived mind of James</description> <lastBuildDate>Wed, 23 Nov 2011 01:14:15 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Squirrelmail: full mailbox prevents message deletion</title><link>http://james.murty.org/archives/2006/03/29/squirrelmail-full-mailbox/</link> <comments>http://james.murty.org/archives/2006/03/29/squirrelmail-full-mailbox/#comments</comments> <pubDate>Wed, 29 Mar 2006 04:37:37 +0000</pubDate> <dc:creator>james</dc:creator> <category><![CDATA[nerdy]]></category> <category><![CDATA[mac os x server]]></category> <category><![CDATA[mac tips]]></category> <category><![CDATA[squirrelmail]]></category> <category><![CDATA[web services]]></category> <category><![CDATA[webmail]]></category> <guid
isPermaLink="false">http://musashi.murty.org/archives/2006/03/29/squirrelmail-full-mailbox-prevents-message-deletion/</guid> <description><![CDATA[Squirrelmail is a popular open source webmail application that is bundled with Mac OS X Server. Written in PHP and running on top of Apache webserver it normally uses the bundled Postfix mail server for SMTP (sending mail) and Cyrus IMAP server (accessing mail). It can of course be configured to take advantage of other [...]]]></description> <content:encoded><![CDATA[<figure><a
href="http://www.squirrelmail.org/" target="_blank">Squirrelmail</a> is a popular open source webmail application that is bundled with <a
href="http://www.apple.com/server/macosx/" target="_blank">Mac OS X Server</a>. Written in <a
href="http://www.php.net/" target="_blank">PHP</a> and running on top of <a
href="http://httpd.apache.org/" target="_blank">Apache</a> webserver it normally uses the bundled <a
href="http://www.postfix.org/" target="_blank">Postfix</a> mail server for SMTP (sending mail) and <a
href="http://asg.web.cmu.edu/cyrus/" target="_blank">Cyrus</a> IMAP server (accessing mail). It can of course be configured to take advantage of other SMTP/IMAP combos including <a
href="http://www.eudora.co.nz/" target="_blank">EIMS</a>.</p><p>When a size limit is placed on a user&#8217;s mailbox, invariably that user&#8217;s mailbox will fill up to the point where Postfix (or EIMS) will no longer accept mail for that user. If this occurs, people trying to send mail to that user will receive a bounce notification message that looks something like the following.</p><p><a
href="/media/posts/2006/03/29/bounce_message.jpg" target="_blank"><img
class="centered" src="/media/posts/2006/03/29/bounce_message-450.jpg" border="0" alt="full mailbox bounce message" width="450" height="164" /></a></figure><p>At this point the user needs to delete some mail from their account before the server will accept any more mail for them, and hopefully they&#8217;ve been made aware of the problem via some other communications channel. They&#8217;d do this by selecting a message, and hitting delete like so:</p> <figure><a
href="/media/posts/2006/03/29/ui_select_delete.jpg" target="_blank"><img
class="centered" src="/media/posts/2006/03/29/ui_select_delete-450.jpg" border="0" alt="full mailbox bounce message" width="449" height="108" /></a></figure><p>However, now they can often find themselves in a situation where they see an error like the following:</p> <figure><img
class="centered" src="/media/posts/2006/03/29/delete_error.jpg" border="0" alt="full mailbox bounce message" width="401" height="105" /></figure><p>Which effectively prevents the user from fixing the problem. The reason this is happening, is by default, Squirrelmail doesn&#8217;t permanently erase mail when you press the delete button. Instead, Squirrelmail tries to move the selected mail into a <em>Trash</em> folder providing a fail safe should the user change their mind, or mistakenly delete the wrong email. Unfortunately due to the mailbox limit being reached, there&#8217;s no longer any room to make the move.</p><p>In the event that there is already some mail in the Trash folder a small <em>purge</em> <img
class="alignright" src="/media/posts/2006/03/29/ui_purge.jpg" border="0" alt="purge" width="120" height="22" /> link will appear to the right of the Trash mailbox. Clicking this may well alleviate the problem and allow the user to move more mail from their inbox to the trash for further purging, freeing up some more space. However, more often then not, this is not the case as there is nothing in the Trash mailbox, or the size of its contents are not enough to make an impact and resolve the problem.</p><p>What normally happens at this point, is that the user tries to get the postmaster to increase the size of their quota  which is undesirable as it may take time to get this to happen, and it is not really necessary as the user can actually resolve the problem by themselves by modifying the default behaviour of Squirrelmail so that the delete button permanently erases selected mail.</p><p>To do this:</p><ul><li>select Options from the menu towards the top of the page by clicking it once<br
/> <img
class="centered" src="/media/posts/2006/03/29/squirrelmail_menubar.jpg" border="0" alt="squirrelmail menu" width="441" height="61" /></li><li>select Folder Preferences from the middle, right<br
/> <img
class="centered" src="/media/posts/2006/03/29/ui_folderprefs.jpg" border="0" alt="folder preferences" width="355" height="98" /></li><li>and change the setting for the Trash folder from:<br
/> <img
class="centered" src="/media/posts/2006/03/29/ui_trashfolder_trash.jpg" border="0" alt="trash folder" width="350" height="132" /><br
/> to:<br
/> <img
class="centered" src="/media/posts/2006/03/29/ui_trashfolder_none.jpg" border="0" alt="no trash folder" width="358" height="135" /></li><li>remember to click <em>Submit</em> <img
class="alignright" src="/media/posts/2006/03/29/ui_submit.jpg" border="0" alt="submit" width="60" height="27" />(down the bottom right of the page) to save the changes</li></ul><p>It will now be possible to go back to the inbox and to delete mail again. Select the messages you want to delete and then hit the delete button. Now, press Expunge to permanently delete the message and free up space.<br
/> <img
class="centered" src="/media/posts/2006/03/29/ui_expunge.jpg" border="0" alt="expunge" width="366" height="100" /></p><p><strong>WARNING:</strong> of course now that the user has removed the fail safe mechanism from Squirrelmail, any mail that that is deleted is permanently erased and can not be recovered in the event of a mistake. For this reason, I would advise that once enough mail has been cleared to restore mail delivery services, these steps are reverse to put the fail safe back in place.</p> ]]></content:encoded> <wfw:commentRss>http://james.murty.org/archives/2006/03/29/squirrelmail-full-mailbox/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
