Automator/Applescript action to redirect selected messages individually?

I have been studying Automator to see if I could create a workflow that takes all currently selected messages and sends them one by one to a fixed e-mail address. I want to use this to select junk mail and send them to the junk mail trainer address. Nothing more than for each message a Cmd-E, type-junk-mail-trainer-address, Cmd-D.
I haven't been able to find out (I spent maybe one to two hours on this) to get even one thing working. Now, before I go in deep and try to learn AppleScript, is there may be some beast already out there?
Thanks,
G

After having looked on the internet (Google, mainly and clicking through) I have concluded that as far as people have tried this they have failed because Mail's redirect AppleScript command is broken (at least until 10.4.6). Discussions go on at depth regarding debugging this broken stuff.
I have also not found any usable script.
So, my conclusion is that this very handy tool that would work fine with Mac OS X Server's junkmail/notjunkmail trainer addresses for spam is currently not possible. Maybe something for Apple to provide in mail (train/untrain mail server command)

Similar Messages

  • Automated Reply and Delete of Selected Messages in Mail

    First the situation, I do support work and have been receiving direct e-mails for support requests for the last 14 years. With additional people in the group, I want to force people to send e-mail to our helpdesk e-mail address to get support so other group members can provide assistance. Of course, these are old habits to break. I've been sending a canned message stored in Stickies saying something like "Your e-mail has been deleted, go to the helpdesk for support", but would like to automate that process.
    I found that in Entourage, you can create a rule, not have it active, and then manually run that rule by selecting "Message -> Apply Rule -> <Rule-Name>". Unfortunately, I don't normally have Entourage open.
    How would one use Rules in Mail.app, Automator, and/or AppleScript to accomplish this? I looked around at the default actions in Automator for Mail, but didn't really find what I thought would work. I also searched around for new actions to Mail, but still didn't find a way to reply-to and delete selected messages.
    Any suggestions or pointers on where to look?
    Steve

    When I try to reply in Mail, I hear the sound of a new window opening
    What do you mean? There is no such sound in Mail...
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    The problem you have in Mail is usually caused by some Launch Services cache or preferences corruption. The following article describes how to manually reset Launch Services -- the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, this other article provides links to some utilities that can be used for troubleshooting and cache cleaning:
    Resolving Disk, Permission, and Cache Corruption
    It seems that the most appropriate utility for solving this particular problem is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Click Maintenance. In the Reset section, check LaunchServices database.
    4. You may uncheck any other pre-checked options if you wish.
    5. Click the Execute button.
    6. Restart the computer.

  • Automator/Applescript error for Library selection - workarounds ?

    I am creating some Automator actions to simplfy my workflow, but do it in a way that suits me. eg.
    Step 1. Copy CF images to Time Capsule (easy)
    Step 2. Import CF images into Aperture doing the following:
    a. Import with option to create a new project (non-refd)
    b. Set ratings to 1.
    c. Set some IPTC data.
    d. Select some basic keywording
    Bang ! - import it all
    Seems and is reasonably easy, however two observations in the import to Aperture execution:
    - It runs very slowly (i might be able to live with this)
    - I often get an Applescript error and it seems linked to this old Apple doc asking me to add a 'Set Aperture Library" step in the Applescript ?! Huh ?
    http://docs.info.apple.com/article.html?artnum=307040
    Currently triggering both actions as Applications, but hope to sequentiall link them if i can get the solve for the error.
    Q1. Can i 'fix' this error within Automator actions ?
    Q2. Is it normal for the set rating and IPTC tagging to be glacial slow ?
    Getting more impressed with Automator power, but it sometimes seems to be a little flakey (perhaps or its me!)
    Appreciate any pointers...

    Scripts currently run v. slowly if you have a large library... submit a bug using the feedback form!

  • RE: Deleting Selected Messages

    Phil, you are using the Remove method of MessageList. Since MessageList is only a snapshot of the messages in the
    message DB, the messages won't get deleted from the DB. You can use the Item method of MessageList to get individual
    messages and subsequently call Delete on the Message object. Hope this solves your problem.
    Saurabh
    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]]On Behalf Of
    [email protected]
    Sent: Wednesday, October 06, 2004 3:40 AM
    To: [email protected]
    Subject: Re: Deleting Selected Messages
    What do you mean when you say 'isn't working'? Are you receiving a
    specific error?
    Regards,
    Shane
    In article <v3KWc.4039$[email protected]>,
    [email protected] says...
    > How do delete selected messages from ClientState.SelectedMessage?
    >
    > Below is some sample code which isn't working
    >
    > Set SelMsgs = g_C3POManager.ClientState.SelectedMessages
    > do while SelMsgs.Count<>0
    >
    > ...processing
    >
    > SelMsgs.Remove 1
    > wend
    >
    > Thanks
    >
    > Phil.
    >

    Perhaps I am misunderstanding you, but in email view why would you be selecting more messages without a purpose of doing a specific action with those selected messages? Each message you select "flags" it for whatever you do next (move or delete them). Simply do not select the messages that you don't want deleted.
    -SM

  • Chaining "Get Value of Variable" and "Run AppleScript" actions in Automator

    I'm attempting to access a variable I've set in Automator from within a "Run AppleScript Action". On occasion, generally when I start in a fresh new file, I can chain the "Get Value of Variable" action with the "Run AppleScript" action as you would expect.
    Most times, though, they will not chain together. I haven't specified that the "Run AppleScript" action should ignore input, but it behaves that way. I've tried everything I can think of, but I'm out of ideas.
    Am I going about this all wrong? (Thanks in advance for any suggestions!)
    Message was edited by: rch_nashville (for clarity)

    The *Get Value of Variable* action is another quirky one. I'm not sure what causes it to fail, but sometimes putting another (dummy) action in between gets it to work. You can also access workflow variables directly from the Run AppleScript action, so you might also give that a try:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 680px;
    color: #000000;
    background-color: #B5FF6C;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters} -- get values of workflow variables
    set output to {}
    set theVariables to the name of variables of front workflow
    if the result is not {} then
    set theVariables to (choose from list theVariables with multiple selections allowed and empty selection allowed)
    if result is false then error -128 -- cancel
    repeat with someVariable in theVariables
    set the end of the output to (get value of variable someVariable of front workflow)
    end repeat
    end if
    return output
    end run
    </pre>

  • Set Mail Signature with Run AppleScript Action inside an Automator workflow

    Hello,
    Not sure if I am posting this at the right spot, but I would need some assistance. I am trying to write an Automator Workflow application. The purpose for this application is to:
    1. Drag one or more attachments on the application/droplet icon
    2. Automator workflow creates a new mail message in Mail with the attached items already addressed and ready to go to
    I setup the following Workflow inside Automator:
    1. New Mail Message
    2. Add Attachments to Front Message
    So this is all working just fine. Now I would like to add a step in between of type "Run AppleScript". In this "Run AppleScript" action I have the following code:
    on run {input, parameters}
    tell application "Mail"
    set the message signature of input to signature "My Signature Name"
    end tell
    return input
    end run
    So my workflow looks now like this:
    1. New Mail Message
    2. Run AppleScript
    3. Add Attachments to Front Message
    I am getting the following error:
    Can’t make «class situ» "My Signature Name" of application "Mail" into the expected type.
    So, in essence I am trying to select a signature for that particular new mail message in this workflow. And that does not work. Any help would be appreciated.
    Martin

    first, you don't need the extra action to add attachments. if you drop some items on the saved application they will be passed to the "new Mail message" action as input and will be added as attachments. also, in my testing it seems that the processes of attaching the attachments seem to bump against the process of adding the signature. it get the same result as you originally but if I add a delay to the run applescript action then it works as it should so try
    1. new mail message.
    2. run applescript
    on run {input, parameters}
    delay 1
    tell application "Mail"
    set the message signature of (item 1 of input) to signature "My Signature Name"
    end tell
    return input
    end run

  • Help Needed: Automator Applescript for Folder Action - Encode Video

    Hi !
    I have created an Automator Applescript for a Folder Action to do the following:
    When a new video file is moved to the target folder (i.e. Download of Vuze is done), automatically launch the Applescript Action that does the followin g(Applescripted):
    1) Using "run shell script" and FFMPEG on a UNIX command line, determine Width/Height, Framerate, Bitrate
    2) Calculate encoding parameters (slightly reduced bitrate, reduced Aspect etc.)
    3) Using "run shell script" with ffmpeg on the command line and the calculated parameters to encode the video file
    At the same time, the action is written to a log file so I know if a file is recognized, when encoding started etc.
    It works fine if I save this Action as an .app, make an alias on the Desktop and drop video files on it.
    It also works fine if I attach the script to a folder as a folder action and drag a video file in there.
    However, when I attach the script as a folder action to the Vuze download folder, it encodes only some video files, i.e. if there was a download of 5 files, chances are good that it will not encode 1 or 2 files out of those 5.
    If for example a second download finishes while the encoding for the first download is still going on, sometimes the second file starts encoding after the first encode finishes, sometimes it does not, the file does not make the log file at all, i.e. the folder action missed it or the automator action dropped it because it was still encoding. Still, sometimes it happens, sometimes not.
    As I need a solution that is 100% accurate, I would like to ask if there are any ideas on how to do this better maybe? As I am not an Applescript Guru, I would need some help to know what works and what doesn't and what the syntax is.
    My main idea right now:
    Similar to how ffmpegX works with its "process" application, have a second script (as .app) that receives the files to be encoded from the automator action and puts them in a queue, then proceeds to encode this queue while the main automator action is free to receive the next file.
    Writing this second app is quite straightforward (a modified version of my current script) but I have some questions I need help with:
    1) How do I call another applescript from within an existing applescript that launches the new applescript in a new process?
    2) How do I pass parameters to this new applescript?
    3) In case of this "Queueing" Idea, once I called the external applescript the first time, how do I make sure when I call next time, that I don't open a second instance of this script but rather pass another queue item to the original instance to be processed?
    Or in general: Is there a better way to achieve this automatic encoding solution that I have not thought about?
    Alternatively:
    Does anyone know how to call the "process" application that comes with the ffmpegX package with the correct parameters to use as a queueing / processing tool?
    Thanks!
    Joe
    Message was edited by: Joe15000
    Message was edited by: Joe15000

    To do this, I created an Automator workflow with an Applescript snippet to change the 'media kind'.
    Here is the 'Run Applescript' workflow step code:
    on run {input, parameters}
              tell application "iTunes"
                        set video kind of (item 1 of input) to movie
              end tell
              return input
    end run
    Prior to this running, I have an 'Import Files into iTunes' workflow step.
    You can switch out 'movie' with: 'TV show', 'music video', or anything in ITLibMediaItemMediaKind.
    Good luck,
    Glenn

  • Using ios 7.0.4 can a group email be sent either from icloud or iPhone by a means other than selecting the individual Contact, ie; can the group be selected and then an email composed that will send the message to all group members.

    Using ios 7.0.4 can a group email be sent either from icloud or iPhone by a means other than selecting the individual Contact, ie; can the group be selected and then an email composed that will send the message to all group members.

    Hi Richard, 
    Thanks for the reply - I think I've sorted it though and there isn't actually an issue.
    The whole group wasn't receiving the NDR, only the group manager which I setup a few weeks prior. This is a new feature so it complies with certain RFC's, basically the group manager will recieive the NDR to let them know there is a problem.
    Something to do with mass mailing and unsolicited mail.
    Ta
    Ian

  • Is it possible to applescript the saving of a message to RTF in Mail.app?

    I'm fiddling with a script that takes selected messages in Mail.app and, among other things, saves the messages as RTF files. The "Save As..." option in the File menu has the ability to save as the RTF type, but I can't seem to get this done in applescript with the "save" command. I've tried passing it a window object from the message viewer, but it just barfs. Does anyone know if Mail.app can be scripted to save a message to an RTF file (with a file name/path supplied via the AS program)?
    Thanks in advance for your help.
    P.S. I've tried circumventing this problem by trying to assemble a text document from the email message parts (subject, sender, contents, etc.) using TextEdit, with no success with formatting, but I'd rather get Mail to do it because it already formats the saved email nicely if you do it interactively in the "Save As..." dialog.

    Just to make my question a little less abstract, here is the script as it stands so far:
    (* START SCRIPT *)
    tell application "Mail"
    activate
    set selectedMessages to the selected messages of front message viewer
    set saveFolder to choose folder with prompt "Please pick an empty folder for me to store the email information:"
    tell application "Finder"
    set parentFolder to folder saveFolder
    set parentFolderPath to parentFolder as Unicode text
    end tell
    repeat with aMessage in selectedMessages
    properties of aMessage
    set messageSender to sender of aMessage
    set messageSubject to subject of aMessage
    set messageSent to date sent of aMessage as string
    set messageContent to content of aMessage
    if (messageSender is "[email protected]") and (messageSubject begins with "manuscript #") then
    -- Get thingie number from message subject after '#'
    set oldDelimiter to my SwitchDelimiterTo({"#"})
    set manuscriptNumber to last text item of messageSubject
    my SwitchDelimiterTo(oldDelimiter)
    log "NOTE: Email for manuscript #" & manuscriptNumber
    -- Make the folder in which to store the stuff for this manuscript;
    -- variable "manuscriptFolder" will point to place to store files
    tell application "Finder"
    try --ignore problems with folder creation, like existing folders/files
    set manuscriptFolder to make new folder in parentFolder with properties {name:manuscriptNumber}
    on error errorName number errorNumber
    if errorNumber is -48 then -- Folder already exists
    log "NOTE: folder " & parentFolderPath & manuscriptNumber & " already exists."
    set manuscriptFolder to folder manuscriptNumber in parentFolder
    end if
    end try
    end tell
    set manuscriptFolderPath to manuscriptFolder as Unicode text
    set messageFileName to manuscriptFolderPath & "email.rtf"
    log "NOTE: Saving manuscript to file: " & messageFileName
    -- Use TextEdit to construct an RTF file of the message to print out later
    tell application "TextEdit"
    activate
    close every document saving no
    -- Assemble the document
    set docText to "Date:" & tab & messageSent & return
    set docText to docText & "Subject:" & tab & messageSubject & return & return
    set docText to docText & messageContent & return
    log "DOCTEXT: " & docText
    set aDocument to make new document at beginning of documents
    set text of the front document to docText
    -- Save the document as an RTF in the messageFileName
    tell front document
    save in messageFileName as "RTF "
    end tell
    end tell
    else
    log "Message from \"" & messageSender & "\" with subject \"" & messageSubject & "\" will not be processed."
    end if
    end repeat
    end tell
    -- Change the text item delimiter and return the existing ones
    on SwitchDelimiterTo(delimiterList)
    local x
    set x to (get AppleScript's text item delimiters)
    set AppleScript's text item delimiters to delimiterList
    return x
    end SwitchDelimiterTo
    (* END SCRIPT *)
    It successfully walks throught the selected messages, picks out the "right" ones (from a particular address and with a particular subject), makes a folder to store some information about the email, has TextEdit assemble a document from the email's text and has TextEdit save the text file.
    It's my kludgey work-around for not being able to either 1) print to a PDF file in Mail.app or 2) have Mail.app save the message itself as an RTF. It would be the bee's knees to get either 1 or 2 working, but I'd settle for figuring out how to format the text in TextEdit more nicely. I'd like to get the strings "Subject:" and "Date:" bold-faced for starters, but I have no way of knowing how to tell TextEdit to do it via AS.
    My first try was to try to "make new text" with certain font and size properties at the end of the "texts", but that was a flop. I tried the same thing with "attribute runs" and "paragraphs" with no joy. It seems that the only way to get text into a document is to assign it to the "document"'s "text" property. But then I'm left to wonder how to select bits of it to change the bits appearances (fonts and sizes).
    I've been fiddling with AS and automating Mail.app and TextEdit.app for days now, and it's just as perplexing as when I started. Any insite that you folks monitoring this discussion group would be greatly appreciated. The flotsam of script examples I've dredged up with Google haven't been enlightening. I've got a copy of O'Reilly's _AppleScript - The Definitive Guide_, and it's been a tiny bit of help, but I'm drifting.
    Thanks in advance for reading.

  • Automator - applescript

    Step1: I wrote an applescript to process an excel file (deleting a few columns and rows).. When I compiled it in Applescript editor, it worked fine.. Gave no errors or warnings..
    Step2: I launched Automator. Selected 'Application'. And then selected 'Run Applescript' action. I pasted the same script in the 'Run Applescript' action of automator and when I compiled it, it is giving an error "The result of the numeric operation was too large". I don't know why this happens.. It was working fine before I upgraded to 10.6.2..
    Here's the script:
    on run {input, parameters}
    repeat with eachfile in input
    set theWorkbookFile to eachfile
    tell application "Microsoft Excel"
    open theWorkbookFile
    set theWorkbook to active workbook
    tell worksheet "Sheet1" of active workbook
    delete row 1
    delete column 1
    repeat with x from 39 to 10 by -1
    delete column x
    end repeat
    end tell
    save active workbook
    close active workbook saving yes
    end tell
    end repeat
    return input
    end run
    Since this works fine in applescript, i dont think this would be a problem.. Any help would be highly appreciated..

    yes but that's what I'm saying. just do it from applescript.
    on open these_items
    repeat with eachfile in these_items
    set theWorkbookFile to eachfile
    tell application "Microsoft Excel"
    open theWorkbookFile
    set theWorkbook to active workbook
    tell worksheet "Sheet1" of active workbook
    delete row 1
    delete column 1
    repeat with x from 39 to 10 by -1
    delete column x
    end repeat
    end tell
    save active workbook
    close active workbook saving yes
    end tell
    end repeat
    end open
    save it as an application from applescript editor and drop as many items as you want at once onto it. it will process them all.

  • Automator/applescript to forward junk mail as attachment...how?

    I finally came up with a real use for Automator and Applescript -- I was delighted.
    I want to modify my junk mail rule to run an Applescript that forwards a mail message as an attachment (not just a regular forward) to Spamcop.
    It has to be forwarded as an attachment. First shot, I simply went to modify my junk mail rule but, alas, found that "forward as attachment" is not an option for Mail's rules. Fortunately, there is a "run Applescript" option so...
    I fired up Automator, hoping to see how to tell Mail to forward a message as an attachment. Again, alas, no "as attachment" option there. So then I started exploring how to invoke the Mail menu item Message > Forward as Attachment but, haven't been able to figure it out.
    Any help would be appreciated. Especially since this will be the first time I've actually found a use for Automator, which is great... I just know it's not merely eye candy...

    Here is some starter code, to be saved into the current users' '~/Library/Scripts/Applications/Mail/' folder - as a script file ...
    using terms from application "Mail"
    on perform mail action with messages tMessages
    repeat with i in tMessages -- Cycle throught the list of incoming 'Rule' filtered e-Mail messages.
    -- File path file Name of temporary attachement file.
    set file_Name to (((path to home folder from user domain) as string) & (do shell script "date +%Y%m%d%H%M%StempFile.txt"))
    try -- Capture any unexpected AppleScript error.
    set FREF to open for access file file_Name with write permission -- Create temporary attachement file.
    write ((source of i) as string) to FREF starting at 0 -- Write to temporary attachement file.
    close access FREF -- Close temporary attachement file.
    -- Make new outgoing e-Mail message, and attach respective attachment file.
    set tMessage to make new outgoing message with properties {visible:true, subject:"My Subject", content:("My Body" & return & return)}
    tell content of tMessage
    make new attachment with properties {file name:(file_Name as alias)} at after last paragraph
    end tell
    end try
    try -- Capture any unexpected AppleScript error.
    tell application "Finder" to delete file file_Name -- Trash temporary attachement file.
    end try
    end repeat
    end perform mail action with messages
    try -- Capture any unexpected AppleScript error.
    tell application "Finder" to empty trash -- Delete all temporary attachement files (plus all other items) in the trash can.
    end try
    end using terms from

  • Add a script to Automator's actions, or add an action to Automator's librar

    Total Applescript newbie here. My end goal is to write a script or automator that automatically trims 10 seconds off selected podcasts.
    I know that Doug's Applescript website has something along those lines, but it's not truly automatic.
    What I'd really like to do is attach a folder action so that as soon as they download the end credits are trimmed.
    With automator, it's easy enough to get the finder items in the folder, and pass them to the Set iTunes Info library action, but the Start and End times of iTunes tracks aren't in there.
    I tried to edit the actual script that that calls, but it's not-editable.
    I tried to edit Doug's script, but I can't figure out how to tell it to pick a file from a folder as the selected track to edit.
    I was thinking of an automator action that basically goes along these lines:
    Get Specified Finder Items (preselecting the download folder the podcasts are dumped to)
    Get Folder Contents
    Run this script. (but this is where I can't figure out how to run a script and use the results from the last two automator actions)
    Any ideas appreciated, or suggestion on how to just go pure Applescript on the task. I know the Applescript would read something along the lines of:
    Tell application Finder
    get the folder contents?
    maybe set the file name or track name as a variable
    Tell application iTunes
    Set start of selected file/track to 15

    Ah, you've made me a happy man this evening. I missed the Run AppleScript action in Automator, but knew there had to be a way to do something like that.
    Your particular script doesn't function, it gives an unknown error on completion, but I was able to modify a Doug's AppleScript that lets you trim start or finish on items you manually select and use it as you suggested.
    So here's what I ended up doing.
    Automator Action which is saved as a plug-in to the Folder Actions for the folder for the Podcasts I want to trim. The Automator action reads as follows:
    *Find Sources in iTunes*
    -Find Songs Whose Album Contains MyPodcast
    *Get Selected iTunes items*
    -it's pulling all tracks in that folder, which is fine
    *Filter Sources in iTunes items*
    (I had to do this because before I added this step my selected podcasts showed up in results, but so did any item I had highlighted (such as the current playing track) in the results, and was passed to the final action)
    *Run AppleScript*
    <pre style="font-family:Monaco, monospace;border:2px inset #99f;overflow:auto;width:500px;padding:.5em;color:#000;background:#ccf;">
    on run {input, parameters}
    tell application "iTunes"
    set trackers to input
    repeat with theTrack in trackers
    set start of theTrack to 11
    set finish of theTrack to ((get finish of theTrack) - 18)
    end repeat
    end tell
    return input
    end run</pre>
    There's probably a more elegant way to do this, and faster, as this one takes several seconds to go through the entire iTunes library each time it's ran. That's why I was trying to pass the folder contents directly to the set info action. It's kind of annoying that the built-in Automator action for this is limited on the info items it sets. It would be really cool if Apple didn't make those scripts non-editable. I could have learned exactly what I was after just by picking apart their script.
    Anyways, my motivation for this was partly to learn, but inspired from a particular podcast from a local public radio station that I listen to where they bracket the beginning and end of the podcast with the typical "please donate" stuff. Normally I don't mind a short pre-roll or pledge request, but this particular one the woman has such an annoying voice, it's like fingernails on chalkboard to me, otherwise I wouldn't have bothered spending hours trying to learn how to do this to save 30 seconds of listening on a weekly podcast. LOL.
    Thanks again for your pointer, I'll probably play with this some more if anyone else wants to chime in on better methods, but I'll mark it as answered as it did point me to a working solution.

  • How can I redirect all messages to 2 another mail servers?

    Hi all
    ./imsimta version
    Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)
    libimta.so 7.3-11.01 64bit (built 19:54:45, Sep 1 2009)
    I wanted to redirect all messages(in and out) to another mail server, I configured as follows,
    - imta.cnf
    ! tcp_local
    tcp_local smtp mx single_sys ....... sourcefilter file:///backother.filter
    ! tcp_intranet
    tcp_intranet smtp mx single_sys ....... sourcefilter file:///backother.filter
    - backother.filter
    require ["fileinto"];
    if address :all :matches ["From"]["*"]{
    redirect "[email protected]";
    keep;
    stop;
    One e-mail account receives all messgaes and those messages will be kept in sender's or receiver's mail storage.
    I want , however, redirect all messages 2 or 3 mail servers.
    I tried several things to do this include edit backother.filter(this is written in Sieve ), but I failed.
    Is there any way to redirect messages to another mail servers?
    Any way would be good , using sieve script, make antoher channel or channel keyword
    Thanks
    Edited by: leeky41 on Mar 9, 2010 10:58 PM
    Edited by: leeky41 on Mar 9, 2010 11:06 PM
    Edited by: leeky41 on Mar 9, 2010 11:07 PM

    leeky41 wrote:
    Redirecting the message means it will not be delivered to the original recipient.I know so I wrote 'keep' keyword to deliver messages to the original recipient.
    capture "[email protected]";
    I tested it but the capture's behavior was very weird, subject had changed to something like,'deliverd status notice', sender had changed to postmaster and additional notice messgae inserted into mail body.The default sieve capture action encapsulates the email to keep a copy of both the envelope information and the original message. MS7u3 also supports the Exchange journal encapsulation format through the addition of the ":journal" parameter.
    I edited 'capture' like this..
    capture :message "[email protected]";
    The ":message" flag removes the encapsulation -- therefore you will have no idea of who the original sender/recipients were as the envelope information has been discarded.
    It worked fine. It was same as the result of 'redirect'.
    but the following line, sent10 messages to each recipients.(receive_01,receive_02)
    capture :message "[email protected],[email protected]";
    maybe there was some 'loop' actions happened.The email produced by the capture sieve action is being "captured" which is resulting in a loop. You can stop this by adding an envelope test e.g.
    require ["envelope"];
    if not envelope :is ["to"] ["[email protected]","[email protected]"]
            capture :message "[email protected]";
            capture :message "[email protected]";
    }Regards,
    Shane.

  • Can I send a text to a "group" contact without selecting each individual member?

    Can I send a text to a "group" contact without selecting each individual member?  I have a group formed in my contacts, but I still have to select each member in that group to send a text or email from my phone.

    There are apps that allow you to address sms messages to groups (such as Speed Names: https://itunes.apple.com/us/app/speed-names-contacts-groups/id285124918?mt=8), but not iMessages.  Perhaps this will change with a future iOS update.
    The only point of having them at the moment is to allow you to limit the view to only contacts belonging to a group, so that you can more easily add the individual members of the group.  But at the present time, you still have to add them individually.

  • ITunes 10.5 breaks automator folder action

    Just like itunes10 did
    osx 10.6.8
    itunes 10.5
    automator folder action with itunes tasks no longer works after 10.5 update.
    Is it the version check again?

    Unfortunately, it seems that this is a cross-platform problem between iTunes 10.5 and all NAS disks. Shared libraries on network drives worked fine under 10.4.1, but now there is just an endless loading cycle with no error message or time-out. There is a bit more about it in this thread.
    Martin

Maybe you are looking for

  • Macbook video out problem  mini dvi port????  wierd video tranission

    I have been using the Apple cable that converts the mini-dvi to rca jack for connection to external video screen for some time now. All of a sudden, i try to hook it up to the tv to watch a movie and it wont work. Here is the funny part... it still t

  • Links to document in OBIEE 11G

    Hi, I would like to know, how certain links to stored document can be configured in OBIEE 11G eg: We have 'Help' icon, on click it opens up the 'Help Doc' which is stored in default (../analytics/olh/l_en) location. I want to know where are the setti

  • Blackberry bold 9650 os 6.0 and windows 7

    For the last 48 hours I have not been able to sync my phone with my desktop. My desktop software keeps freezing whether I try to open the software from the sdesk top or whether I plug my phone in with a ubs cord and choose the snyc media option on th

  • There is a problem with Firefox (38.0) about browser

    When I load Firefox (38.0) it only displays 2 boxes no text 1 black and 1 white. But it acts normal when I use it in safe mode. But it gets really annoying when you have to shift + double click at the same time I use Windows 7 AdBlocker(Addon)

  • Burned a DVD and video came out garbled

    I exported my video from Avid Express Pro as a quicktime file. Tthe files was about 2.2GB...is that too large for iDVD to handle? The quicktime file plays and looks great when i play it in QT. however, when i burn it to iDVD the resulting DVD looks r