Paul Lesniewski
Thu, 14 Jul 2011 08:57:46 -0700
Hello all, We're sorry for the annoyance, but there were two important typos in the update information that was included in the announcement of SquirrelMail 1.4.22's release two days ago...
> Also, if you find that this upgrade prevents users from logging in
> with an error such as "ERROR: Could not complete request. Query:
> CREATE "Trash" Reason Given: Invalid mailbox name.", you will need to
> correct the user preference values for the problem folders. You can
> do so with commands such as the following for file-based preferences
> (adjust the data directory location as needed):
>
> find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place
> 's/trash_folder=Trash/trash_folder=INBOX.Trash/g' {} \;
> find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place
> 's/trash_folder=Drafts/trash_folder=INBOX.Drafts/g' {} \;
> find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place
> 's/trash_folder=Sent/trash_folder=INBOX.Sent/g' {} \;
These last two commands use "trash_folder" where they should have used
"draft_folder" and "sent_folder". So the correct commands should be:
find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place
's/draft_folder=Drafts/draft_folder=INBOX.Drafts/g' {} \;
find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place
's/sent_folder=Sent/sent_folder=INBOX.Sent/g' {} \;
Thanks to Fernando Gozalo for spotting these typos.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
--
squirrelmail-announce mailing list
List Address: squirrelmail-announce@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-announce