Re: Symbolic Links - File Not Found error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Sep 2008, Paul Lesniewski wrote:

> On Sun, Sep 21, 2008 at 6:26 PM, Nigel Allen <prosmart@xxxxxxxxxxxxxxx> wrote:
>>
>> Greetings
>>
>> We recently installed Squirrelmail onto a customer's mail server.
>>
>> The setup is this:
>>
>> FC9
>> php-5.1.6-3.7.fc6
>> httpd-2.2.3-5
>> dovecot-1.0.3-6.fc6
>> SquirrelMail version 1.4.15
>>
>> As well as the normal users account, we also have an account called (for the
>> sake of brevity) "Plans" (think "Customers"). Below this account is a
>> separate folder for each Plan. It looks like this:
>>
>> Plan-1
>> Plan-2
>> ......
>> ......
>> Plan-9999
>>
>> Each of the users has responsibility for a subset of the Plans, but
>> everybody also needs access to all the Plans folders.
>>
>> Consequently, an end users folder structure will look like this:
>>
>> Inbox
>> Trash
>> My Plans
>>     Plan-27
>>     Plan-101
>> Personal Files
>> Work Files
>> More Folder
>> ...........
>> More Folders
>> All Plans
>>     Plan-1
>>     Plan-2
>>     Plan-3
>>     .....
>>     .....
>>     Plan-999
>> Other Folders
>>
>> This has been done so that they can collapse "All Plans" and deal just with
>> "My Plans" but they can (of needed) get access to all the plans (customers)
>> emails.
>>
>> The "All Plans" is a separate IMAP account that everyone is subscribed to.
>>
>> The "My Plans is a just folder that contains symbolic links back to the
>> actual folders (from All Plans).
>
> symlinks to implement shared mail folders?  Is this the official
> recommendation from dovecot on how to implement this?  If dovecot
> dumps any of its own data (subscription/other) files into mail
> folders, then this kind of symlinking is bound to break IMO.  You need
> to take this whole design to the dovecot community and make sure it
> really will work before you try to figure out if it will work via
> webmail.  If you insist on solving a server problem using a client,
> though, turn up your IMAP logging verbosity or sniff the connection
> between webmail and IMAP to see the commands and responses and errors
> dovecot is throwing.

Dovecot does not recommend using symlinks. I have managed dovecot servers 
Since Redhat v8 and have never recommended or have it recommended to me to 
ever use symlinks. On the contrary, using symlinks can, and apparently 
does, cause undesirable affects.

Don't use symlinks unless you can verify and quantify the potentialities 
as you encounter them. Too many moving parts? Start over and do it 'by the 
book'

My 2 pence.

Karl


>
>> I have subscribed them (in Squirrelmail) to all folders and the
>> subscriptions list shows (for example) "My Plans.   125" but it does not
>> show "My Plans".
>>
>> When a user logs in with Squirrelmail and tries to access their "My Plans"
>> folder two things are evident:
>>
>> 1. The "My Plans" folder does not appear in their folder list (but the
>> folders within it do - indented properly as if it were there).
>> 2. When they click on one of the "My Plans" folders, they get:
>>
>> ERROR: ERROR: Could not complete request.
>> Query: SELECT "My Plans. 2418"
>> Reason Given: Mailbox doesn't exist: My Plans. 2418
>>
>> It's obviously (isn't it?) a problem with sym links but I'm at a bit of a
>> loss to know where to start.
>>
>> The only relevant thing I can find in the logs is in access_log:
>>
>> 192.168.0.102 - - [22/Sep/2008:11:00:37 +1000] "GET
>> /src/right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=My+Plans.++2418
>> HTTP/1.1" 200 1100 "http://webmail.xxxxxxxx.com.au/src/left_main.php";
>> "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702
>> Firefox/2.0.0.16"
>>
>> Other than that I cannot find anything in any log files that even references
>> the event.
>>
>> Hope someone can shed some light on this (or even suggest where to start).
>>
>> TIA
>>
>> Nigel.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>

---
      _/  _/      _/      _/_/_/       ____________   __o
     _/ _/       _/      _/    _/     ____________  _-\\<._
    _/_/        _/      _/_/_/                     (_)/ (_)
   _/ _/       _/      _/           ......................
  _/   _/ arl _/_/_/  _/ earson    KarlP@xxxxxxxxxxxxxxxx
---
http://consulting.ourldsfamily.com
---


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux