Squirrelmail, IMAP folders, and Apple Mail

Squirrelmail as included with Mac OS X Server lets you remotely access your Inbox via a web-browser. It also automatically creates sub-folders to store drafts, sent, and trashed emails as done during a Squirrelmail session.
These have a folder structure like this
Inbox
...Drafts
...Sent
...Trash
When you look at this in Apple mail you will see a triangle next to your Inbox and turning it down reveals the same sub-folders.
The purpose of this posting, is that I believe this structure is not the same as the default Apple Mail structure and as such Apple Mail and Squirrelmail will not automatically be using the same IMAP folders to store drafts, sent and trash.
It is possible in Apple Mail to select one of these Squirrelmail created folders, and go to the Mailbox menu and select the "Use This Mailbox For..." command to make it the folder to use for that purpose. It is also possible to edit the Squirrelmail config.php file to adjust its settings which as default will be
$defaultfolderprefix = 'INBOX/';
$trash_folder = 'Trash';
$sent_folder = 'Sent';
$draft_folder = 'Drafts';
My question is what if any, would be a better setting for Squirrelmail so that Squirrelmail puts the folders in the right place for Apple Mail and uses the right names for Apple Mail so that an Apple Mail user does not have to change anything?
The benefit would be that rather each and every user having to alter the Apple Mail setup, I could do one edit of the config file for Squirrelmail and this would then apply forever for all users.

Ok, I may have worked out the answer myself.
Apple Mail in the Apple Mail program uses the folder names
Drafts
Sent
Trash
However it appears to use +on the server+
Drafts
Sent Messages
Deleted Messages
So it appears that in order to get Squirrelmail to match the settings Apple Mail uses and therefore save the Apple Mail user the hassle at their end you need to do two things.
1. Change the IMAP folder path in Squirrelmail from the default 'INBOX/' to '' (nothing)
2. Change the special IMAP folder names in Squirrelmail from the default to match Apple Mail
Therefore in the the Squirrelmail config.php you will go from the default
$defaultfolderprefix = 'INBOX/';
$trash_folder = 'Trash';
$sent_folder = 'Sent';
$draft_folder = 'Drafts';
to
$defaultfolderprefix = '';
$trash_folder = 'Deleted Messages';
$sent_folder = 'Sent Messages';
$draft_folder = 'Drafts';
which matches what Apple Mail is using.

Similar Messages

  • I just reset my apple ID password and now all the imap folders in Apple Mail are greyed out. I can see the contents, but I don't get whay the folders are all greyed out. Can anyone help?

    I just reset my apple ID password and now all the imap folders in Apple Mail are greyed out. I can see the contents, but I don't get whay the folders are all greyed out. Can anyone help? Sorry for the long title on this message...

    Assuming this is an iCloud mail account, sign out of iCloud in its preference pane, then sign back in with the new password.

  • IMAP, Gmail and Apple Mail in Leopard

    Has anyone got Gmail IMAP to work properly in Apple Mail in Leopard?
    Although IMAP is still being rolled out, it's arrived on my 'spare' Gmail account so I tried it out in Mail on Leopard - with very mixed results.
    I followed the official Gmail instructions here: http://mail.google.com/support/bin/answer.py?answer=77663&topic=12761
    then looked here: http://5thirtyone.com/archives/862
    for some additional help.
    It does sort of work, but Messages don't usually appear in the InBox and setting Gmail folders to be for sent mail, deleted etc as per the second link doesn't seem to work that well.
    Anyone had a good experience with this? Got any tips?
    Thanks

    I am using it. It is working pretty well. You do have to set up your account manually. Note the following recommendations from Google:
    http://mail.google.com/support/bin/answer.py?answer=78892
    I have a post detailing my setup here:
    http://pt.withy.org/ptalk/archives/2007/11/gmailimap_on_myiphone.html
    The one problem I am having with Leopard Mail is that despite setting my account to not move deleted messages to the trash, and having Show Deleted Messages enabled per:
    http://docs.info.apple.com/article.html?path=Mail/3.0/en/9911.html
    When I delete a message it disappears from my InBox immediately, and there is no Undo Delete Message action available (as there used to be in Tiger Mail). The message is still available in my All Mail folder under [GMail], but I sorely miss the ability to quickly un-delete a mail message... Hope this will be fixed in 10.5.1!

  • Changing IMAP account to POP account in Apple Mail? I'm using OS 10.6.8 and Apple Mail 4.5. Thank you.

    How does one change an IMAP email account to a POP account in Apple Mail? I'm using OS 10.6.8 and Apple Mail 4.5. Thank you.

    How does one change an IMAP email account to a POP account in Apple Mail? I'm using OS 10.6.8 and Apple Mail 4.5. Thank you.

  • Changed email from pop to imap in entourage 2008 and apple mail and have lost a lot of messages

    Changed email from pop to imap in entourage 2008 and apple mail and have lost a lot of messages. I am a rookie and don't know what to do to correct the situation

    I found this great set of mail AppleScripts:
    http://homepage.mac.com/aamann/Mail_Scripts.html
    It includes one script to delete duplicate messages. So if we can't find a way to do this right, then I'll just download all the duplicates then delete them. Of course I don't want to actually do that, lets call this the nuclear option.
    So can anyone think of a way to make an IMAP account for my gmail without it downloading all the messages again that I have already downloaded?

  • All tool icons are gone from safari and apple mail tool bars. Tool tips works when you hover over the box with the missing icons. Macbook pro  OS

    all tool icons are gone from safari and apple mail tool bars. Tool tips works when you hover over the box with the missing icons. Macbook pro  OS X 10.8.4
    The boxes that the icons were in are still there, but no icons

    Hello jo90733,
    I would recommend reinstalling Mountain Lion to replace the missing/damaged components of these applications. While the process shouldn't affect any data (images, music, etc) you have on the system, it's always a good idea to have a backup in place prior to reinstalling.
    OS X Mountain Lion: Back up your Mac
    http://support.apple.com/kb/PH11371
    OS X Mountain Lion: Reinstall OS X
    http://support.apple.com/kb/PH10763
    Important: You need to be connected to the Internet to reinstall OS X.
    Choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command (⌘) and R keys.
    If you’re not connected to the Internet, choose a network from the Wi-Fi menu (in the top-right corner of the screen).
    Select Reinstall OS X, and then click Continue.
    Follow the onscreen instructions. In the pane where you select a disk, select your current OS X disk (in most cases, it is the only one available).
    To start the installation, click Install.
    Cheers,
    Allen

  • Yahoo Mail, Iphone and Apple Mail

    Hi,
    I don't currently have an Iphone but plan to get one in the coming months. I've been having trouble finding answers to questions regarding Push Yahoo Mail:
    1. Are yahoo e-mails sent through the Iphone also saved in the sent messages folder on the Yahoo server?
    2. Not an Iphone question, but has anyone noticed when using Apple Mail with Yahoo Pop 3 (I'm a paid premium member), messages sent thru Apple Mail are NOT saved in the sent folder on the Yahoo server? G-mail Pop 3 DOES.
    3. Does the Iphone recognize e-mails filtered into Yahoo Mail's folders? Apple Mail doesn't.
    Any info much appreciated!
    Alexander

    yes i also forgot coz its been 3 years ago..i change my account..
    before it was yahoomail..i change to gmail..after i update to ios7 it need primary
    email add yahoo.com.. i call to apple customer service they can't even help me out
    so many verification about my phone..in the end they can't help
    ohh steve job if only your here.apple suck hard can't even help

  • HT201320 Does my email service provider have to provide the ability for me to create an IMAP email account in order for me to create Sub-folders within Apple Mail?

    Hi, Apple Mail provides a function to create sub-folders within my mailbox so that I can group emails of similar subjects or from the same sender. My service provider only provides POP email protocol and the New Folder button does not appear in my Apple Mail account for that service provider. Icloud provides the opportunity for the iPad user to select between POP and IMAP. I can select IMAP and the New Folder button appears allowing me to create sub-folders within the icloud email account. Does this mean I cannot create sub-folders in my email account unless my service provider provides customers with the option of creating an IMAP email account?
    This appears to be a problem for quite a few Apple Mail users, but service providers appear reticent to provide a response other than 'use Microsoft Exchange / Hotmail, Google GMail, or some other third party email service provider'. This is why I have chosen icloud as my email service provider. It is Apple and therefore Apple supports it. I have been a Telstra customer for over 15 years and they informed me today, strongly, that they support their own products and services, not Apple products, even though Telstra sell them. When I asked the Telstra Customer Support Manager whether they support Telstra customers, I was informed 'no, because the Telstra customer is not a Telstra product or service'. I have since cancelled my Telstra email account and am in the process of cancelling all of my Telstra services.

    Apple Sceptic wrote:
    Does this mean I cannot create sub-folders in my email account unless my service provider provides customers with the option of creating an IMAP email account?
    Yes. That is what it means. You need an IMAP account in order to create sub folders on the iPad.

  • IMAP and Apple Mail - not working properly

    Hi all,
    I am using Apple Mail and want to use my GMX account with IMAP and are facing 2 issues:
    (1)
    While all changes I make directly at www.gmx.ch are being made in Apple Mail on my MacBook Pro, the changes I make in Apple Mail (like moving mails to subfolders, deleting mails, etc.) are not reflected on the GMX server.
    (2)
    Sent emails are often put in the Drafts folder AND Sent folder. They are sent, but still appear in the draft folder as they were not sent.
    Any idea how to solve these issues?
    Thanks a lot & best regards!

    You aren't giving us all the relevant information, are you? I bet you access your Gmail account from more than one computer, don't you?

  • Anyone using gmail imap and and Apple Mail?

    Can you tell me if, when you use Apple mail for imap gmail access, what address source does it use?
    Does the imap pull up the address auto complete of gmail or does it rely on your address book on your mac (or both)?

    I'm using Google IMAP with Mail and it uses the addresses I've got in my Mac's Address Book. Can't tell you if you can also use addresses from Gmail but I'd be inclined to think you could. Joe Kissell provides an excellent, if lengthy, explanation of how to get Mail and Gmail to work together here: http://db.tidbits.com/article/10253

  • GWIA and Apple Mail IMAP FETCH issue

    We are having a problem with Mail accessing a particular IMAP account. This particular account is accessed by three users via IMAP and occasionally it hangs when updating the cache directories for a particular folder. Also, when this happens the IMAP server is flooded with FETCH requests from Mail. This in turn acts just like a DoS attack and the server will eventually drop. The IMAP server we use is GWIA (GroupWise 7.0.3). The Mail clients are Mail 3.2 and 4.4 (x2).
    I have tried several things, rebuilding the mailbox on the local machines, removing the Default Contents, Envelope Index and LSMMap2 files and restarting Mail. All to no avail.
    What I am seeing in the Activity window is:
    [INBOX - Photo] Updating cache directory
    Received 1024 of 4294967287 headers...
    I have to stop this process and then Mail will stop sending Fetch requests. Thus far this is the only account to be acting this way for three users. It, also does not happen constantly, yet seemingly at random.

    isutton,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • HT2954 Unable to view original folders in Apple Mail.

    I've recently added my hotmail account to Apple Mail but I'm unable to get the different folders that I created in hotmail to show up in Apple Mail.  I was wondering if there is any way to do this.

    The IMAP protocol replicates folders but the POP protocol only downloads the contents of the server's Inbox to the clients Inbox. Hotmail does not support IMAP - it only supports POP.
    Options:
    1 - Use Gmail - it supports POP and IMAP
    2 - Move all messages (via web or other means) to the server's Inbox to download via POP protocol
    IMPORTANT:
    Some POP clients have default settings which delete from server without warning either initially or a few days later - typically 14 days. Find these settings and adjust as required.

  • Why can't i add top level imap folders (mailboxes) in Mail???

    Having used MS Outlook for a while with my IMAP account, i thought i would try out the new and improved Mail in OS Lion. The structure of my mailbox on the left hand panel is as follows:
    MAILBOXES
          INBOX
              CLIENT 1
              CLIENT 2
              CLIENT 3
                   SUBFOLDER
                   SUBFOLDER
                   SUBFOLDER
              CLIENT 4
              CLIENT 5
              CLIENT 6
              CLIENT 7
         SENT
         TRASH
    MY COMPANY NAME
         TRASH
         JUNK
         SENT
    This has worked fine with outlook and with outlook i am able to add extra IMAP folders (or mailboxes as Mail calls them). In outlook i can add to the flient folders and the subfolders inside a client folder.
    However, with Mail, when i 'add new mailbox' it will only let me add a new 'folder' inside one of my client folders. It will not let me add a foler to the 'Client' level.
    If i add a new mailbox and try and place it at the top 'Client' level, the new folder ends up going here...
    MAILBOXES
         INBOX
              CLIENT 1
              CLIENT 2
              CLIENT 3
                   SUBFOLDER
                   SUBFOLDER
                   SUBFOLDER
              CLIENT 4
              CLIENT 5
              CLIENT 6
              NEW FOLDER DOESNT APPEAR HERE
              CLIENT 7
         SENT
         TRASH
    MY COMPANY NAME
         TRASH
         JUNK
         IT APPEARS HERE INSTEAD???
         SENT
    and NOT in my inbox...
    Can anyone help? As this is the reason i have to use outlook because Mail wont let me create new IMAP folders at my 'Client' this level?!?
    Any help would be appriciated, maybe im looing at it wrong as im used to outlook

    I am having the same sort of problem with my IMAP e-mail account. My INBOX has several subfolders, but most of the time, those are not visible. Sometimes (what causes this, I don't know yet), the subfolders do show, but then all the e-mails in it, including those in the INBOX, are not visible...
    Some weird bug this is, which may be related to Shaun's problem? I hope this gets fixed, or somebody knows what causes this and/or how to circumvent this.
    -edit-
    Maybe it is an old problem, but just like Shaun, I thought I'd would give Mail app 5 a try after the upgrade to Lion, so I wouldn't know. But I think it is an old problem, since my e-mail provider has a work-around posted on their support site, for Apple Mail and iOS Mail. This seems to work great for me (removing the root path 'INBOX' and using another connection port in the account settings), but might not be a solution to other people having the same problem.

  • Simulate gmail archive behavior with iCloud and apple mail (lion)

    does anyone know of a way to configure an iCloud mail account in apple mail (lion) such that the delete button actually archives email?  i'd like to simulate the behavior of a gmail account in apple mail, which does just that, i.e. delete sends messages to the "All Mail" folder.  in this case, i'd like it to send emails to the "Archive" folder.  as i have one gmail account and one iCloud account, it would be great if there was one consistent means of archiving mail, versus using the ctrl-cmd-A shortcut for iCloud mail.
    iOS 5 actually has such a setting to do just that: "Archive Messages" under the iCloud mail settings.  so it seems strange to me that apple mail would not.
    thanks!

    Actually, Apple has always supported using custom folders in iMap for Deleted Messages, Drafts, Sent, & Junk. But I agree that with the release of 10.7.2 and iCloud with their new Archive feature, they haven't made it easy!
    I run my Mac in Swedish, so forgive me if I don't remember or get the exact wording of each option 100% correct, but I'm sure you'll figure it:
    In Mail Settings under your iCloud account, and in the middle tab (Mail Box Functions?), under the trash option at the bottom, make sure that:
    Move deleted mail to the trash can is Checked!
    Save deleted mail on on the server is Checked!
    Delete trashed (?) mail permanently is set to NEVER!
    Then go back to the main mail window and display the folders for your iCloud account on the LH side
    Select your achive folder.
    Go to the Mail Box menu in the menubar, Select "Use this mailbox for..." and then Select trash.
    You will not notice that your archive folder now appears under the trash can in Apple Lion Mail (and the deleted items folder that is no longer the trash will appear under the folders).
    This works a treat, and in fact I use this for Gmail as well. If you're interested, I have so much mail in all mail, but I want to have everything in Apple Mail. I also get to have a private backup on my Mac (and Time Machine).
    So, in Gmail, I have an "Apple Trash" folder which I link to deleted items as above, and which every six months or so I relabel (in the gmail app) to another folder. That way I don't have 50,000 mails in my trash. I don't activate All Mail in Gmail's IMAP because everything I have is always in at least one other folder / lable which syncs to my mac!

  • How can I tranfer all my hotmail and yahoo contacts to ichat and apple mail?

    My mother bought a new Macbook Pro and I'm trying to export all her email addresses/contacts to the apple mail and ichat.
    Any clue on how to make this process more time effecient?
    Thanks!

    The safe "step 1," of course, is to keep an unaltered copy of the 10.4 Mail folder and plist so that if something bad happens on the new machine, you just throw out that folder and plist and try again.
    The safe "step 2" is that instead of dragging the folder into the same place on the new Mac, you can copy it to a separate location, like a temporary folder in Documents, then in Apple Mail in your new Lion MBP, use File/Import Mailboxes. It will ask you where the mailboxes are, and after you point it to that folder, I'm assuming it will import and convert them to the new format and place them in the correct sub-folders. If it goes well, you can then delete the temporary copy that you made for import purposes.
    The 10.4 plist might be too old since it's 3 major versions later; you can try putting it in the Preferences folder, but it seems safer to note all the settings in 10.4 and re-enter them from scratch.

Maybe you are looking for

  • Why is Firefox writing so much data all the time?

    I am running Windows 7 x64 and Firefox 8. In my Task Manager I display the I/O Write Bytes of all processes. I have found that Firefox is ALWAYS the Process with the largest amount of write bytes after it has been running an hour or so even though th

  • [Solved] Quickcam Messenger and Skype

    So I have installed skype from multilib multilib/skype 2.1.0.81-4 [18.28 MB] [installed] P2P software for high-quality voice communication and also the qc-usb-messenger package community/qc-usb-messenger 1.8-12 [0.05 MB] [installed] QuickCam Messenge

  • Segment in Idocs.

    Hi, I am sending a PO through EDI. I am working in an enhancement wherein when the PO is sent,then the outbound Idoc ORDERS05 will have some more details other than what it already has. I have written the code to populate the fields of most of the se

  • Snapshot has disappeared , how can it be restored ...

    where do I find snapshot on the screen,  it has gone missing , how & where do I find it 

  • Computer all of a sudden shuts down after 5 minutes

    start computer runs for 5 minutes about then shuts itself off