Content filter not fixed, still stripping message body

The content filter that arbitrarily strips out (part of) the body of my
email messages is not fixed: http://forums.adobe.com/message/1867251#1867251
Jochem
Jochem van Dieten
http://jochem.vandieten.net/

I think I found out why the message body of my messages is stripped out. It appears Jive is filtering the content of email messages with the following regular expression:
* Simple bean for storing the contents of an incoming email.
public class Message {
    // ripped from EmailParserImpl
    private static final Pattern originalMessagePattern = Pattern.compile("(-{5,}|_{5,}|^.*wrote:$)(\\s*.*)*", Pattern.MULTILINE);
My first impression is that this implementation is somewhet simplistic. For instance, it doesn't take into account whether you just quoted a single line or all of the message. For a great example of that, look at the House of Fusion email archives, where you can see selectiive quotes are allowed, but complete quotes of full messages are filtered out. It also doesn't do pattern matching on the standardized string that starts a signature.
More insight into the behaviour of the email integration can be obtained from the sourcecode of the Jive advancedemail plugin. Although I am not sure it is the same version as Adobe is running, there are some comments and TODO's in the code about behaviour I am not seeing in the email from these forums, but it still helps to understand what is happening.

Similar Messages

  • 3.1EA2 bug still not fixed - Members of package body not listed in the tree

    Hi, I was working today with SQL Developer again and found that this bug is still not fixed even when it was reported more than 1 year ago!!!
    I did a quick search and found it here
    Package Body Tree not always showing
    The problem is when you expand the package specification or package body tree, not all members of the specification/body are listed. This is mostly observable in the package body, but it regards to the specification as well.
    Consider this case:
    CREATE TABLE EMP (
        ID               NUMBER(6,0) DEFAULT 0,
        NAME             VARCHAR2(20 BYTE) DEFAULT NULL,
        DEPT             VARCHAR2(20 BYTE) DEFAULT NULL,
        FUNCTION         VARCHAR2(20 BYTE),
        PROCEDURE        VARCHAR2(20 BYTE));
    CREATE TABLE LOOP (
      AREA    VARCHAR2(5),
      VALUE   VARCHAR2(2));
    CREATE OR REPLACE PACKAGE Test_Package1 AS
    gvc_const CONSTANT VARCHAR2(10) := 'xxx';
    PROCEDURE Test(p_RC OUT NUMBER,
                   p_ID IN NUMBER);
    END Test_Package1;
    CREATE OR REPLACE PACKAGE BODY Test_Package1 AS
    PROCEDURE Test(p_RC OUT NUMBER,
                   p_ID IN NUMBER)
    IS
    BEGIN
      --INSERT INTO EMP (ID, NAME, DEPT, PROCEDURE) VALUES (1, 'Tina', 'xxx', 'xxx');
      --INSERT INTO EMP (ID, NAME, DEPT, FUNCTION) VALUES (2, 'Jeff', 'xxx', 'xxx');
      --INSERT INTO LOOP(AREA, VALUE) VALUES('a','b');
      NULL;
    END;
    END Test_Package1;Compile the package specification and the body. Expand the spec + body in the tree. Uncomment any of the commented lines in the package body and compile the body again. Now expand the package body again and look what is displayed.
    Why? It is because SQL Developer handles words "Function", "Procedure" and "Loop" as keywords and according to them does the parsing.
    Another case
    CREATE OR REPLACE PACKAGE Test_Package1 AS
    gvc_const CONSTANT VARCHAR2(10) := 'xxx';
    TYPE Loop_rec IS RECORD(
      item1   LOOP.AREA%TYPE);
    PROCEDURE Test(p_RC OUT NUMBER,
                   p_ID IN NUMBER);
    END Test_Package1;Compile just this specification and try to expand it in the tree. Again, during parsing the package, SQL Developer takes the word "LOOP" into consideration and fails to parse the specification.
    There is exactly the same problem when you declare functions from external dll libraries in package body. Since there is no "END;" in this case, SQL Developer's parser fails...
    To me it seems you simply blindly took some keywords like "FUNCTION" and expect there will be some "END;" keyword corresponding with it.
    Can anyone have a look at this and finally fix it?

    Hi,
    Thanks for trying out SQL Developer 3.1 EA2 and providing a clear, reproducible test case for this issue. I logged an internal bug for it:
    Bug 13438696 - 3.1EA2: FORUM: CERTAIN KEYWORDS IN PKG BODY BLOCK MEMBERS FROM CONN VIEW TREE
    It seems the bug noted in the other forum thread you reference has been fixed, but really had nothing to do with problems discussed either here or there. That fix involved adding an Edit Body... item to the Package context menu in the Schema Browser, not displaying Package members correctly in the Connection view tree.
    Regards,
    Gary
    SQL Developer Team

  • Attachment Content Filter not working

    I am trying to use the Attachement Content Filter to prevent the distribution of a sensitive document outside of our orginization. I have a filter that matches on the filename that works fine. However when I try to filter based on attachment contents it seems to not be working. I have selected a text string somewhat unique to the document that I would like to match on. The attached document is a PDF file. Is the attachment content scanner looking for a regexp match in the MIME encoded attachment maybe?
    Any help would be appreciated!

    Greetings,
    For this issue it would be advisable to open a support ticket. There are a couple of different issues that can cause this.  We would need to review the mail logs for the message in question to understand the issue.
    Christopher C Smith
    CSE
    Cisco IronPort Customer Support 

  • Content filter not updating the Wod Doc

    Hi all
    I have created a content filter which updates the "author" value in a Word Doc.
    I have used Apache POI.
    public InputStream getInputStream() throws ContentException {
         try
              POIDocument pdoc;
              IResource resource=this.getResource();
              // HWPFDocument extends POIDocument
               HWPFDocument doc=new HWPFDocument(resource.getContent().getInputStream());
               int rno=Integer.parseInt(resource.getRevisionID());
               pdoc=doc;
              String created= resource.getCreatedBy();
              pdoc=doc;
              pdoc.getSummaryInformation().setAuthor(created);
              doc=(HWPFDocument)pdoc;
              return new ByteArrayInputStream(doc.getDataStream());
         catch (IOException ie)
         catch(WcmException we)
        return null;
    After deploying the PAR file, I restarted the server. Still the author name is not updated inside the document.
    Is there anything wrong with my code?
    Regards
    Parvathy

    Hi Julian
    The FileInputSteam Constructors and their respective parameters are below.
              FileInputStream fin=new FileInputStream(File);
              FileInputStream fin=new FileInputStream(FileDescriptor);
              FileInputStream fin=new FileInputStream(String);
    Which one will I use for my purpose?
    doc.getDataStream()
    returns a byte Array.
    How will I create a FileInputStream Object from a byte Array?
    " write it to a temporary" This I didn't understand.
    Regards
    Parvathy

  • Content filter not working

    I recently got my two teenagers a Droid Maxx and they love it. My question is if anyone knows why the content filter option doesn't work for it. You would think the content filter would work on all phones. Seems to me that prior to releasing any new phone they should have made sure all features of the Verizon account would work. Does anyone know if they are going to resolve this issue and if so when??  I do think it is irresponsible for the feature to not work considering the number of kids using cell phones now. How can a parent who wants to control content do so if not available. I think this should be a priority with Verizon. Do they value kids safety or not?

        Hey there, skyhawk1! Thanks for your purchase of two new Droid Maxx smartphones. I hope your teenagers are loving them! I'm very curious about the crux of your post here. You've expressed interest in Content Filtering, and stated that the service is incompatible with the Droid Maxx. Our records indicate that the model will support filtering. Can you tell me why you feel that it doesn't? Did you attempt to add or request it, only to be denied? Please share the details. Thanks!
    For more info on Content Filtering, please review this link: http://vz.to/17xz67N
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Web content filter not working on Mavericks clients PC

    Hi,
    I recently installed osx mavericks server on a Mac mini and successfully enrolled and tested profile pushes to iphone 4's and iPad 2's. Last night I tried an rolling a MacBook Pro running mavericks and it seems to work okay but the testing wasn't all that good. I can push changes to the dock for example and they work okay but when trying to push changes like not allowing game centre or enabling parental controls, the settings are saying they were successfully pushed but aren't working. I could still access the game centre and adult web content that I was trying to restrict.
    Any ideas? Has anyone's else had this problem and fixed it?

    This seems to also now be resolved, well at least I think so. I'm able to push update from the Mavericks server to an MBP including web restrictions and usable items in the System Preferences. I think it was initially it took a few minutes for the pushed settings to be effective. Maybe I was too impatient
    The thing with restricting Game Center was interesting. I thought it would have removed the icon/app link completely but it doesn't. All it seems to do is prevent users from logging in. The Sign In button is disabled.

  • How do I send images in an email, but not embedded in the message body?

    I want to submit some jpg images of artwork to a competition and the rules state that attached images must *not* be embedded in the email body. They want the list where you can see the file name and you click on it to open it, as I've seen in Windows MS Outlook. I've searched the net and I see that this is a problem for other people, but I've not seen a solution.
    I'm using the current version of iMail, and I've tried setting the message to Plain Text, the "Windows Friendly" setting, as well as the "Always attach at end of message" setting. All leave the image embedded. I'm using the current version of iMail. Anyone know how to do this? I have a deadline approacing so time is of the essence. Thanks!!

    I agree that it's a shame to have to buy something that I feel Mail should already do. That said, it seems that people's experience with sending attachments using Mail seems varies - I believe it's often to do with how the recipients email client is configured.
    All I know is that since installing Attachment Tamer (used to be called Mail Attachments Iconizer) a few years ago it's something I no longer have to bother about.
    I think you can run AT in demo mode to test flight it, before committing to buy.

  • Jpegs do not load in message body

    If pictures/attachments (jpegs) are included in the message they do not appear in the message body but are still viewable as attachments in the foot of the message

    To see if theu really have been detached:
    select the email so it displays in the Message Pane
    click on 'Other Actions'
    select 'view source'
    If they really have been detached look for lines similar to this:
    Content-Type: image/jpeg; name="20140913_143605-0.jpg"
    Content-Disposition: attachment; filename="20140913_143605-0.jpg"
    X-Mozilla-External-Attachment-URL: file:///C:/Users/XXXXXXPhotos/Family/Family/bump%202014.jpg
    X-Mozilla-Altered: AttachmentDetached; date="Thu Jan 22 15:55:45 2015"
    You deleted an attachment from this message. The original MIME headers for the attachment were:
    Content-Type: image/jpeg; name="20140913_143605-0.jpg"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename="20140913_143605-0.jpg"
    Do you have something like that in the email source?

  • Explicit Content Filter in iTunes Radio

    Has anyone else had issues with the explicit content filter not filtering explicit content?
    I was driving the other day with my 2 year old son, and my radio station which is set to filter explicit content was playing the un-edited Mumford and Sons - Little Lion Man (a song which I do infact love, but not appropriate for my 2 year old).
    It seems that the explicit filter is based on whether it is considered to be explicit in the itunes store, and I believe that is set by the content providers when providing the content to Apple.
    Anyone have any other suggestions on how to prevent explicit content from playing or similar experiences?

    I believe only purchased songs show ratings &
    downloaded songs are not for commercial use (ie. DJs).
    i dont charge anything and its only like partys for my friends os technically its not commericial

  • Content filter on message body

    I'm trying to setup a content filter for the message body containing the smart identifier "credit card".  It works fine if I set the fitler for message body and attachments.  However if I set the filter for message body only, the messages containing credit card numbers are not filtered.
    Any suggestions?  Is this a bug?  This is Model B10, Operating System 6.6.1-016.
    Thanks.

    I'm trying to setup two filters on inbound messages.  One would check for a credit card in the body and drop the message (and notify the recipient).  The other would check for a credit card in attatchments and strip those attachments but let the rest of the message through with a disclaimer added.

  • Content Filter - attachment stripping logic not working like I think it should

    Hello,
    I am working on a content filter for stripping file attachments - my logic is this:
    Condition: If File Type does NOT EQUAL file type Documents: attachment-filetype != "Document"
    Action: Strip File Attachment by File Info: drop-attachments-by-size(0 bytes) 
    My thought is that files that are not word docs, "test.ZIP" for example, would match the condition of not being a document. The match specifies that the action should then be performed on it - strip the attachment if it is over 0 bytes, which would be a match to any file. 
    Right now, it strip anythings, documents included...its like the condition does not exist. I considered using Message Filters at first, but I need to provide a replacement message with each attachment I strip. Thanks in advance for your help! 

    Hey Daniel
    Your understanding is correct to a point.
    The condition you set is correct, it will look for emails where attachments are NOT document files according to their mime structure.
    Once this condition is met (IE: test.zip)
    it will fall to the action
    Your action however is set to drop all attachments greater than 0 bytes.
    So for a setup like this I would suggest.
    First content filter:
    Attachment filetype is equal to "document"
    Action for this content filter :  skip remaining content filters
    Second content filter:
    (Either no condition or Attachment filetype is NOT "document")
    Action -> Strip if size greater than 0
    The reason why all attachment filetypes are being stripped and even document is the condition simply states what needs to be seen to trigger this action
    But this action is not set to exempt document files but to strip them all

  • Download error, message body could not be downloaded

    Someone please help me with this.  I've had the Q10 since it came out and ever since I've had it there are emails that will just not open.  These emails are simple text emails.  I thought this was normal and didn't think anything of it until I spoke to a coworker who also has a Q10 and he is not having the same issue.  So I searched high and low to try and find a solution and nothing. 
    To be clear this only happens to a few emails. 
    I tried pulling the battery.
    I tried software updates. I am running BB 10 OS Software Release 10.1.0.238.  Nothing better then this available.
    I tried deleting anything older emails since I did see somewhere in my search for an answer that there maybe an old email with odd characters causing the issue. 
    Still nothing.
    When I open the email I get the header info i.e.. Who it was sent to, from and subject.  I get the flower with the word image001.jpg and the size of the file (again this is a txt file no images).  And in the middle of the screen I get the circle going around for about a minute as if it's loading and then the error pops up;
    Download Error
    Message body could not be downloaded
    Cancel OK
    hitting Cancel or OK just brings me back to my list of emails
    Any suggestions of fixes would be appreciated. 

    i have the same " download error " but with BBM invites

  • Exchange server 2013 content filter rejecting all incoming messages as spam.

    Hello All,
    Today out of the blue our Exchange server 2013 install started rejecting any inbound message as spam. It first started with only one user not being able to receive any mail because of this anomaly and
    then after 12 or so hours all users were getting their mail rejected.
    I currently had the threshold set to 5 on external messages only. Internal is disabled.
    I have tried setting the threshold to 8 and 9, and rebooted the server after restarting
    all services just to make sure everything reset. Even dished out a IISRESET just in case. Whatever I tried still does not work.
    The install is a stand alone server facing the outside world (no edge server) living
    in a 2 domain controller environment with a share point farm thrown in (ESXI5.5 environment)
    Everything works just fine and dandy if I disable the content filter all together. Not seeing anything in the application logs out of the ordinary. Everything was working great and the same settings I used on this server worked well for a totally different
    server that runs just fine.
    Any ideas?
    fr0stsp1re

    RunspaceId                            : 87157b62-a061-436b-8fb9-dab446be3473
    Name                                  : ContentFilterConfig
    RejectionResponse                     : Message rejected as spam by Content Filtering.
    OutlookEmailPostmarkValidationEnabled : True
    BypassedRecipients                    : {}
    QuarantineMailbox                     :
    SCLRejectThreshold                    : 6
    SCLRejectEnabled                      : False
    SCLDeleteThreshold                    : 9
    SCLDeleteEnabled                      : False
    SCLQuarantineThreshold                : 9
    SCLQuarantineEnabled                  : False
    BypassedSenders                       : {}
    BypassedSenderDomains                 : {}
    Enabled                               : False
    ExternalMailEnabled                   : True
    InternalMailEnabled                   : False
    AdminDisplayName                      :
    ExchangeVersion                       : 0.1 (8.0.535.0)
    DistinguishedName                     : CN=ContentFilterConfig,CN=Message Hygiene,CN=Transport Settings,CN=Smith And
                                            Smith,CN=Microsoft
                                            Exchange,CN=Services,CN=Configuration,DC=XXXXXXXXXXX,DC=com
    Identity                              : ContentFilterConfig
    Guid                                  : 8f86e0b6-da37-42d3-b7cd-b9635b7db271
    ObjectCategory                        : XXXXXXXXXXXXXXXXXXX/Configuration/Schema/ms-Exch-Message-Hygiene-Conten
                                            t-Filter-Config
    ObjectClass                           : {top, msExchAgent, msExchMessageHygieneContentFilterConfig}
    WhenChanged                           : 5/28/2014 12:15:21 PM
    WhenCreated                           : 5/1/2014 4:17:55 PM
    WhenChangedUTC                        : 5/28/2014 7:15:21 PM
    WhenCreatedUTC                        : 5/1/2014 11:17:55 PM
    OrganizationId                        :
    OriginatingServer                     : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    IsValid                               : True
    ObjectState                           : Unchanged
     This is what it is set at now. Completely disabled. It worked fine for quite some time filtering out spam pretty nicely then one day everyone's mail was being rejected as spam by the content filtering agent. I know of someone else who also had this
    issue except their box was running 2008R2 with EX2007. They too disabled the content filter as it was giving them too many problems with mail being rejected.
    fr0stsp1re

  • Confusing about Message filter and Content filter

    I have a message filter do quarantine action:
    badbody: if body-dictionary-match("badbody", 1) {
    quarantine ("Policy");
    deliver();
    also I write a content filter 'good' to see what spams are missed by Ironport Antispam:
    Conditions (only if all conditions match):
    header("X-IronPort-Quarantine") != "^Policy$"
    header("X-Spam-flag") != "^(?i)YES$"
    Action:
    duplicate-quarantine ("good")
    deliver()
    I think these two rules could not occur both, because the filter badbody had sent the spam to quarantine 'Policy',
    there's no possible to dumplicate to qurantine 'good'.
    But it happens:
    Tue Jun 17 18:52:55 2008 Info: New SMTP ICID 26146919 interface InNet (10.68.2.161) address 61.135.132.136 reverse dns host websmtp.sohu.com verified no
    Tue Jun 17 18:52:55 2008 Info: ICID 26146919 ACCEPT SG ICP match .sohu.com SBRS 5.5
    Tue Jun 17 18:52:55 2008 Info: Start MID 10698519 ICID 26146919
    Tue Jun 17 18:52:55 2008 Info: MID 10698519 ICID 26146919 From: <mia_kma3998>
    Tue Jun 17 18:52:55 2008 Info: MID 10698519 ICID 26146919 RID 0 To: <swordhuihui>
    Tue Jun 17 18:52:55 2008 Info: MID 10698519 Message-ID '<10849536>'
    Tue Jun 17 18:52:55 2008 Info: MID 10698519 Subject '=?GB2312?B?1Pa807z7zsU=?='
    Tue Jun 17 18:52:55 2008 Info: MID 10698519 ready 1452582 bytes from <mia_kma3998>
    Tue Jun 17 18:52:56 2008 Info: MID 10698519 matched all recipients for per-recipient policy DEFAULT in the inbound table
    Tue Jun 17 18:52:56 2008 Info: MID 10698519 was too big (1452582/102400) for scanning by CASE
    Tue Jun 17 18:52:56 2008 Info: Start MID 10698528 ICID 0
    Tue Jun 17 18:52:56 2008 Info: MID 10698528 was generated based on MID 10698519 by duplicate-quarantine filter 'good'
    Tue Jun 17 18:52:56 2008 Info: MID 10698528 ICID 0 From: <mia_kma3998>
    Tue Jun 17 18:52:56 2008 Info: MID 10698528 ICID 0 RID 0 To: <swordhuihui>
    Tue Jun 17 18:52:56 2008 Info: MID 10698528 ready 1452584 bytes from <mia_kma3998>
    Tue Jun 17 18:52:56 2008 Info: MID 10698528 quarantined to "good" (duplicated by content filter:good)
    Tue Jun 17 18:52:56 2008 Info: MID 10698519 quarantined to "Policy" (message filter:flg1)
    Tue Jun 17 18:52:59 2008 Info: ICID 26146919 close
    The log shows the quarantine action of message filter take effect after the content filter action. I'm quite confused.
    Any suggestion?

    The original message was marked to go to the "Policy" system quarantine via the message filter. However, that message continues through the email pipeline. If no other action affects that message(i.e. dropped by Sophos anti-virus), then the system will move the message to the "Policy" quarantine as originally marked.
    However, in your case, the message was marked to be sent to the "Policy" system quarantine, and then it matched your content filter and did two things:
    1. spawned a copy of the original message and sent this new one to the "good" system quarantine. (see MID 10698528)
    2. the original copy was left alone and this one was sent to the "Policy" quarantine. If you had a drop() action, then it would have gotten dropped and you would have been left with the single copy from #1 (see MID 10698519)
    What was the intended behavior you were trying to achieve?
    Here are some references that may help:
    1. Where can I see a diagram of the IronPort email pipeline?
    You can find a diagram of the queue sequence if you click on the Help
    link in the top right of the web interface - it takes a while for it to
    load. Find the section "Understanding the Email Pipeline" and then
    under that "Overview: Email Pipeline".

  • A week after renting a movie, still getting message "An error occurred in downloading this content.  Try again later."  Have tried re-renting it, still the same. What next?

    A week after renting a movie, still getting message "An error occurred in downloading this content.  Try again later. Have tried re-renting. What next?

    Wales793Jul 27, 2014 12:31 PM Re: "An Error occurred while downloading content."
    Re: "An Error occurred while downloading content."in response to augiefritzmom
    I have been trying to fix this for 4 weeks , several visits to the apple store ... all irrelevant suggestions , was even told to buy an Apple TV ten 3 as it was an issue with HD steaming only supported on the new unit ...
    I do not go on these sites , but Apple are losing the plot these days  ...
    Here is what I found that fixed the issue for me ...
    1) go to Gen\network\DNS
    2) It will be set to Auto , for some reason the DNS is being set to you router , not your service provider ...
    3) I am with Charter (do a quick search charter DNS on the Web) , will give you their DNS ,
    Charter DNS Servers
    http://www.charter.com
    Primary DNS: 24.196.64.53
    Secondary DNS:
    View all United States of America DNS Servers
    4) Go to manaul and set the DNS to the service prover
    5) should be good to go ...
    Why we have to go to the level to solve this stuff I have no idea ..... hope it helps ....
    John

Maybe you are looking for

  • Can multi-interfaces share the same hsrp group id on the c6500?

    case: c6509A+msfc2 and C6509B+msfc3 configurating hsrp... question: msfc2 supports total 16 hsrp group id,however msfc3 256.How hsrp group Can configurate?How vlans can configurate inside the same group id?

  • Has anyone had a problem with a stuck mouse pointer?

    The mouse pointer on my System recently started behaving oddly. The pointer works fine while the iMac boots. Once the boot is fully completed, the pointer is effectively stuck at the bottom of the display (before I launch any application). It is kind

  • Best way to implement active directory in multiple locations

    Hi, Currently we don't have an active directory domain and looking in to configuring a test setup for it. We have 6 countries and in some countries we have 2 to 3 sites. There is a constant VPN connection between all the locations. Our users are trav

  • TOOLS missing in Adobe X

    I read an earlier post about this, but I have Windows Vista.  F8 is not bringing up the TOOLS bar.  I see the COMMENT bar and the SHARE bar, but no TOOLS bar.  Please help.

  • Need help ASAP- Audio Problem

    I am using a Vixia HV40 Canon camera with an external mic (Aazden 105 series UHF) with Final Cut Express 4.0.1 to create a video. When I listen to the audio output through the mic or the camera, everything sounds fine, but after I capture the data on