Multiple instances of Mail.app must be possible

I've seen many questions regarding the possibility of running multiple instances of Mail.app as separate processes. There seems to be much good reason to be able to do so, i.e. separating work and private mail, and very little bad reason to do so (maybe some problems when doing upgrades or backups, but I'm not yet sure of this). It also seems that it should not be so hard to do.
So far, using some web acquired wisdom, I've done the following:
1. Duplicate mail.app:
sudo ditto Mail.app WorkMail.app
2. Rename the executable:
mv /Applications/WorkMail.app/Contents/MacOS/Mail /Applications/WorkMail.app/Contents/MacOS/WorkMail
3. Use Property List Editor to set the following values in/Applications/WorkMail.app/Contents/Info.plist (Apple-S to Save changes!):
Root/CFBundleExecutable=WorkMail
Root/CFBundleIdentifier=com.apple.workmail
Root/CFBundleName=WorkMail
Root/NSServices/0/NSPortName=WorkMail
Root/NSServices/1/NSPortName=WorkMail
Root/NSServices/2/NSPortName=WorkMail
Root/UTExportedTypeDeclarations/0/UTTypeIdentifier=com.apple.workmail.emlx
Root/UTExportedTypeDeclarations/1/UTTypeIdentifier=com.apple.workmail.emlx.part
4. Create the following directories:
mkdir ~/Library/WorkMail Downloads
mkdir ~/Library/WorkMail
4. Launch the 'new' application 'WorkMail'.
5. Create mail accounts using the application's 'wizard'.
Here is where the first problem is encountered. The new account directories and files are still created at ~/Library/Mail. Navigating to Mail->Preferences->Accounts->[account_name]->Advanced seems to offer the option to change the mail store account directory, but nothing can actually be changed here. So...
6. Quit WorkMail.
7. Move newly created account(s) directories (where [newaccountdirectory] is a directory named with the format: [mail_type]-[user]@[domain].[tld]@[pop].[domain].[tld]]) to the correct location:
sudo mv ~/Library/Mail/[newaccountdirectory] ~/Library/WorkMail/
8. Use Property List Editor to set the following values in ~/Library/Preferences/com.apple.workmail.plist (Apple-S to Save changes!):
/Root/ActiveViewers/0/AttachedMailboxListExpandedItems/[0to_#_ofaccounts]/=~/Library/WorkMail/Mailboxes/...
/Root/CurrentTransferMailboxPath=~/Library/WorkMail/Mailboxes/...
/Root/MailAccounts/[0to_#_of_accounts]/AccountPath=~/Library/WorkMail/[new_accountdirectory]
/Root/MailDownloadsPath=~/Library/WorkMail Downloads
9. Relaunch WorkMail.
Everything at this point seems to work okay, **BUT** when I launch Mail while WorkMail is launched, I find that I cannot navigate into any mail folders within Mail. I receive an error message indicating that a necessary directory is locked. It seems that the locking mechanism used by the application may be hard-coded to lock ~/Library/Mail, and both instances of the application continue to take this action when launched, making it impossible for both to work harmoniously at the same time. I will conduct more testing and experimentation, but I am not yet capable of editing the application itself. If anyone can take us this last step, I'm sure there are many who would also like to be able to take advantage of the potential functionality.
Thanks for any input!
Steven Stromer

Hopefully, there is someone with a programming background who
can take me and other who have posted similar questions through
the final mile on this...
Well, I do have a programming background, and I must say that it amazes me that someone might want to do what you did to “solve” a problem that IMO doesn’t exist.
What exactly is it that you expect to accomplish by running multiple instances of Mail, and for which neither (1) organizing your mail using multiple mail accounts, custom mailboxes, rules, and/or smart mailboxes, nor (2) setting up separate user accounts, are acceptable solutions? I just don’t get it.
I've seen many questions regarding the possibility of running multiple
instances of Mail.app as separate processes.
I haven’t. Could you please provide a link for such a question, preferably one asked by someone who knew how Mail and Mac OS X work, i.e. a link for a case where there really was such a need?
There seems to be much good reason to be able to do so
I know of no such reasons, neither good nor bad.
i.e. separating work and private mail
I don’t see how that’s a reason to want to run multiple instances of Mail. Could you please elaborate?
Maybe if you tell us what exactly is the problem that you’re trying to solve, instead of focusing on a convoluted “solution” that doesn’t work, we could propose a solution that does...
and very little bad reason to do so
Well, if the fact that it’s so convoluted and doesn’t even work aren’t bad enough reasons, I don’t know what it is...
It also seems that it should not be so hard to do.
I wonder what makes you think so. It does certainly seem hard to me, so hard that I don’t even think it can be done without breaking something, if at all...

Similar Messages

  • Better management of multiple accounts on Mail.app

    When using multiple accounts on Mail.app, it is possible to have different colors for each account, so that it is easier to avoid sending email from the wrong account?

    You're undoubtedly better off to set the mail on the server to forward to your central account, and only maintain one account in Mail. Trying to set up rules in Mail to download mail and then forward it is just going to become cumbersome, and runs the risk of creating some kind of infinite mail loop. (For example, someone sends something to one address, it gets forwarded but for some reason your primary account's mailbox is full. The other address gets the bounce notification and forwards it back to the primary, which generates another bounce... you see where this is going, I'm sure.

  • "share button" opens another instance of mail.app

    When using the new "share button" and then chooseing email to send a jpeg file (or other format that supports being emailed), rather than the new message sheet the action launches another instance of mail.app. 

    Thanks for the reply. I'm not sure what shipped with the machine, but it's the current release 3.2GHz 27" iMac.  It's currently fully updated to 10.8.3 and exhibits this issue.  I do all updates through the software update mechanism. With your last question are you suggesting that I can/should run the 10.8.3 combo updater even though I'm currently on 10.8.3?

  • I need a multiple message voice mail app for Iphone 4S that also provides an auto-attendant, e.g the caller can dial 1 for one of business's or 2 for the other. Each of these options will need to have a different voice mail greeting. Help please?

    I need a multiple message voice mail app for Iphone 4S that also provides an auto-attendant, e.g the caller can dial 1 for one of business's or 2 for the other. Each of these options will need to have a different voice mail greeting. Help please?

    There are no alternative voicemail apps - the core functionality of the phone can not be replaced.
    You'll have to look for an external service, that can then forward calls for each caller onto the correct phone.
    At our business we use Voipfone.co.uk which allows multiple phone lines to come into one VOIP account.

  • How can I run multiple instances of an app in netbeans?

    Hi,
    I would like to run multiple instances of an app in netbeans, this is essential when making GUI changes and you want to compare them with the older version.
    Thanks in advance,

    It is still true that Netbeans cannot launch the same project twice, even with the latest 7.2 and JavaFX Beta version. When trying to "run" the second instance, Netbeans tries to rebuild the project jar file but can't delete it because it is "locked" by the first instance.
    For JavaFX projects, I start one instance by double-clicking the jar file (in the project's dist folder), then use Netbeans to launch the second instance. For comparing your app's old vs. new screens, save the old app version by copying the project folder to another place and use the double-click jar to launch the old app, then proceed to revise the new app version and launch it under Netbeans. That's how you run one version "outside" another version.

  • Multiple Exchange accounts in Mail.app - is this possible?

    Hi folks,
    I would like to start using Mail.app with my Exchange accounts.
    Now, does Mail.app support this feature?
    If not can it be at least set up in such a way that through one single Exchange account I can see my other exchange accounts by delegating all the privileges to that main exchange accounts and thus doing it indirectly?
    Thanks
    Alex

    Just use IMAP for the accounts. I have 4 Exchange accounts in my Mail app and they are all set up that way. but yes, there can only be 1 Exchange account (which I believe has more to do with the Exchange API than Macs)
    hope this helps.
    Eric

  • Multiple instances of one app of the same name

    Hello,
    we have few FMS/AMS servers, versions 4, 4.5 and 5, running some kind of internet TV tubes on them.
    Each tube is supposed to run as unique instance of a Tube app, with unique settings for publishing to CDN (Akamai).
    Sometimes following scenario happens: We reload the stream via administration console or administration API with use of reloadApp command, instance starts closing sequence, even triggers onAppStop event. But as the new instance starts, the old process wakes up again and lives together with the new one - when I check then throught administration API with use of getActiveInstances command, it shows me more instance of the same name as result - for example:
    -<data>
    <_0>tv_app/tube25</_0>
    <_1>tv_app/tube2</_1>
    <_2>tv_app/tube21</_2>
    <_3>tv_app/tube2</_3>
    <_4>tv_app/tube2</_4>
    </data>
    From logs I can see that each of that instances runs under different process ID (x pid column).
    This is quite unpreffered behaviour, as with the same connection settings the multiple instances steals the connection to CDN entry point from each other which causes problems and unpredictable behaviour...
    I have following questions related to this:
    1. - Why the onAppStop is triggered when using reloadApp and unloadApp commands or buttons in admin console, when documentation says that this event should not be triggered on these ocassions (see http://help.adobe.com/en_US/adobemediaserver/ssaslr/WS5b3ccc516d4fbf351e63e3d11a11afc95e-7 edfSSASLR.2.3.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7fe2SSASLR.2.3)
    2. - How is it possible that system runs more instances of the same app with the same name? How to avoid such behaviour?
    I already noticed following aspects to have influence on the possibility to run multiple instance with the same name and got rid of them but problem still persists:
    - case sensivity of app name (one client connects to TV_app/tube2 and other connects to tv_app/tube2)
    - using false as return value in onAppStop event handler - when reloaded, new instance is started but the old one persists
    I am very eager to hear some explanation or clarification of such logic as it comes to me as some kind of internal bug as I have found everywhere that the instances names should be always unique....
    Thanks

    I just want to note that my recommendations led my clients to purchase more than 5 licences of FMIS/AMIS througt the time.
    As I see how low is the passion to react to any problem on Adobe side, I would have probably changed my mind.
    This is really pain in the *** as any call to adobe official contact (taken on mind that to find one is a big quest by itself) lead just to reply "pay nasty amount for our consultancy Sir!" and it does not look any better here....
    I am no novice on FMS/AMS platform, working with it more than 6 years throught many projects and I would not ask for some stupid questions which could be solved just by looking to documentation or could be solved by some performance eperience.
    I am really upset for this :/

  • Multiple instances and mail config

    Maybe I dont understand the right concept of multiple
    instances but what I did was the following:
    Setup up an instance for each domain I have running as a
    VHost on apache.
    What I was trying to accomplish is the failover of any one
    domain and also to use separate mail settings for each domain.
    But this is where I seem to have misunderstood the concept of
    multiple instances, is it not possible to use a different smtp
    server for each domain? When my forms for each domain generates an
    email I want the email to originate from that domain not the main
    one setup in CF...
    Thanks

    Your on the right track.
    Set up say 4 websites (virtual hosts) eg www.mydomain1.com,
    www.mydomain2.com etc
    Set up 4 cf instances if you have 4 domains, maybe call them
    mydomain1, mydomain2 etc
    Using the Web Server configuration tool, config the cf
    instance mydomain1 to virtual host mydomain1, cf instance mydomain2
    to VH mydomain2 etc
    The website should now be working using their own Cf
    instances.
    Go into the CF Admin, scroll to the bottom of the left menu
    and you should see Instance Manager
    Clicking on this should either reveal the 4 cf instances or
    you may have to add them (should be a button)
    Once you see all 4, you should be able to click on the admin
    for each individual instance and change the smtp server as
    appropriate.
    This won't give you failover though, if a CF instance goes
    down, that site is gone. Clustering is the way to give failover and
    you can achieve this fairly easily.
    Expanding on the above example, you would create 8 CF
    instances eg mydomain1-1 mydomain1-2, mydomain2-1 mydomain2-2.
    Create 4 clusters eg mydomain1cluster, mydomain2cluster etc
    In the CF Administrator Add mydomain1-1, mydomain1-2
    instances to mydomain1cluster etc
    Using the Web Server configuration tool, config the cluster
    mydomain1cluster to virtual host mydomain1 etc
    each domain should now be using 2 cf instances, you will be
    able to down on of those instances the the site will continue
    working.
    Back in the instance manager under CF Admin, you should now
    have 8 instances - config mydomain1-1, mydomain1-2 to the
    appropriate smtp server etc
    The above is for CF MX 6 onwards too, not sure about previous
    versions.
    I think thats what your after? I've skimmed over some parts
    above in relation to the clustering, but there's a handy doc
    floating around on the web by Herrlich & Ramuschkat that will
    guide you through it.
    BTW, those instances can sit on multiple physical servers for
    hardware redundancy. Depending on how many domains you have and the
    power of your machines, this is a preferred way to go although
    expensive due to multiple CF licences

  • How to get multiple identities in mail.app in ios7

    Hi,
    I am trying to get the equivaelent of Thunderbird's identities in mail.app. I can do this on the desktop version. The way to do that there is that you manually enter the smtp information for the other address and then go to mail-> preferences and under email address seperate your emails with a comma.
    For instance, suppose I had to emails, main @email.com and support @email.com. I don't want 2 seperate accounts as everything at  support @email.com gets forwarded to main @email.com
    Using the desktop mail.app, I do the following:
    I create an account for  main @email.com. I then go in and change the email address line to show: "main @email.com,  support @email.com".
    I then go in and add the smtp information for  support @email.com. Then when I send email, I can send directly and just select  support @email.com as the server.
    This is equivalent to the thunderbird "manage identities".
    However, I can't seem to do this in IOS 7. Any help would be greatly appreciated. Thanks.
    <Edited by Host>

    Hi msabir:
    Thanks for your help. Yea,i don't want to get the first 200 phones, i just want to get the phones which are listed in the items.For example:
    "SEP0013192F15DU"+
    "SEP000E839C1479"+
    "SEP00131A4D3B34"+
    "SEP001D450BF4CF"
    ,then i just want to get the four phones, but when i do like this,i always just got one phone,why is that? Then i changed to use Array like this:
    "http://schemas.xmlsoap.org/soap/encoding/\">" +
    "" +
    "" +
    ""+
    ""+
    "10"+
    "Phone" +
    "255" +
    "Any" +
    "Name" +
    "" +
    ""+
    ""+
    ""+
    ""+
    ""+
    "SEP001D450BF4CE"+
    ""+
    ""+
    "SEP00131A4D3B34"+
    ""+
    But it alway throws this error:
    soapenv:Server.generalExceptionERROR: SelectBy is null
    why? Thank you very much!

  • New email in IMAP inbox doesn't show up in Mail.app - must quit & relaunch

    I have a 24" iMac 2.33GHz running OS 10.5.7, with several user accounts on the machine. on my account (the main admin account), Mail seems to work just fine.
    but on a couple other accounts, although Mail.app correctly shows new IMAP email in the inbox immediately upon launch, it doesn't always seem to notice new mail that arrives on the server later, AFTER the initial launch.
    That is, whether the user later presses the Get Mail button or waits for Mail to periodically check for email (preference set to check every minute), it thereafter never shows any new mail arriving in the Inbox - this is even when I know for certain that there are unread new messages sitting in the inbox of the IMAP server (e.g. by confirming separately via webmail interface or via iPhone, but of course leaving the new message unread). This means the user who leaves Mail running in the background all day may never realize he has new email, Mail.app keeps showing no new mail unless he happens to quit and restart Mail later.
    I believe this problem only started recently, perhaps after one of the recent system updates - I can't say for sure, but we only noticed this recently. And as I mentioned, I don't see this behaviour on my main account, I see new emails immediately. Also I use Mail.app on a different MacBook Pro and have never observed this behaviour - it is just on my iMac.
    another observation, since the problem occurs on some accounts but not mine - I tried deleting the user's com.apple.mail.plist file and reconfiguring the offending account, in case a corrupted preference file was the culprit. but afterwards the problem remained so that doesn't seem to be it.
    anyone else seen this or have a fix?
    thanks in advance.

    I'm seeing the same behavior on a couple of the iMacs in our office. Do you know what mail server software you're using? I'm trying to figure out if it's a problem with the server software, using IMAP rather than POP3, or if it's Mail.
    We're using Kerio Mail Server. Several of us have been using IMAP for over a year and had no problems. The two who are having problems also have thousands of messages in their Inbox whereas the rest of us never have more than a couple hundred.

  • Launchpad showing multiple instances of some apps

    Anyone has the same issue?
    I use external USB HD for Time Machine backups of my Data partition and for daily clones of System partition done by SuperDuper! - Launchpad is showing all instances of applications, not only these in the Applications folder on my Mac, but also some from Application folders on the attached clones - as result I see multiple instances of each application, without indication which one is on the running system and which ones are on the clones.
    After disconnecting the extenal USB HD the duplicates still remain in the Launchpad.
    Any idea how to deal with it?
    Any way to refresh the Launchpad?

    The LaunchPad can be refreshed like this:
    press cmd-shift-g and enter there '~/Library', then navigate to 'Application Support' and open the Folder labeled 'Dock' and move the .db file to the trash and now open the Terminal and enter 'killall Dock'.
    The problem you have is probably coming from your the SuperDuper! clones… so be sure to remove the external HD first.
    enjoy the Lion

  • Managing multiple accounts in Mail.app

    I would like to be able to send from an email address (e.g. [email protected]), have all of the email sent to that same address ([email protected]), and not get double downloads of the message from my email client (Mail.app).
    So if I get an email to [email protected], I want it forwarded to [email protected] I use the email forwarder...no problem...works great.
    If the account [email protected] is not "active" in Mail.app, then I cannot send mail from that account, but if it is active, then I get the same message downloaded twice, once on the [email protected] and once at the [email protected] where it was forwarded to.
    How do I solve this problem? I want to send from an email address but not get incoming messages downloaded twice b/c of the email forwarder.

    You're undoubtedly better off to set the mail on the server to forward to your central account, and only maintain one account in Mail. Trying to set up rules in Mail to download mail and then forward it is just going to become cumbersome, and runs the risk of creating some kind of infinite mail loop. (For example, someone sends something to one address, it gets forwarded but for some reason your primary account's mailbox is full. The other address gets the bounce notification and forwards it back to the primary, which generates another bounce... you see where this is going, I'm sure.

  • Converting a small php mail app to a cf mail app, is it possible?

    Hello;
    I am trying to use a small app I picked up and it uses a php email tag in a java scrip / jquery based email applet for a web site. The php tag sends a callback to the jquery when the message is sent, if it doesn't, the jquery throws an error and tells the user nothing was sent. I know how to use a cfmail tag, but I am looking for help with sending the callback to the jquery.
    I'm posting both sets of code, the php code, and then the cf code:
    PHP version
    <?php
        //declare our assets
        $name = stripcslashes($_POST['name']);
        $emailAddr = stripcslashes($_POST['email']);
        $comment = stripcslashes($_POST['comment']);
        $subject = stripcslashes($_POST['subject']);   
        $contactMessage = "Message: $comment \r \n From: $name \r \n Reply to: $emailAddr";
        //validate the email address on the server side
        if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $emailAddr) ) {
            //if successful lets send the message
            mail('/*RECIPIENT EMAIL ADDRESS*/', $subject, $contactMessage);
            echo('success'); //return success callback
        } else {
            echo('An invalid email address was entered'); //email was not valid
    ?>
    This is the cf version I'm working on:
    <cfparam name="FORM.name" default="">
    <cfparam name="FORM.emailAddr" default="">
    <cfparam name="FORM.comment" default="">
    <cfmail to="[email protected]"
            from="#form.emailAddr#"
            subject="Feedback"
            type="html"
            server="mail.asite.com"
            port="25">
    <cfmailparam name="X-Priority" value="1"/>
    <font face="Verdana, Arial, Helvetica, sans-serif" color="##000000" size="2">
    <b>Feedback Form!!</b><br>
      <br>
      <b>Customer Name:</b> #form.name#<br>
      <b>Customer Email:</b>   #form.emailAddr#<br>
      <br />
        <b>Feedback:</b><br>         
      #form.comment#</font><br>
    <br>
    </cfmail>
    Is this possible? I was thinking a cfif statement.. but am a little unclear how to approach it. I can make the jquery available as well if needed, but If I mirror the code in the phpo it should work without having to mess with the java.
    Thanks for any help.

    The php app bases it's action on the validity of the email address, not whether or not a message was sent.  You can simplify this immensely by:
    on your form page, use the validate attribute of the cfinput tag.
    on your action page, use the isValid() function.
    All that jquery stuff will then become unnecessary.

  • Multiple instances of corrupted apps

    I had/have the Viitrio Drawing Board widget on my 5530. I uninstalled it, but I have three or four "shortcuts" to Viitrio on my Applications list. If I try to launch it, nothing happens, which is fine because I uninstalled it. If I try to do Organize > Remove, it tells me the file is corrupted. I can move the shortcuts to other folder, but what I really want to do is to remove those shortcuts.
    Does anyone know where the directory path for those shortcuts? I'd like to try putting the memory card on my PC and delete the shortcuts there.
    My other option would be to reinstall/uninstall the app, but I think I tried that already.

    Are you doing this via AppleScript (if so, you should probably post in the AppleScript forum... but anyway...)
    If you use 'do shell script' to launch a process, AppleScript holds onto the stderr and stdout of the process. If you want the app to run standalone you need to redirect those to some other place in order to release them from AppleScript:
    <pre class=command>do shell script "/Applications/appname.app/Contents/MacOS/appname > /dev/null 2>&1 &"</pre>
    This will redirect stdout and stderr to /dev/null and send the process to the background.

  • Run Multiple Instances of Windows Store App

    We have a desktop app which we are considering porting to Windows Store. Our app allows the user to generate orders. If the user wishes to generate several orders simultaneously, they open several instances of our app.
    Is it possible to run multiple instances of a Windows Store app on Windows 10?

    Hi,
    Another thread in MSDN forum already answered this question:
    https://social.msdn.microsoft.com/forums/windowsapps/en-us/19b5bd94-d772-46b0-b5af-a1be475b0e16/multiple-instance-in-metro-app
    The app is still single instance, but it can now open multiple windows by calling
    CoreApplication.CreateNewView. This is demonstrated in the
    Multiple Views Sample
    Roger Lu
    TechNet Community Support

Maybe you are looking for

  • Parking date in FB60

    Hi All, When we park a document number through FB60, the details are gets stored in VBKPF & BKPF tables. But when the document is posted using the same transaction, the record gets deleted from VBKPF and the BKPF records gets updated. There is no fie

  • EndSeperator in Receiver File Adapter?

    Is anyone familiar with the details of using the xml.endseperator parameter in file content conversion (beyond what is in the help file)? It defauts to a new line, but is there a code I can use in there to make it NOT linebreak?  Like to have one lin

  • How to receive single item for different concentration in Inventory

    If we are receiving different concentrated item in our inventory from supplier then how can we maintain same product with different concentration in OPM?

  • 1DC thoughts + feature requests

    Hello, It has been just under a year now that I acquired the 1DC and have actually totally, completely fallen in love. Although my short little fashion run-n-gun films show my poor DP abilities, this camera is an absolute dream for a imager suchas my

  • Duplicate Text At page split

    Hello Experts,    I am creating new adobe form and now i am stuck. I have long text in text ID field. I am using include module to pull the text. I have a main subform then i have line item subform then text element. if i have 5 lines in long text it