An issue with mail rules

I've set up a number of rules to deal with spam, and they all work fine except for one particular spam offender.
Each time I set up a rule to move mail from this source into trash and it seems to work. The next day I've find another message from these people (some organisation that mails out deals from supermarkets et cetera) and the rule I set up has disappeared. I've no idea why this happens, and why it's only with messages from this particular address.
I'd be really happy to hear from anyone who might have a solution to this.
Thanks,
Chidi

I think I figured this out.
Initially, one of my rules would include the action "Mark as read" and then "Move to Exchange Trash" (move to Exchange Deleted Items). In this case, it would move it but not mark it as read. Also, after creating the rule, when I viewed it the Delete action was listed before the Mark Read action.
As others suggested in this thread:
https://discussions.apple.com/message/11651385#11651385
I created two rules. I did this by duplicating the existing rule. I modified the original rule to only mark as read and I modified the second rule to only delete it (and stop processing rules).
In that thread, someone suggested separating the rules becuase of a possible timing issue. That did not work for me.
I viewed the Rules plist (~/Library/Mail/V2/MailData/SyncedRules.plist). When I check the rule to mark as read, it still have the move to trash action. In the Mail rule preferences, I could not see the action, but it was still in the plist.
The simple fix is this:
1. Use two rules
2. Make sure the Mark as Read rule is created from scratch
3. Convert the old rule to only delete it (or move to Exchange Trash)
4. Make sure the Mark as Read rule is above the delete rule

Similar Messages

  • Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

  • TS3276 I have issues with mail unexpectedly quitting, any suggestions?

    Has anyone ever had issues with mail and/or Safari "unexpectedly quitting" repeatedly and the only thing that seems to temporarily fix it is to restart the computer?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Serious issues with Mail

    Mail crashes the moment i click on it. Anyone got any ideas as to why this happens?

    mine does the same, the moment i open open up mail the pinwheel won't stop spinning, and i tried the utility disk repair but still the pinwheel spins upon starting the program-- any luck to fix this serious issue with Mail? thank you.

  • Email with Mail Rules applied are automatically marked as read

    I am using Mail in Mac OS X 10.5 with Gmail IMAP, and any email I receive that has a mail rule applied to it (such as, if person x emails me move email to this folder) is automatically marked as read (i.e., doesn't show up as a new message). Any email that comes into the Inbox, however, is marked as new.
    The mail folder I am testing this with does not have the "mark email as read" rule applied to it, yet it keeps marking any email that goes through this rule as read. Also, no new mail sound plays after receiving these emails. In Tiger, even when an email was automatically marked as read by mail rules, it made the new mail sound.
    I don't know if this is a Mac OS X Mail issue or a Gmail IMAP issue, but it's frustrating as all edit: I guess he-double-hockey sticks is a four letter word]. Is anyone having this issue and does anyone have a solution?
    Message was edited by: thenotoriousxis

    For me, it never counted it as new. It would just appear.
    I deleted the Mail preference file and that seemed to fix some things, even though it did require me to re-setup Mail almost entirely. This morning, though, I got an email from my girlfriend that did not filter at all, even though the email address she sent from is in a rule. Might be an isolated incident, though.

  • Problem with Mail Rule

    I am trying to set up a mail rule that triggers an Applescript. The Applescript will open all attachments with Preview in this case. I know the rule is being triggered because I have two actions for the rule, run the Applescript and Make a sound, and I hear the sound.
    Here is the script:
    using terms from application "Mail"
    on perform mail action with messages theMessages
    tell application "Finder" to set pathToAttachments to (path to desktop folder as string)
    tell application "Mail"
    repeat with theMessage in theMessages
    set theText to content of theMessage
    if theMessage's mail attachments is not {} then
    repeat with theAttachment in theMessage's mail attachments
    set theFileName to pathToAttachments & (theMessage's id as string) & space & theAttachment's name
    try
    save theAttachment in theFileName
    on error errnum
    end try
    tell application "Preview" to open theFileName
    tell application "Finder" to delete theFileName
    end repeat
    end if
    end repeat
    end tell
    end perform mail action with messages
    end using terms from
    (* tell application "Mail"
    set myMessages to selection
    tell me to perform mail action with messages myMessages
    end tell
    If I comment out the stub at the bottom, and run the script, it runs perfectly all the time.
    If I select the e-mail in question and trigger using *Apply Rules*, the script runs some of the time.
    I have yet to get the script to trigger on newly arriving e-mails.
    The rule is checked and I haven't found a +Apply Rules to Incoming Emails+ check box. I thought that happen automatically. Anyone have any ideas on what is going wrong or further ways I could debug it?

    Testing your script, I found that, in the few cases where it didn't work well, I could have it work properly with the following modification:
    *tell application "Preview" to open theFileName*
    *delay 1*
    *tell application "Finder" to delete theFileName*
    It should also be possible to replace *delay 1* with something better, like *repeat while … end repeat*.
    Hope it can help.

  • Issues with Mail Connection in iOS6

    I have a weird issue that's been plaguing me since I upgraded to iOS 6.  My company hosts its mail using an Apple Mail server running 10.5 (yes, outdated, we know and are migrating to Google).  I used to have no problem connecting via IMAP to my mail account on my iPhone 4.  I upgraded to iOS 6 and was receiving an error that mail could not connect to my work account.  I deleted and re-added the account and it seemed to work until a few days later when the issue returned.  I did a restore on my phone and again all seemed well.  About two days later I upgraded to an iPhone 5.  I migrated my data to it from my latest backup in iTunes, done the day prior (day after my restore).  Everything was peachy until a week later when I began getting connection issues in Mail.app again.  I deleted and re-added my account, this time it didn't work.  I restored my phone, it worked...for another week.  I began getting connection issues again.  I've now found a reproducible pattern and horrible work-around and am wondering if anyone else is encountering this.  Here are my steps:
    Mail.app starts telling me it cannot connect to my account.
    I delete the account and reboot the phone.
    After reboot the account IS BACK.  Seriously, it comes back after the first reboot 90% of the time.
    I delete the account again and reboot my phone.
    I verify the account is really deleted and re-add it, then it will work for about a week.
    Ever so often when I reboot that first time the account appears to be deleted.  If I re-add my account then it will not connect, I have to delete and reboot and if the account appears there again then I can delete it a second time and it will actually work when I re-add it after reboot.  Sound confusing?  It is.  One time when I rebooted my phone ALL of my mail, contacts, calendar accounts deleted.  That was awesome.
    Am I all alone here?  Do I have to totally restore the phone without restoring from backup?  Since I've been using iOS since the first iPhone that latter answer is definitely not an easy one to comply with.  So many things I'd have to re-download and configure.
    Thanks for any help you can provide!

    Okay everyone! I struggled with this problem for a long time, and I was just about to send a complaint to Spotify when it worked for me! See, I did a little different than before; this is the list I was going to file:
    "1. I open Spotify from the application menu.
    2. I choose "Online" mode.
    3. My phone asks me how I want to connect to the Internet.
    4. I pick "Easy WiFi".
    5. I choose my WiFi network from the list.
    6. Application seems to be signing me in.
    7. My phone asks me again how I want to connect to the Internet.
    8. I repeat the procedure. Spotify can't connect with WiFi.
     -I have tried to connect using other WiFi networks, didn't work.
     -Before I updated last time I could connect without problem.
     -I can connect using 3G.
     -I can connect using WiFi in other applications than Spotify, for example Opera Mobile and the native browser.
     -I have reinstalled the application without difference."
    However, I did it a little different, which made it work: instead of choosing "Easy WiFi", I choose my network directly from the list: see attachment. I never thought of that I could do so and I can't remember I did that before the update either. I have now synced my tracks and the app seems to be a little buggy, I still hope for an update, though it now works at least. Sometimes it crashes.
    Please, tell me about if this worked for you and if you have other, better solutions. This isn't good enough, I still seek a better way.
    /L
    Attachments:
    Scr000020.jpg ‏53 KB

  • How I solved issues with Mail.app and Spotlight

    Even though my upgrade from Tiger 10.4.10 to Leopard was painless, the new OS X did have a few issues that had bothered me:
    *Mail.app: * Every now and then, the app would behave like on its first startup, saying it needs to import my mail before I can work with it. What's more, at times I've had the phenomen that messages would appear empty on the preview pane and sometimes even when being opened.
    *Spotlight: * Even though I let the indexing finish on the first day of working under Leopard, every now and then it seemed to start all over. First, I thought it's the NAS being indexed but it just went on to restart indexing each time I thought I had let it finish.
    *Free disk space: * I tried to bring the usage of my homedirectory down so I would have enough free disk space to switch FileVault off and then back on so I could start using TimeMachine. But whatever I did, the free disk space just wouuldn't inrease - it just stayed the same (yes, I did let the system recover space on shutdown).
    The *free disk space* issue made me think there was a problem with my disk but repeated runs with the Disk Utility yielded nothing...not for about a month. Yesterday I got some warnings about 'damaged but not repaired' but according to an Apple doc those could be safely ignored.
    Somebody suggested to apply the combo update for 10.5.1 as that could solve some issues so I went ahead - after all, the update had already been applied earlier so just re-installing wouldn't hurt much, right?
    Wrong.
    The install of the combo update went smoothly, FileVault recovered some space on shutdown but upon restart I couldn't log in anymore: My homedirectory was damaged. The friendly OS X Leopard offered to repair it but soon later reported back that it failed doing so.
    Now, to cut a long story short - deleting the affected user's account and using a different user on the same machine (without FileVault) solved any issues I've had. Mail now works like a charm (despite 40k+ messages with attachments), spotlight doesn't restart all it's indexing and disk space is shown correctly again. Also the odd corrupt file copy I had experienced occasionally (especially with large files) was gone.
    My advise to anyone who didn't de-activate FileVault under Tiger to make the switch to Leopard: Even if you think it worked, switch it off and let Leopard set it up again. You may think things went right...but the above shows that there may be issues with it that you may blame other apps for...but they're probably not guilty at all.
    I don't think the combo update actually caused FileVault to turn corrupt, it was just what broke the camel's neck. While it's no fun to lose your homedirectory, I'm glad the underlying issue finally came to light.

    Thanks to this thread, it's been solved.
    https://bbs.archlinux.org/viewtopic.php?id=97653

  • Issue with Mail's Accounts.plist

    Hi, I've got the following issue: I used to save e-mails to different directories on the hard drive of an extern file server at work, so as to store them there and so that everyone in the office had access to those correspondenses. Anyway, I work with Apple Mail, and used to use "File>Save as..." in the menu. In the save as dialog window I chose "Formated text" and clicked on "Add attachments" (Note: I work on a German system, so I do not exactly know the phrases used on an English Mac). Worked just fine, everytime I did this with an e-mail that had attachments enclosed to it, I ended up with an rtfd-suffixed file and could always see the attachments by ctrl-clicking the rtfd-file etc. Ever since I have upgraded to Lion however, something goes wrong during the process of saving everything to the hard disk. After trying to find the source almost all day now, I am quite sure the culprit is found in this file:
    ~/Library/Mail/V2/MailData/Accounts.plist
    Twice I replaced this file by renaming it and restarting Mail. In both cases (and after I had set up one mail account again, because that's obviously what the file Accounts.plist is for - storing the information about the accounts used with Mail) the save process worked perfectly well, with the attachments in place and everthing. Then, in the first of my two tries, the trouble came back after I added just one more of the accounts I administer on my Mac. I tried again, and this time I succeded and set up all my accounts as I need them and everything was great and working. After a wee break for celebrating my triumph I played a little more with Mail, changing its settings here and there, just to make it looking nice etc. Then the thought came up, that I should - just to be on the safe side - one last time try and see if saving the mails in the way, I want to do it, still works. It didn't. Same trouble back. What now?

    I quit mail and then opened it again, and everything is now correct...incoming server is now filled in correctly, and mail is now working again...

  • 10.4.8 update - issues with mail and airport

    Gah! Just as I was signing up so I could post on this board, my airport connection went bye-bye.
    Initially I tinkered with my router (linksys) settings. Recycled everything a bajillion times. Not sure what caused a partial resolution, but my connection is no longer crawling, but it drops a few times a day. The only solution at this point is to recycle modem and router and restart computer.
    Now I am having issues with my mail application. Whenever I "get mail" I am prompted for my password. I type it in, plus check the box "add to keychain". App searches for mail. So I went into account prefs and noticed there is no password in the dialog box. I type it in. If I save and close the dialog and then reenter, the password is once again missing. Huh??
    So I reinstalled with the combo update (I had previously installed via software update), verifying/repairing disk before, repairing permissions after.
    I have removed the system config folder in order for the system to create a new one.
    When I look in keychain access, the only thing in there is the airport login. I have also performed a keychain first aid. Nothing appears to be wrong.
    Any suggestions??
    I patiently await responses.
    Oh, and I applied the first update in proper fashion as well. No weird third party stuff, etc. And I didn't have any of these issues pre-update...
    mbp   Mac OS X (10.4.8)  

    1. Reset the router by holding down the button in the
    rear for 10 seconds.
    I've done that ad nauseum, plus tweaked router settings, plus recycled modem/router many times. It does not appear to be a problem with the router hardware or software.
    2. Toss your Mail Account, and make a new one.
    If indeed that is the solution, is there an efficient way to save/export messages so I don't lose them?
    mbp Mac OS X (10.4.8)

  • Issues with update rule

    Hi All,
    I am having a problem with update rule
    My object
    A
    B
    C
    D(Seller phase) (complex table)
    Q1(Question)
    A1(Answer) (complex table)
    Q2(Question)
    A2(Answer) (complex table)
    Q3(Question)
    A3(Answer) (complex table)
    E(Collection object)
    D(seller Phase)
    Q(Question)
    A(Answer)
    My transaction during Add
    A
    B
    C
    D(Seller phase)(complex table)
    Q1(Question)
    A1(Answer)(complex table)
    Q2(Question)
    A2(Answer)(complex table)
    Q3(Question)
    A3(Answer)(complex table)
    E(Collection object)
    D(seller Phase)
    Q(Question)
    A(Answer)
    here is my requirement:
    During Activity create/Edit upon choosing seller phase i bring questions based on update rules of q1 q2 and q3 from complex table.
    Possible answers are also fetched from complex table based on selection of phase for each question. I have a update rules for answers to check the object collection(E) and determine if this phase exist or not, If exist previously selected Answers will bulled from collection for the corresponding question if not it has to empty.
    All rule are working with out any problem.
    Issue.
    During create or edit if some one chooses phase P1 and answers for the questions and with out saving if they change phase then answers which are been selected earlier still exist.
    This is happening in IPAD but not in ATE. I have checked the log for rules all the rules are returning values as expected.
    So i tried the below options to test
    1) with special value option in field level
    2) I created a dummy field with update rule with value test. On creation i have modified the dummy field value X then changed the phase the value is not getting updated as per update rule.
    Is it the real behavior of update rule? Is there any work around for this problem
    Regards,
    Gupta

    Gupta,
    So based on your comments above I have the workarounds I gave you.
    1) A button that refreshes "resets" to make the screen repaint (in essence a button that just re-navigates to the same screen will make all the system reset) if you just want one screen.
    2)Or the multiple screen approach. Let phase 1 be in one screen and the other questions and answers on others.
    Not sure if you can just do 1 screen with multi-tiles - If this is better approach where the phase selection is on 1 tile (top tile) and the questions and answers are on a different tile (bottom tile).
    The trick is to make the screen repaint. As long as you present to the customers a flawless flow you will be okay. The one that you don't want to happen is when your rules are buggy then it may be just a good idea to sell a more controlled flow that works than debugging what went down the wrong during UAT (User Acceptance Test).
    Regards,
    Mark

  • Cant send mail via applescript with mail rule

    I created a script that would work as follows:
    I send myself an email. The mail rule opens up an apple script that will take a picture using the isight camera and then email it back to me. It works fine in script editor. When i run it via mail.app it takes the picture but it wont email it back to me.
    Here is my script:
    do shell script "~/Documents/EmailScripts/isightcapture ~/Documents/EmailScripts/snap.jpg"
    tell application "Mail"
    set addrVar to "[email protected]"
    set subjectvar to "Macbook Pic"
    tell application "Finder"
    set the target_file to alias "Macintosh HD:Users:ak406:Documents:EmailScripts:snap.jpg"
    set bodyvar to "Picture from Macbook"
    end tell
    set composeMessage to (make new outgoing message)
    tell composeMessage
    make new recipient at beginning of to recipients with properties {address:addrVar}
    set the subject to subjectvar
    set the content to bodyvar
    tell content
    make new attachment with properties {file name:target_file} at after the last word of the last paragraph
    end tell
    end tell
    send composeMessage
    end tell
    Thanks for the help.

    Hi ak406
    Just tested your script here, less the do shell script part and it worked perfectly from my mail app.
    Budgie

  • Issues with mail when I have to change my yahoo password

    Hello
    I am having problems with mail on my mac.
    1) For some time I have been unable to send photos by email from iphoto.  When I try to do this it says 'the email server didn't recognise your username/password combination'.  I'm not sure how to fix this.
    2) I just had to change my yahoo account password today and now I am frequently getting a box up that says 'The SMTP server "stmp.mail.yahoo.com" rejected the password for user "my email address".  Enter your password again or cancel.
    It doesn't matter if I enter the new password or the old one - I am having this message keep popping up.
    I would appreciate help with this.
    Thanks
    K

    Maybe some help here:
    http://support.apple.com/kb/TS3276
    http://support.apple.com/kb/PH7290
    http://support.apple.com/kb/PH7282

  • Issues with Mail and SMTP and Gmail Accounts

    So this isn't a question....more like a solution that I had to figure out. 
    We have multiple gmail accounts in our family and after upgrading to OSC Yosemite our gmail accounts wen't haywire.  My wife was sending emails that eventually were sent from my gmail account (mass neighborhood emails at that.....and all replies came to me instead of her).  I spent about 2 hours investigating and put together several different threads that finally fixed out problem.  The root of the issue is that you can share the same Incoming Mail Server for all of your gmail accounts and your mail will go to the accounts that it is supposed to go to, but you have to have individual Outgoing Mail Servers for each of your accounts otherwise all outgoing mail will come from one account only.  I don't know why this happened, it is a pain in the butt, but here's how I fixed it with 3 gmail accounts running through 1 mac.    
    1st - you need to remove all of your gmail accounts from mail via Internet Accounts in Settings. Just highlight the account and hit the minus sign at the bottom.  You won't lose anything if you have your gmail settings set to default which backs everything up to Google's servers....it will all load back to you mac and it will all be available online at gmail.com
    2nd - you need to add back all of your accounts one at a time (and follow all of the following steps for each account before adding another).  Select the plus sign and choose Google (for gmail accounts only). 
    3rd - Give your gmail account a recognizable name in the "Name" field (if you have multiple Gmail accounts to add, you will want to distinguish between them).
    4th - type in your username ([email protected]) and password.  Make sure to add the suffix @gmail.com. 
    5th - Check the boxes that you want to add to your mac (mail, contacts, calendars, messages, notes). 
    6th - Click the "Details" button to ensure that you have an adequate description (see # 3 above) if you are going to have multiple gmail accounts to add. 
    7th - Open the Mail app.
    8th - From Mail Preferences/Account Information Tab - make sure that you account is Enabled (check box next to "Enable Account", make sure that you have an adequate description name, email address is correct, Incoming mail server is imap.gmail.com, Username is your normal gmail login username (absent any suffix like .gmail.com), password is your gmail password. 
    9th - Then, from Preferences click on the Advanced tab and....Uncheck "Automatically detect and maintain account settings".
    10th - Then, go back to Account Information Tab and.....from the Outgoing Mail Server (SMTP) dropdown box, select Edit SMTP List....
    11th -  You need to create an individual SMTP Server Account for each gmail account that you plan to add.
    12th - To do this click the plus button.  Server Name should always be smtp.gmail.com.  Type in your own Description (I recommend naming it after the gmail account that you plan to attach it to). 
    13th - TLS Certificate should be "None"
    14th - Click the Advanced Tab - From here, uncheck the box for "Automatically detect and maintain account settings".  Then make sure Port is 587 (default is 25 for some ungodly reason).  Check the box for "Use SSL".
    15th - Set authentication to "Password".  User name MUST contain a suffice (i.e [email protected]).  Password is your normal gmail password. 
    16th - Click OK. 
    17th - Now your back at Preferences/Account Information - Link your account to the SMTP server that you just created by using the dropdown box next to Outgoing Mail Server (SMTP). 
    18th - Save all changes and close out of Mail App. 
    19th - Restart Mail and recheck steps 8-15....for some reason my passwords kept getting erased, but they eventually saved and took. 
    20th - Add another gmail account by following these steps and then recheck all along the way for passwords, suffixes, everything.  You will want to make sure that your accounts are all properly linked to their respective Outgoing Mail Servers (hence the distinct naming descriptions).   
    21st - Once you have added multiple accounts send email between them to make sure that they are being sent from and received to the correct accounts. 

    Wow! Oh my goodness Patrick, thank you so much man. That's a ton of informatiion to take the time to write out step by step and share with strangers.  I really, really am grateful to you.  I've been dealing with this for a month, half the month I kept changing my passwords and kept assuming I was making some mistake.  It used to work fine.  About a week ago I started looking for a solution and couldn't find one that worked. 
    You have changed that sir!  I'm good to go, stress level will lower when I am on my Mac, and I'm so glad to not have all these messages popping back up that I was done with! 
    Muchos Gracias Amigo!  Owe you one...

  • Group Security Issue with Business Rules

    Hopefully you experts out there can follow this. We have about 200 users in our Planning application split into 3 categories (Admins, Interactive Users and Planners) via groups setup in Shared services. We also have an email group list setup in Outlook that has all 200 users in it that we use to send out emails to all users regarding the application. So in Shared Services we have the email group list as an assigned group in the Planners group. So as new people are added to the group list in email they are automatically included as a user in the Planning application. People that are Admins or Interactive Users are manually added to those groups in Shared Services. Everything seemed to be working fine until we tried blocking the Planners groups from running certain business rules in the application. We have clusters setup in Essbase to control access to the business rules. I went into the cluster and set the Planners group to cannot validate or launch on certain rules but found that I now could not run the business rules either even though I am an Admin and the Admin group has vaildate and launch privledges in the cluster. I believe the issue has to do with the fact that I am by default in the Planners group because I am in the email group list which is assigned to the Planners group in Shared Services. Other than setting up and managing 3 seperate email group lists and assigning them individually in Shared Services, does anyone know how I can manage business rules security using the 3 groups i have setup? I hope this makes sense. If not I can provide more detail. Thanks.

    Have you tried using Business Rules projects? Create a project for the admin Shared Services group and assign all rules to that group. Create a Planning project for planners and assign only rules that you want them to run. Any rule that planners should not have access to would be removed from the Planner business rules project, but still in the admin project for you to run.

Maybe you are looking for