Sync mail rules

Upgrading to Lion was not smooth on one machine. But I'm managing.
The current issue is that my mail rules are now independent. My set of rules on my Desktop and my Laptop don't sync, nor can I find a place to have them sync. As I did not upgrade the two machines at the same time (I had to find a few replacement programs for non-lion compatibility) they have some significant differences.
Short of overwriting one set with the other with the .plist file, any suggestions? iCloud does not seem to take on this issue.
Adam

I use Dropbox so  have the following two aliases setup in .bashrc (actually, in .bashrc I source a bashrc that's on Dropbox so that it's the same everywhere, see further below...):
Rename these aliases to something that makes sense for you (see further below for the actual aliases):
cpmd (stands for 'copy mailRules to dropbox')
cpdm (stands for 'copy dropbox to mailRules')
I keep a template .bashrc file on Dropbox which I copy to all new macs:
mini:bash me$  cat $HOME/Dropbox/bash/template.bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
    . /etc/bashrc
fi
# Source Dropbox definitions
if [ -f $HOME/Dropbox/bash/bashrc ]; then
        . $HOME/Dropbox/bash/bashrc
fi
And edit only the centralized bashrc in $HOME/Dropbox/bash/bashrc, which the above sources
Terminal.app opens a login shell, which reads .bash_profile instead of .bashrc, so you'll want to use a .bash_profile that sources .bashrc e.g.
mini:bash me$  cat $HOME/Dropbox/bash/template.bash_profile
[[ -s ~/.bashrc ]] && source ~/.bashrc
For each new Mac I use, simply copy the template files from Dropbox into my home directory:
cd $HOME
cp $HOME/Dropbox/bash/template.bashrc $HOME/.bashrc
cp $HOME/Dropbox/bash/template.bashrc $HOME/.bash_profile
Now, in $HOME/Dropbox/bash/bashrc, add the following aliases:
alias cpmd="cp $HOME/Library/Mail/V2/MailData/MessageRules.plist $HOME/Dropbox/MailRules/MessageRules.plist"
alias cpdm="cp $HOME/Dropbox/MailRules/MessageRules.plist $HOME/Library/Mail/V2/MailData/MessageRules.plist"
To copy Mail's rules to Dropbox, just type "cpmd" in Terminal.
To copy the rules from Dropbox to the local Mac's Mail folder, first quit Mail, then type "cpdm" in terminal.
There are ways to automate this, or to symlink things, but I think that's dangerous since there's no file locking  so  instances of Mail.app on different macs could overwrite each others changes.
ETA to add caveat wrt to trying to automate this...

Similar Messages

  • Unable to sync Mail rules

    I have activated the .Mac "sync Mail Rules, Signatures and Smart Mailboxes".
    But the Mail rules on my home and office Mac are not synced by iSync.
    Everything else is synced fine (iCal etc.) Any suggestions ?
    PowerMac G5   Mac OS X (10.4.6)  

    Welcome to Apple Discussions.
    With the release of iSync 2 and Mac OS X 10.4, iSync no longer has anything at all to do with synchronizing .Mac data types like Mail Rules, Signatures and Smart Mailboxes. Actually, it never did have anything to do with those data types, because they were not available before the release of Mac OS X 10.4 almost a year ago.
    For help with .Mac Sync issues, you should check this forum:
    http://discussions.apple.com/forum.jspa?forumID=957

  • Cannot sync mail rules

    I have an iPhone 3G and use mobile me. The phone and my mac are all up to date. Everything syncs fine with my mac, contacts, mail, calender. The only thing that will not sync are some mails rules, even when the "sync mail rules, signatures" box is checked in the mobile my preferences. Anybody having a similar problem or know a solution?
    Thanks,
    Chris.

    The sync mail rules, signatures is for keeping mail rules and signatures synchronized with the Mail.app on multiple Macs.
    This does not apply to the iPhone and the iPhone's mail client which does not support rules.

  • Why does iCloud not sync mail rules?

    This seems like a no brainer. When I view my email on my Iphone, I see all my Spam, which would already be dispatched to the Junk box on my desktop, had I looked there first. Why does iCloud not sync my Mail rules, and is there a solution for this?

    It is not Mac to Mac.
    Why not look up iCloud support, it was never offered as anything outside iOS 5 supported devices.
    Maybe if you would stop reading into things what isn't there.
    https://discussions.apple.com/community/icloud?view=overview
    http://www.apple.com/support/icloud

  • Mail rules have stopped executing applescripts

    I have 3 mail rules that run different applescripts to process mail into other apps (omnifocus and yojimbo). Sometime in the last few days, these rules stopped processing the apple scripts. I know the issue is not the scripts themselves, because I can execute them manually just fine.
    I'm not sure why they have stopped working, but there are two changes that have happened on my computer that I think might have created the issue:
    1) I installed the Safari 4.0 beta
    2) I began syncing mail rules with another machine. (This created duplicate rules, but I have deleted them.)
    Anyone have any ideas what might be causing my issue?

    you can submit a bug report here:
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/wa/signIn
    You will need ADC membership to do so. it's free and you can use your existing apple id to get it.

  • Why is Mail rule syncing only one way?

    Odd. I've got a Mac mini and an iMac, both running 10.8.2, both with iCloud syncing Documents & Data. Mail on the mini has rules -- created on that machine -- for SpamSieve that are not syncing to the iMac; in fact, both rules disappear every few days and I only notice because spam starts piling up.
    On the other hand, changes to Mail rules on the iMac are synced to the mini. The mini has been running Mountain Lion for five months; the rules only started disappearing after I upgraded to ML on the iMac last month.
    Any ideas on why the syncing is only one-way?

    It appears that I can't edit my original question. So here is new information. It is syncing. However, the contacts are syncing with my personal folders. The calendar is syncing from Outlook to Ipad from my personal folders. However, the calendar is syncing to Outlook in a hotmail calendar in the profile that I didn't know existed. How do I get it set right.
    I tried to select the calendar. However only one calendar is available in itunes. It must be the correct calendar as it is syncing fine. So how do I get ipad to sync back to the personal folders calendar instead of the hotmail calendar in my profile?
    Pastor John

  • Mail Rules Sync in Yosemite

    My mail rules used to sync via iCloud just fine under Mavericks. The mail rules help topic in Yosemite now says that should happen using iCloud Drive; however, it's not working for me. I'm trying to sync my rules from my MBPro to my new Mac Mini. The MBPro was upgrade from Mavericks to Yosemite and the Mac Mini came with Yosemite out of the box. icloud Drive is enabled on both. When using Finder to browse iCloud Drive files, the listings seem to match and changes I make to one show up on the other relatively quickly. Mail is listed in the iCloud System Preferences list of apps that use iCloud Drive on both systems, but there is no Mail folder on iCloud Drive. Am I missing anything? As far as i can tell, everything is set up by the book. It just doesn't work for Mail.

    My mail rules used to sync via iCloud just fine under Mavericks. The mail rules help topic in Yosemite now says that should happen using iCloud Drive; however, it's not working for me. I'm trying to sync my rules from my MBPro to my new Mac Mini. The MBPro was upgrade from Mavericks to Yosemite and the Mac Mini came with Yosemite out of the box. icloud Drive is enabled on both. When using Finder to browse iCloud Drive files, the listings seem to match and changes I make to one show up on the other relatively quickly. Mail is listed in the iCloud System Preferences list of apps that use iCloud Drive on both systems, but there is no Mail folder on iCloud Drive. Am I missing anything? As far as i can tell, everything is set up by the book. It just doesn't work for Mail.

  • Work around for the loss of mail rule syncing?

    Since MobileMe has been axed, mail rule syncing does not work anymore.
    Is there an alternative to get mail rules to sync with iCloud or other tools? It is STUPID to have different clients using the same (IMAP) account(s) but different rule sets.

    Thanks for the tip, but this does not work for me.
    My impression is that Matt Parkinsons blog is (unfortunatly) wrong.
    I am in front of my office iMac (10.8.2). I did change a rule, waited a while, and quit mail on the iMac.
    Booted my MBP (10.8.2), opened Mail.app, and checked the rules list. The modification in the rule changed on the iMac was NOT there.
    I created a new Smart mailbox, waited a while, and quit Mail on the MPB.
    Checked on the iMac after opening Mail. The new Smart mailbox does not show up.
    Since I am doing the "propagation of my rules" since quite some time via dropbox, I am also sure that the change dates of the three files MessageRules.plist, RulesActiveState.plist and UnsyncedRules.plist stays as is on one Mac even if rules are edited on another. The same conclusion results from searching (a copy of) the file MessageRules.plist using TextEdit to compensate for the lack of a find/search/locate function in rules with Mail.app.

  • Synced mail between Macs ......  Once and for all help me understand.

    Hi guys,
    Ok, I've been a Mac user for over 8 years but I have to admit I've never really understood how to best organise my Mac Mail.
    I have a Mac Mini and a Macbook Air and I choose to keep all mail in folders "on my mac". Both the Mini and the Air have matching folders.
    I don't tend to store mail in folders in ".Mac"... or .Me (online) as I prefer it stored on my hard drive.
    Problem here is that when I store an email in a folder on say the Mini... it obviously doesn't apperar in the matching folder on the Air. They are not synced as they are store on their individual hard drives.
    My question...... is there a way to sync these two computers and their mail folders? ... or is the only way to save everything to .Mac on both computers and not "on my mac"?
    Isn't there a risk that .Mac could loose all my mail?

    I have Mac Pro and MacBook Pro. I keep all mail on both machines by:
    1. Mac Pro set to leave mail on server for 7 days. MBP set to never delete from server. That means all mail is always downloaded to both machines. You may prefer/need longer or shorter. Having the MBP set to never delete means that if I am away from base, the Mac Pro will still always get all mail.
    2. Out going Mail set on both machines to bcc myself. This means all sent mail gets to both machines whichever machine it was sent from.
    3. Mail rules on each machine put any incoming mail from myself into sent folder. This means all mail I send ends up in the sent folders whichever machine it was sent from.
    Seems to work fairly well. Maintenance has to done on each machine separately, and you have two copies of sent mail on the machine it was sent from.

  • Copy Mail Rules from Mac Pro to Macbook Air in Mavericks 10.9

    Hi All-
    I have a Mac Pro running Mavericks 10.9 and a Macbook Air also running 10.9. I have set up a very detailed set of rules for organizing my incoming email on my Mac Pro that I would also like to use on my Macbook Air.
    Details:
    Mac Pro - Mavericks 10.9
    Macbook Air - Mavericks 10.9
    Application - Apple Mail
    Mail setting use IMAP on both machines
    iCloud used to sync everything else on both machines
    Is there a way to copy the mail rules I have set up on my Mac Pro to my Macbook Air?
    Thanks in advance!

    William-
    I checked iCloud "Documents & Data" / Options and I see Preview and iMovie in there but nothing about Mail.
    Do step by step instructions exist anywhere? Seems like a handy feature in Mavericks but I can't find a peep about it.
    Thanks!

  • Mail Rules Question

    I have a lot of email on my Gmail account. A semi significant portion of them are status updates, such as Facebook, Pownce, Netflix, and other site updates. In the past when I used POP, it wasn't such a big deal to keep these emails because Gmail offers something like 4GB of space. However, now that I am switching to IMAP, it's taken me forever sync with all 14,000 emails on the Gmail server.
    I don't want to have to do that again, especially not on my iPhone.
    My question is this: Is it theoretically possible to setup a mail rule to have a specific folder delete all its contents after a specified amount of time? Looking in the default mail rule options, there is the ability to delete email as it comes in, but not necessarily after, say, 30 days. I'm looking for something along the lines of, "every 30 days, delete everything in this mail folder."
    Any ideas?

    David Gimeno Gost wrote:
    Mail doesn’t provide that functionality, but you may set up a smart mailbox that displays the messages to be deleted, then manually delete whatever shows up there every once in a while.
    Yeah, that's what I figured.
    Another option is writing an AppleScript and selecting the "Run AppleScript" rule option, but I'm a) not 100% it's even possible, and b) rusty on AppleScript.

  • How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?

    Setting up my new MacBook Pro. How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?
    Is there a file I can copy & paste?

    Thanks Barry & all,
    Is it enough to just copy the rule-related files ??
    i.e.
    Library/Mail/V2/MailData/RulesActiveState.plist
    Library/Mail/V2/MailData/SyncedRules.plist
    Library/Mail/V2/MailData/UnsyncedRules.plist
    What you suggest copies the local mailbox content + all the settings ...
    while what I need is much less... and I'd like to be able to sync rules also in the future
    by copying something light and simple ... not the entire Library/Mail folder
    Many thanks,
    Stefania

  • Mail Rule Misbehavior

    Not all of them, and sometimes I'll delete a rule and recreate it and it works only to stop working a day or so later. This is happening on a machine running Snow Leopard as well as my current main machine running Leopard. I often sync my rules via Sync to copy from my Leopard machine over to my other machines and presume something happened to that machine and it sent it over to the SL machine and a Tiger machine too.
    Does anyone have a fix, a way to reset rules or kick the preferences back into shape?

    Here is a sample from the MessageRules.plist of a simple rule to add a color to incoming mail from this site, Apple Discussions. It does not work. I can delete it, recreate it, move its position around and nothing helps.
    <dict>
    <key>Active</key>
    <string>1</string>
    <key>AllCriteriaMustBeSatisfied</key>
    <string>NO</string>
    <key>AutoResponseType</key>
    <integer>0</integer>
    <key>Color</key>
    <integer>14136549</integer>
    <key>Criteria</key>
    <array>
    <dict>
    <key>CriterionUniqueId</key>
    <string>4745b2dd-7ea8-4d96-8737-79c922b0f582</string>
    <key>Expression</key>
    <string>[email protected]</string>
    <key>Header</key>
    <string>From</string>
    </dict>
    </array>
    <key>Deletes</key>
    <string>NO</string>
    <key>HighlightTextUsingColor</key>
    <string>NO</string>
    <key>MarkFlagged</key>
    <string>NO</string>
    <key>MarkRead</key>
    <string>NO</string>
    <key>NotifyUser</key>
    <string>NO</string>
    <key>RuleId</key>
    <string>92A90D2D-0CEC-44AF-AC7E-405937F26115</string>
    <key>RuleName</key>
    <string>Color Apple</string>
    <key>ShouldCopyMessage</key>
    <string>NO</string>
    <key>ShouldTransferMessage</key>
    <string>NO</string>
    <key>TimeStamp</key>
    <string>165943881</string>
    </dict>

  • Mail rules and iCloud

    Is there a way of copying mail rules in one mac to keep them alive on my macs after iCloud?
    I would appreciate any help,
    Thanks!
    Mario Lordeiro

    I'm using the same Apple ID for both accounts to allow syncing. 
    I use QUICKEN to track finances.  The main reasons I set up two users is to separate fishing club finances from my personal finances and to separate documents.  At this point I have decided to combine the two accounts; sort documents; and open separate QUICKEN accounts as needed.  I do think that Apple Mail needs attention to correct inconsistencies such as the one I pointed out.
    Thank you for your Comments
    TomJF

  • Sync Mail between two computers

    After Leopard upgrade, I switched from Entourage to Mail.app, so I'm new to it.
    I use two Macs and POP accounts. How can I sync Mail.app between two computers in Leopard? The Sync Service of Smart Folders is not enough for me.
    May I use a sync app like Folders Synchrnonizer?
    Thanks
    Stefano

    Both my wife and I have multiple macs and work at home and on the road - we've tried all sorts, and there are 3 approaches that work:
    1) IMAP
    I know you think this isn't the ideal solution for you, but it is unbelievably simple and rock solid once you get it working.
    Set your POP mail addresses to forward all mail to your IMAP address (I use .mac which is brilliant, I don't know about Gmail).
    Your mail is server based, so your laptop, desktop, iPhone, webmail from a PC etc. are all always in sync.
    You will still get your mail from your old accounts.
    You can set rules on any of your machines to filter your mail into folders according to which address they were originally sent to.
    HOWEVER the mail you SEND will be FROM your IMAP address, so your clients / friends may get confused if you don't want them to use your IMAP address as your main address.
    2)
    Leave POP mail on the server.
    In Mail preferences, highlight your POP account and click on the "Advanced" tab.
    Select "Remove mail from server" to a 1 day if you come home each night.
    If you are away for longer, make it 1 week or Never.
    This way, if you download mail on your Laptop, when you get home that evening, your desktop will download the same mail again, as it has been left on the server.
    It's sort of fake IMAP.
    The downside is you can end up with a full mailbox at the server very quickly as you are now leaving messages on it, and you may have to empty the server yourself sometimes (in the same menu you just adjusted).
    Also, if you are away from your laptop too long, you may download and later delete-from-the-server messages on your desktop, leaving your laptop out of date.
    Use Mac Sync to keep your rules, mailboxes and preferences synced up.
    This is the way it's designed to work, so it should work fine.
    3)
    Drag the Mail folder.
    Assuming you're only using one Mac at any one time, you simply move the main mail folder to whichever machine is current.
    Quit Mail on both machines.
    On your target mac, go to youruserfolder/Library and rename the "Mail" folder to something else like "Mail Old". This is just so you have a backup.
    On your source mac, go to youruserfolder/Library and copy that entire folder (not just the mailboxes) either to a drive to transfer to your target mac, or straight to it if you have it networked.
    When you start up mail you will find the messages, folders, mailboxes etc. are the same as they were on your source mac.
    Now you use your target mac (say your laptop) for a while.
    When you are going back to your original source mac (e.g. your desktop), you now repeat the process in the other direction, replacing your desktop's mail folder with your newer laptop's version.
    It's really important you use one mac at a time and swap the folder each time you switch.
    If you rename the previous version before you overwrite it, you know you have a backup if things get out of sync.
    It works really well if you only take the laptop out occassionally, or if you use it exclusively for days at a time (i.e you go away) and you only need to do the transfer every so often.
    Also, it helps if you don't have thousands of emails - if your Mail folder is under half a gig, you can do this quickly using a USB keyring or similar. Any bigger and the transfer can get a bit slow.
    I use option 1, and felt it was worth changing my email address for.
    My wife uses option 2 when she is using her laptop in the day and she can run her desktop each evening the download the mail left on the server.
    But she sometimes gets trouble with her popmail server filling up (she gets lots of video and audio attachments) so if she's going away or not planning to use her desktop in the evenings, she reverts to option 3 and removes messages from the server "right away", updating her desktop's mail folder at the end of the week and just using her laptop until then.
    Good luck!

Maybe you are looking for

  • E-mail and Exchange Active Sync

    Planning on configuring E-mail in your Xperia phone? Or do you experiencing problems syncing your E-mails? If yes this might be the topic for you. Below you’ll find some guides on how to setup E-mail sync and troubleshoot any problems. POP3/IMAP POP4

  • IF problems

    Hello All, In numbers I am trying to utilise the IF statement to preform some decision making, pictured above is the IF statement I am trying to get working, I have two colums, when I click on the leftmost check box the description in the Status colu

  • Mscorlib recursive resource lookup bug

    Hi, I got crash in my application when restart of the Windows 8. Please find the assertion failure details below. Expression: [mscorlib recursive resource lookup bug] Description: Infinite recursion during resource lookup within mscorlib. This may be

  • CD images of Solaris 9 - latest version

    From where can I download CD images of Solaris 9 (latest version) to burn to CD's for install?

  • MEGA PC 865 - detailed problem description

    System Configuration Bios Version 1.3 Hardware MEGA PC 865 Deluxe Barebone 2.66Ghz Celeron D (FSB 533) 2 * 256MB PC2100/DDR266 RAM (crucial matched pair) - also tested with 1 * 512MB DDR400 (crucial) 250GB Western Digital HD Phillips DVD/RW No AGP or