Sieve filtering by Message-id field

Hello all.
I want to collect my chat tapes thru IM server in specific folder, such feature is implemented in Gmail interface.
There is one indicator which is 100%-ly correct - it's ending of Message-id field in message header.
For example,
<[email protected]> for chat tape in Massage-id;
<[email protected]> for normal e-mail message.
It's obvious to filter chat tapes by string "JavaMail.root". But as far as I've googled - no one of dialects of Sieve language do not accept filtering by this field.
May be I missed smth. meaningful? Or is there another solution of this problem?
Thanks for any possible help.

>
Please always include the full version of Messaging Server that you are running (./imsimta version). This is especially important for sieve related questions as this functionality is constantly changing/evolving with each Messaging Server release.
I want to collect my chat tapes thru IM server in specific folder, such feature is implemented in Gmail interface.What IM server software are you running? Sun's IM software provides a specific "X-XMPP-Message-ID" header for example:
http://docs.sun.com/app/docs/doc/819-4412/gasum?l=en&a=view
There is one indicator which is 100%-ly correct - it's ending of Message-id field in message header.
For example,
<[email protected]> for chat tape in Massage-id;
<[email protected]> for normal e-mail message.
It's obvious to filter chat tapes by string "JavaMail.root". But as far as I've googled - no one of dialects of Sieve language do not accept filtering by this field.
require ["fileinto"];
if (header :contains ["Message-Id"] ["JavaMail.root@"])
        fileinto "IM-Chat";
}Regards,
Shane.

Similar Messages

  • Sieve filter body message

    Hi Oracle,
    I create an sieve filter as follow:
    if body :content_type "body/html" :contains :text "MAKE MONEY"
    +}+
    discard; stop;
    +}+
    When email in, out server, I received an problem email with content: Reason: Error in sieve filter: Body not listed in require clause prior to use around input line 41
    What's wrong with me?

    Hi,
    I see a number of problems with you attempt :
    -> body sieve filtering is something of MS7.
    What version of Messaging Server are you using ? (imsimta version)
    -> you should start this filter with :
    require ["body"];
    -> the sieve body filtering is according RFC5173, and there is no such thing like ":content_type".
    A better attempt would be :
    if body :text :contains "MAKE MONEY"
    -> the first bracket after the if statement should be '{'
    All together, your filter should look more like this :
    require ["body"];
    if body :text :contains "MAKE MONEY"
    discard; stop;
    There are a few remarks left to be made :
    - to enable sieve filtering in the body part of mails, you will have to enable this.
    Put in the option.dat the following :
    ENABLE_SIEVE_BODY=1
    This is mentioned here .
    Do not forget to [rebuild the config|https://wikis.oracle.com/display/CommSuite/About+MTA+Services+and+Configuration#AboutMTAServicesandConfiguration-CompilingtheMTAConfiguration] .
    - afaik. there are some limitations to this filtering method.
    Eg. The only body transforms supported are :raw and :text; :content is not supported
    I must admit I do not see this currently documented somewhere, but I will try to get his done.
    Cheers, Ben

  • A pop-up message is frozen on my settings page. I was trying to set up an apple id for iTunes when I got a message "required fields have been left blank. The missing information is highlighted in red." the ok button doesn't work. 1st gen iPad.

    A pop-up message is frozen on my settings page. I was trying to set up an apple id for iTunes when I got a message "required fields have been left blank. The missing information is highlighted in red." the ok button doesn't work. The message is now fixed &amp; I cannot get rid of it. Ironically, when I found this forum I was able to set up an apple Id. Please advise how to get rid of the pop-up box. Thanks!

    I'm having this same problem as well and cannot advance--very irritating. All of the information is filled out correctly and I've editted my AppleID information online separately as well to get around this issue, but no luck...

  • Warning message in field exit

    Hi All,
    I'd the requirement of giving a warning message for transaction VA01 if user enters some specific order type.
    So I'd created a field exit for AUART for this screen. But i am able to give error message only and found out that warning & info messages can't be given in a field exit.
    Please help me out. Is there any way I can give a warning message in field exit or suggest some other sol. for it.
    Thanks,
    Manu

    Hi,
    Thanks f or your answers, but the issue is that i need to give this message as User enters the details on VA01 screen & presses enters.SO i can't use user exit like move_field_to_Vbak & others.
    Also, using a FM to give pop up message will ultimately make use of statement CALL SCREEN which is not allowed in field exit, i also tried FMs which displays messages normally means not in pop up screen, but again through it also i can only give error messages.
    Please suggets if there is any other option.
    Thanks,
    Manu Parihar

  • 10.4.9 Upgrade Seems to Have Broken Sieve Filters in Squirrel Mail

    I upgraded to 10.4.9 (thanks to all of Alex's good advice and excellent help), the upgrade went well after forcing an install of MIME::Base64 and Net::Server.
    However, the Sieve Filters in Squirrel no longer work properly. To be exact, it looks like the filters themselves continue to work, but when you use a browser to go to the filter's page, it's blank.
    My system has some tweaks due to a BuildSmart install and a few other modules, so this problem may only relate to my server.
    Anyway, can someone suggest a place to start in tracking this down?
    From the httpd error log:
    [Fri Mar 16 12:12:57 2007] [error] PHP Notice: Object of class ContentType could not be converted to int in /usr/share/squirrelmail/class/mime/Rfc822Header.class.php on line 61
    [Fri Mar 16 12:51:11 2007] [error] PHP Fatal error: Call to undefined function sqmb_listencodings() in /usr/share/squirrelmail/functions/imaputf7local.php on line 27
    [Fri Mar 16 12:51:36 2007] [error] PHP Fatal error: Call to undefined function sqmb_listencodings() in /usr/share/squirrelmail/functions/imaputf7local.php on line 27

    OK. I fixed the trouble.
    Before the 10.4.9 update, I was running SquirrelMail 1.4.9a (I had upgraded using Alex's upgrade instructions at http://osx.topicdesk.com/downloads/). I had used Ian Butler's instructions for installing avelsieve at http://discussions.apple.com/thread.jspa?messageID=660096#660096
    However, after the 10.4.9 upgrade, SquirrelMail was back to running 1.4.5.
    So, I reinstalled version 1.4.9a and copied the old avelsieve directory from a pre-10.4.9 boot clone back-up I had into /usr/share/squirrelmail/plugins.
    After running /etc/squirrelmail/config/conf.pl and re-enabling the avelsieve plugin, all is well.

  • Cannot edit wiki pages-- Exception message: Invalid field name

    We have migrated from one Sharepoint 2010 environment to another Sharepoint 2010 environment and only wanted to preserve a few sites, mostly Enterprise Wiki Sites.
    We have imported 5 total Enterprise Wiki Sites, all of which point to particular Term Sets in Managed Metadata. 
    2 wikis are pointed to term set A, 2 wikis are pointed to term set B and one wiki is pointed to term set C.
    One of the wikis pointed to term set A is working, and one is not
    The malfunctioning wiki has the following symptom:
    Whenever you try to edit a page (new or existing) and save your changes, regardless of whether it is tagged, you cannot save your changes.  When you try, you get the error below.
    Error
    Failed to get value of the "Wiki Categories" column from the "Managed Metadata" field type control. See details in log. Exception message: Invalid field name. {f863c21f-5fdb-4a91-bb0c-5ae889190dd8}
    https://sharepoint.domain.com/wiki/adminwiki /wiki/adminwiki/Pages.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 4188c150-de8f-4940-9dbd-54939f117bfe
    Date and Time: 3/12/2012 4:26:09 PM
    Go back to site
    To me, it looks like there is an invalid URL, since it gives the URL path, and then there is a space, and then it also has a relative URL to /wiki/adminwiki/pages ...is this normal?
    Any ideas on how to fix this is great.  I don't think it has anything to do with the Managed Metadata service or the Term Store since the other wiki site (pointing to the same exact Term Set) is working normally with no problems.

    To solve the problem make sure that the template you are using for the current page (with errors) has the same content type as the page. In example of the Enterprise Wiki page, I forgot to set the content type to an Enterprise Wiki page on a custom page
    template I just added to the Master pages.
    So what I had to do is:
    go to properties of the page with errors described above and set it to be
    Enterprise Wiki page
    go to master pages and set the custom template to be of the same type, Enterprise Wiki page
    That solved the problem

  • Need to add Message variant field in BD87 selection option

    Hi Friends,
    We have a requirement to add "Message variant" field in BD87 selction screen. Our technical team is doing analysis from there end. Mean time we came to know that the field can be added through report variant in customiziting. If anyone know how to add the additonal field thorugh customization Please guide us also please pro.

    Hi Jaheer ,
                     If you talking Abuot heading in out put screen then use TOP-OF-PAGE
    or Else you use "Write:/ " Statement in you program...So that when first line is complete it will go to next line...
    What I understand from your Question....
    Souman

  • New GL,when do GR, message:Balancing field "Profit Center" in line item 001

    Hi
    We use new GL,and now when we do GR,the system report error message "Balancing field "Profit Center" in line item 001 not filled".so there must be anywhere to assign the profit to GR account ,but i can not find.:(
    can anyone tell me how to assign the profit to GR account?
    thanks a lot.

    Dear Mr Rahul
    Thanks for your suggestion
    but there's something odd about this..
    the other company code is working just fine for years..
    and i've already maintain configuration both for doc splitting especially the splitting rule and GSP_KD1
    yet the error still occur
    is there any suggestion Mr Rahul?
    or anyone?
    Best Regards
    Rumi

  • Filtering proxy messages in XI

    Hello ,
    I have a proxy outbound scenario which is triggering data from ECC which is converted to flat file in XI.
    The number of messages triggered in a single run of this interface is around 3000. And many times I am required to find message in XI with particular business content.
    I dont know if there is any way of filtering proxy messages in XI as per content in payload.
    Is there anyway of doing this?
    Any help is greatly appreciated.
    Thanks
    Anand.

    Hi,
    you can filter this  in Proxy logic it self or you can filter this in PI Mapping.
    i suggest you to do in Proxy program.
    Regards,
    Raj

  • Accessing Message Header fields from envelope

    I am doing an interface with the RNIF adapter. They want me to pull the delivery header information, which is in the RNIF envelope, not the payload document and map it into some fields that exist in the inbound schema. Can this be done in message mapping? I would suppose that this question would apply if one wanted message header fields from the SOAP envelope also.
    Kind Regards,
    Chris

    Have you checked this ?
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    Regards,
    Amol

  • Message creation from Service Desk when Message Processor field is updated

    I want our Service Desk system to create a message to the message processor only after the message processor field is updated. I do not want it to send e-mails when there is a status update. Any ideas?

    Hi,
    You can have the email on status update, but make it partner dependant.so that action will be executed whenever you put bp for processor and save without changing status.
    regards,
    mahantesh

  • Filtering JMS Message to invoke Multiple MDB's

    Can I accomplish a job using JMS and MDB where. I want to use a single queue to send/receive 3 different messages and based on the mesage received need to call appropriate MDB out of 3 MDB's
    How can i filter the message to invoke corresponding MDB.
    My present design am using a JMS sender object to send message and a JMS receiever class to receieve it and then call appropriate MDB.
    I am looking for an option to directly invoke MDB after filtering the message . I m using weblogic JMS for this .
    Is there is a better way doing so?
    Thanks!

    Set some message header on the message then use a selector on each MDB to filter the messages so that the right MDB gets the right message. Or use a different queue for each MDB
    James
    http://logicblaze.com/
    Open Source SOA

  • Server side rule filtering and message colorization

    I've been using server side rule filtering (Sieve) to handle all my mail filtering, mainly because I don't have a .Mac account and I have multiple machines that I access my mail from. This setup works really well except I have not been able to figure out how to color a message.
    I've searched and read through emails, but I haven't seen anything else about this problem. I even found a message that had been colorized by Mail's Junk filter, and found that Mail adds an additional mime part onto the message which is a property list that specifies the color of the message.
    What I really want is some way that I can set a header on my message, which Mail will see and apply that color to the message when it caches it on my Mac. A lot of my messages get moved to specific folders, but I still want to colorize them, and as far as I've seen, Mail's rules only work on messages that end up in the INBOX.
    Although I fear that its not possibly, I figured I'd ask for help if anyone has encountered similar problem and solved it.
    -d

    The IMAP-protocol (I suppose that's the one you use, otherwise server side mail filtering won't be visible in Mail.app) does not have any mechanism to transmit colorization information to the client. You have to set up these manually on each client.

  • How to install sieve filters in Messenger Express ?

    Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
    libimta.so 6.2-3.04 (built 01:32:55, Jul 15 2005)
    SunOS amd-7-1 5.10 Generic_Patch_118844-30 i86pc i386 i86pc
    There is a lot of information about filters and sieve in the manuals but I didn't find how to activate filters in Messenger Express.
    With UWC, I have a "Mail Filters" in the option tab but not in Messenger Express (except vacation).
    What should I do ?
    We are working with frontend and MEM
    I also see a topics about MEM & Mail Filter but nothing about how to deploy the mail filter.
    Thanks

    I'm not sure to understand.
    What is the signification of "the backend must be set correctly" ?
    The web container (Web server 6.1) and MailFilter are installed on the frontend and it works
    with local.webmail.sieve.port =81 (both on front- and back-end).
    Should I install the web server and MailFilter on the backend ?

  • Filters putting messages in wrong folder

    I've created a large number of filters for email based on from address, where each rule puts messages from a list of addresses into a specific folder, one folder per rule. for some reason, a few email addresses are always put in the wrong folder. I've verified that that address is not in the rule for that folder, and that the address is in the rule for the desired folder.

    If you want filter logs, you need to set that up after setting up the filter. Select the name of the filter, click the Filter Log button, then check the "Enable the Filter Log" box.

Maybe you are looking for

  • Database best practices (concurreny)?

    Hey all, i'm new to servlets and am worried about concurrency. As far as I can tell as long as variables are local to you doGet/doPost then there should be any issues. That being said, i've noticed alot of sample code creating a database connection i

  • What software usual is used to create installation package for client appli

    What software usual is used to create installation package for client application?

  • PS to xRPM/cProjects integration - phases

    Hi all, We've successfully uploaded a project from PS to xRPM/cProjects but one thing that does not copy over correctly is the phase in cProjects.  After the upload is complete, I look at the cProject structure and the project header is there with al

  • Start up freezing at Spotlight

    I have two accounts on my computer, one goes past the sign-in window, spotlight icon comes up then completely freezes. The other user account opens fine, is this a recorded problem, and is there an easy fix. I have reinstalled Tiger a number of times

  • Can't associate access point

    I'm somewhat new to linux, but I'm trying to avoid cliche noob-isms. I've done some research and read a lot of forums and helped myself to a point, but now I'm stuck getting wifi to work. Here's the deal... I'm running arch on an old laptop with a br