Server side rule - inline forwarding of a message

We have a solution that generates custom x-header on all emails (via an Outlook Add-in).  Using Outlook, User A creates a server-side rule which forwards messages onto User B.  User B receives a message without the custom
x-header.  My question is how can I retain the custom x-header, at the moment I cannot think of any way!
The server-side rule can use 'forward as attachment' which keeps the custom x-header in the attached message, but the 'inline forward' action (where the forward message is embedded into the body of the new message) doesn't.  Requirement is for both
types of forwarding to function!
Thanks
A

Have you looked at using a Transport Rule instead ?, because Transport Rules allow you to process messages in the Transport Pipeline you should be able to copy the Forward recipient on the message and that will means they will get an exact copy of the
message.
Cheers
Glen

Similar Messages

  • 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.

  • User mailboxes have more server-side rule options then shared mailboxes?

    I was hoping to set up some server-side rules to keep a shared mailbox clean.  The goal was to have some rules to move incoming messages to specific folders based off words in the subject.  I opened the shared mailbox in OWA and found the action
    of moving the message to a folder was not available.  At first I figured that's an action that's only available in a client-side rule.  However, I then found that in my user mailbox that action is available server-side.  It would appear there
    are a number of other action that are available server side to user but not shared mailboxes.
    Anybody else notice this?  Is this a bug?
    Single Exchange 2013 SP1 server - nothing fancy.

    Hi,
    I have a test in my environment using Exchange 2013. We can use two methods to create rules in OWA. When I open shared mailbox via OWA to create rules, only one way is possible. I recommend you use this way to create rules in OWA and check the result. Here
    is the detailed steps for your reference.
    Click Setting icon (on the right corner) -> Options -> organize email -> New
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Calling PL/SQL from Server Side Rule

    Hi there,
    I'm wanting to call a PL/SQL procedure from a server side rule created within collaboration suite using the oesrl command line utility. I have seen examples of the XML rule which should do this together with the appropriate PL/SQL
    <account qualifiedName="UM_SYSTEM" ownerType="system">
    <rulelist event="relay">
    <rule description="Retention Rule" active="yes">
    <condition negation="no" junction="and">
    <condition>
    <attribute tag="rfc822to"/>
    <operator caseSensitive="no" op="contains"/>
    <operand>instigate.com</operand>
    </condition>
    </condition>
    <action>
    <command tag="call"/>
    <parameter>RulesPackage.archive_message</parameter>
    <parameter>test1</parameter>
    <parameter>Archive</parameter>
    </action>
    </rule>
    </rulelist>
    </account>
    The above should call the Procedure RulesPackage.archive_message when an email to anyone at instigate.com arrives in OCS. I have written and tested an appropriate package. However, I have been unable to get the rule to execute and call my PL/SQL when I send an email to trigger it.
    I have written rules which do not invoke external packages without any trouble.
    I believe the problem is that I need to register the PL/SQL package with the rules engine somehow, before the rule can find it, but I am uncertain how to do this, or even if that is indeed what I need to do.
    Any help would be most appreciated as the documentation doesn't go into too much detail.
    I am using OCS R2.
    Regards
    Oliver

    Could you please check the structure of the procedure "RulesPackage.archive_message" ? It may fail due to procedure structure.
    The structure should be similar to the below example
    PROCEDURE archive_message
    (p_event IN NUMBER,
    p_sessionid IN NUMBER,
    p_msgobj IN es_mail.mail_message_obj,
    p_param1 IN VARCHAR2,
    p_param2 IN VARCHAR2,
    p_status OUT NUMBER) AS
    BEGIN
    /* Code for Archving */
    END;
    Relevant URL:
    http://download-west.oracle.com/docs/cd/B25553_01/mail.1012/b25459/ad_email_custact.htm#sthref677 (Please check Step 2 of "A Custom Action Written in Java")

  • Server side rule and procCall - only in es_mail schema

    I am trying to call procedures in the procCall tag of a server side rule, but I cannot make it work for procedures that are not in the es_mail schema.
    I tried creating synonyms and I am dead sure my grants are correct, but as soon as I add a schema name in front of the call it stops working.
    Is this correct, people of Oracle, and why?
    Wendy

    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.

  • Exchange/Outlook 2010 Server Side Rule

    Hi guys,
    Does anyone know what happens with regards to rule that forwards email received to a new destination (in this case a contact) but the outbound message size limit is breached.  In normal operation Outlook would pop-up a message indicating but what happens
    in the case of the rule.  Would it fail and retry or what?
    Thanks
    Andy
    Cheers Andy

    Good question. It seems our enterprise Exchange team have set the inbound message limit to 35MB and the outbound to 25MB. This therefore plays havoc with journaling to an external source.
    Just trying to determine if it would just silently fail or cause anything else.
    Appreciate the help.
    cheers
    Cheers Andy
    Interesting. Where is that set exactly? On the receive and send connectors or the global limits?
    The global limits should match for the send and receive limits and be equal to the highest allowed message size.
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Server-Side Rules

    How can I add more than one event on my SSR XLM file? I need to make a rule for internal and external mails but i only can add one of them.

    If someone need to do the same here it is!
    <account qualifiedName="UM_SYSTEM" ownerType="system">
    <rulelist event="reception">
    <rule description="Reception max recipients" group="all" active="yes" visible="yes">
    <condition negation="no" junction="and">
    <procCall>RulesPackage.myCondition1</procCall>
    </condition>
    <action>
    <command tag="reject" />
    <parameter>Param X</parameter>
    </action>
    </rule>
    </rulelist>
    <rulelist event="relay">
    <rule description="Relay max recipients" group="all" active="yes" visible="yes">
    <condition negation="no" junction="and">
    <procCall> RulesPackage.myCondition2</procCall>
    </condition>
    <action>
    <command tag="reject" />
    <parameter>Param Y</parameter>
    </action>
    </rule>
    </rulelist>
    </account>
    Good Luck!
    Pedro

  • Vacation messages / server side mail rules

    With WebMail depreciated in OS X Server, is there a recommended (incorporated) way for users to configure vacation messages and other server side rules?

    The seive rules are referenced by the imap server on OS X and it is responsible for the mail sort. The old webmail (SquirrelMail) and the newer webmail on Lion (Roundcube) were only writing the rules that the sieve engine of the server were reading.  In other words, the webmail doesn't handle the sorting of the incoming messages, its built in filter settings write the rules that the server uses to sort them.
    In Roundcube, that is the managesieve plugin. By default, the rules get saved in /Library/Server/Mail/Data/rules/[user UniqueID]/dovecot.sieve with the new Roundcube and older rules are default.sieve. Dovecot seems to look for one or the other and uses it.
    So, and I still have to read (and if anyone can answer!) since I've not looked at this since 10.8 server has first come out:  They moved the mailstor moved in ML, but does Dovecot still have sieve rules ENABLED or does that require a .conf change?
    To answer your configuration question:
    if you're comfortable with editing a text file, Roundrube is VERY simple to configure in my opinion. Everything is well commented in the settings files. Almost all of the settings are having it connect to your IMAP and SMTP server, same as an email client's settings.  And that's it, you don't need to compile anything to use it.
    You will need to setup MySQL or ProtegeSQL with it, but they have scripts that setup the tables for you, again, pretty simple.  PERSONALLY, I chose to install MySQL (they have a Mac .pkg install and a System Preference Pane for it).  I did not want to use the ProtegeSQL Apple supplies with OS X because we've all learned this lesson: who knows when they'll abandon THAT and leave us all scrambling for a solution again.
    This way, my SQL install is indepenent, ready for the next OS upgrade without wondering if Apple will take it away, or even transportable to another platform.

  • How to run the Server Side Existing rule in Exchange 2010

    Hi All,
    There were requirement to create a auto forward rule for almost more than 5000 users, which we did, but the we want to apply this rules to the messages which are already in the inbox for all those users where we have created the rule.
    Right now the problem what we are facing is for each individual we have to take full access to their mailbox and execute the rule first time and then it works.
    this is becoming challenging for us to making this for all 5000 users. the other problem is those user are not regularly login to this mailbox, they are using some other Org mailbox, so even we can not communicate to all of them.
    Q1) How to run the Server Side Command which should forcefully apply whatever rules is created for that user should execute for the messages which are already in the inbox.
    Q2) or the powershell for for specific rule name, which can apply on the for all the messages which are there in the inbox.
    Any help would be appriciated!
    Thanks in adv champions!
    Ashku

    Hi Ashku,
    If these 5000 users are all users in your Exchange organization, a inbox rule can be created by the following commands:
    Get-Mailbox | foreach {New-InboxRule -Mailbox $_.Name -Name AutoForward -From [email protected] -ForwardTo UserB}
    Based on my test, the Inbox rule created in server side also cannot work on the message that have already been in the Inbox unless users click “Run Rules Now…” in their Outlook client. And the transport rule in Exchange server only works
    during the message sending process.
    Therefore, there may be no feature in Exchange server side to meet your requirement.
    Thanks for your understanding.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Editing server-side Sieve via IMAP... does Messaging Server support RFC 5804?

    The Sieve Addon for Thunderird https://addons.mozilla.org/en-us/thunderbird/addon/sieve/ (https://github.com/thsmi/sieve) mentions the sieve management protocol (RFC 5804) accessible over IMAP. I did not find any mention of this on the CommSuite Wiki, so I guess it is not supported at the moment... or just not published?
    Apparently, most users of this addon use it in conjunction with Dovecot server which does support Sieve server-side filtering, and/or with projects like this to translate between client-side Mozilla filters and server-side Sieve filters: Mozilla filter to sieve converter | Free Communications software downloads at SourceForge.net
    I am not sure yet if there is an addon to automatically replicate client-side rules onto the server-side rules as the users edit them in their GUI... but this would be the next logical step
    //Jim

    Hello, thanks for the update despite the lack of forbidden details.. at least, the feature is in the pipeline
    Could you please clarify: did I understand correctly that the managesieve RFC and implementation by the Messaging Server are not compatible with the user's Sieve rules as maintained by Convergence (as of today)? I did not really dig deep into the RFC definition, but does it define that the IMAP server maintains one big script only (and not something like an IMAP mailbox with numerous small scripts, possibly ordered by some attribute)?
    Conversely, would the Messaging Server be able to use large singular sieve scripts pushed by an email client, and would these be useless or invisible to Convergence client?
    Thanks.
    //Jim

  • How do I define server-side spam rules with Yosemite & Server 4

    Really surprised that this isn't functionality available in the server UI. Poking around in the dovecot/spamassassin docs imply this is possible using sieve, but the configuration looks more complex than I'd like to have to figure out on my own. It seems that sieve might be possible to use. In /Library/Server/Mail/Config/dovecot/conf.d, the option sieve_dir is uncommented, pointing to /Library/Server/Mail/Data/rules/%u. That seems to imply I could create user directories there and apply some sieve rules, has anyone tried this?
    I'd rather not do user-specific rules, I'd prefer to use the default and attempt to move all spam into a spam folder for each user.
    I've seen notes that the webmail client Roundcube provided server-side rules, but I really don't need the web mail client, and various search results seem to raise questions about whether Roundcube is compatible with Sever 4 / Yosemite.
    Any help would be appreciated...

    Was able to get it working with some digging. The basic summary is that you need to create a rules directory for each mail user, and then add a sieve rule in each of the directories you create. I did this manually, which is manageable because I'm using OS X server for my household, and we don't add members to my household that often... :-). Summary of the steps:
    1) Each user has a directory in /Library/Server/Mail/Data/mail that is in UUID format (long hex string with sections broken by - characters).
    2) For each of the users you identify in (1), create an equivalent UUID directory in /Library/Server/Mail/Data/rules
    3) Create a file named "dovecot.sieve" in each of the directories you created in (2). For a basic rule that moves mail marked by SpamAssassin as spam to the Junk folder that Mail.app should create by default, you can use the following:
         require ["fileinto"];
         # rule:[SPAM]
         if header :contains "X-Spam-Flag" "YES" {
                 fileinto "Junk";
    4) Ensure that all of the directories/files are owned by _dovecot. I marked dovecot.sieve as executable, but I'm not sure that was necessary.
    5) Once you've done steps 1-4, you should start to see evidence that sieve is being used for delivery of mail in /Library/Logs/Mail/mailinfo.log. Grep for "sieve" in that to see activity. If there are errors, you'll likely see notices that there are sieve logs being created in the rules directories you set up in (2). I ran into errors for at least one account that didn't have a Junk folder created; if you hit that just have the user create a folder named Junk to clear it up.
    Hope this helps others...

  • Rule-Based Forwarded Email

    I am reviewing the contents of the Message Tracking logs from an Exchange 2010 server. How can I identify those emails that were forwarded using some form of rule-based forwarding? Does the exchange server record rule-based forwarded emails in the Message
    Tracking logs?
    I would normally perform a test to find the answer, unfortunately I do not have access to an Exchange 2010 server.
    Any assistance is greatly appreciated.

    You didn't say you were running the Exchange server on a Domain Controller (not a configuration that's recommended). Since this is an Exchange forum I took what you said to mean that you had only an image of the Exchange server.
    If you have the AD then you'll find the alternateRecipient property on the accounts that had it populated at the time your image was made, along with the transport rules (which would be easier to deal with using Powershell).
    --- Rich Matheisen MCSE&I, Exchange MVP

  • Generating feedback messages on server-side vs client-side?

    Hello,
    I am maintening a client/server app (Swing client, no Web pages), basically an order processing system. The biggest part of it is to verify the conformity of orders to a set of business rules.
    As usual, some of the verification can be made early on the client-side, but most of the verification work is done on the server-side. My problem is, I don't find a very satisfactory way to generate the user feedback to be displayed to the user.
    If I generate them as Strings (or HTML Strings) on the server, where the rules are checked, this constrains the way these can be displayed on the client, and makes maintenance of the human-readable strings awkward and risky (e.g. localization, or restructuring the messages, like sorting them by severity vs by affected entity).
    If I generate them on the client, I need a class to vehicle the diagnosis form server to client, and this class and its usage tends to become awkward in itself.
    Concretely:
    The initial version generated human-readable strings on the server, which assumed the messages would be displayed as strings in a JOptionPane.
    Moreover, the logic evolved to distinguish between Info, Warning and Error messages, to be displayed in different colors of course, so the Strings evolved into HTML Strings, still generated on the server.
    Do you think this approach is safe?
    I'm afraid a simple maintenance of the strings (like, sorting the errors by severity vs by affected entity, filtering the strings,...) becomes a server-side development, which is a bit more risky (I would have to review code ownership policies, VCS and code-sharing policies,... to let less experienced staff maintain the darn error Strings).
    Moreover, if the client app evolve to display the errors in complex widgets (colors in a tree/table, with tooltips), the server-side generated HTML strings would be constraining : coloring or tooltipping Tree nodes would now mean parsing the String to extract the "error level" or the "affected entity", which is quite inelegant and inflexible.
    My current idea was then to use a collecting parameter to collect validation messages on the server, and traverse them on the client:
    I designed a naive ErrorList class, with methods such as addInfo(String), addWarning(String), addError(Strin), and the corresponding getErrors() and hasErrors()/hasWarnings() methods. I can then generate the Strings (or whatever widget fits better, such as a table) on the client side. Moreover, I can add the client-side messages to the bag...
    All nice and well, but the customer requested that the error messages be formatted such as "The profile <profile name in bold> does not allow you to order service <service name in italics>".
    To format that on the client, my ErrorList class should evolve so that for a given message, I know that the error is of type ("incompatibility between profile and service", that the service is X and the prodile is Y).
    That forces me to add in some API (shared by the client and server) the list of error types, and the data each error type requires.
    I can evolve my ErrorList API to break up messages into a DTO giving (type, affected entity, arg1, arg2,...), but anyway the server and client have to agree on what is arg1, etc... which is a hidden coupling.
    Do you use and recommend such an approach for server-to-client feedback: a collecting parameter in which the server puts the "errors", and that the client traverses to display the messages)? In particuler, isn't the coupling hard to maintain?
    Thansk in advance,
    J.

    Presumably you are not over-engineering in that you
    know that localization is a problem rather than that
    in all possible worlds in might be.I appreciate your delicate questioning... I definitely have read much ruder ways to say YAGNI to a poster...
    I do know that the customer will knit-pick to reword and reformat the messages. But I won't need to translate the messages to other locales. In that regard, I ackowledge my usage of the term localization is a bit liberal, but I think I should to extract the messages from the code, to be able to maintain them separately - keeping only experienced staff's hand in the server's core.
    That is actually my question 1): from experience, is it worth the trouble to separate code and human-readable text, knowing that the text WILL have to be maintained?
    Question 2 is about how to implement this.
    In particular, the built-in MessageFormat templating engine, though originally introduced for i18n, actually suits my needs (including MessageFormat-built messages) and developing or using any other templating engine would probably be an overkill.
    Given that there are two types of messages.
    1. Fixed
    2. Parameter driven.
    In both cases you need to return an id which
    identifies the message. The client has a locale
    specific resource source which has a matching id.
    From there a string is derived.
    If the error requires parameters then the string has
    formatting values in it and it s written with the
    returned parameters. See java.text.MessageFormat.Yes. In some cases I don't know yet whether parameters will be displayed. I can conservatively assume the message requires a MessageFormat, and give all parameters (in my case, use rname, profile name, command id, service name, order date,...), whether thay are displayed or not in the final message.
    Be warned you MUST deal with the possibility that a
    id does not exist in the client, if so have a default
    message that displays the id and any parameters.Good point.
    "The customer name field can not be longer than 15
    characters".
    In the above the "15" would a parameter.Yes. The trouble is, you have to document somewhere (Sun suggests in the resource bundle file), that for error id #123456, the number of characters in in the '{0}', or in the {6}. I don't feel confident with that (this is the "coupling" part in my question 2�).
    Thanks for your advices.

  • Turning off server side stack trace in error message for weblogic81

    Hi,
    I am seeing server side stack trace in getMessage() method which is being stuffed
    by application server. I am using weblogic 81. Could you please let me know how
    to turn off that in getMessage() to return my only original message?
    Thanks
    Praveen

    Did you solve this problem? I am facing this problem and don't seem to solve with
    "Instrument Stack Traces" flag
    "Franck" <[email protected]> wrote:
    >
    Hi there,
    In order to manage my own exceptions in some EJB, i have developped some
    classes
    extending Exception.
    Now i would like to display proper messages to the final user, based
    on the messages
    defined in my exception classes.
    Using standard try/catch, i can easily get reference to the exception
    that can
    occur during EJB execution.
    The problem is that my message (myException.getMessage) is followed by
    the extra
    long message generated by the Server and starting with "Start server
    side stack
    trace:".
    For exemple :
    com.xx.ejb.DamageHistoryException: Can't find the price for this object
    (objId=7569,
    sizeCode=LI, colorCode=2)
    Start server side stack trace:
    com.xx.ejb.DamageHistoryException: Can't find the price for this object
    (objId=7569,
    sizeCode=LI, colorCode=2)
    at com.xx.ObjectAccess.getObjectPrice(Unknown Source)
    at com.xx.ejb.ObjectBusinessService.getObjectPrice(Unknown Source)
    <....>
    about 20 lines here !!
    <....>
    Any idea about how to avoid the extra message ??
    Thanx in advance
    Franck

  • How to send Subtopic Message From Server-Side to Client ?

    I’m new at flex and i have a new question about Flex
    Message Service.
    How to send messages from Server-Side Java Code with
    Subtopic?
    For example.
    I customed a Flex Message Adapter in Tomcat Server , with
    this Adapter , i can send message to Client with following code .
    ---------------------Send message to Client------------
    MessageBroker msgBroker =
    MessageBroker.getMessageBroker(null);
    String clientID = UUIDUtils.createUUID(false);
    AsyncMessage msg = new AsyncMessage();
    msg.setDestination("CustomMsgServiceDes");
    msg.setClientId(clientID);
    msg.setMessageId(UUIDUtils.createUUID(false));
    msg.setTimestamp(System.currentTimeMillis());
    msg.setBody(clientID + "this is my message from server! \n");
    msgBroker.routeMessageToService(msg, null);
    ---------------------Send message to Client------------
    But i want send a message that have Subtopic to the Client ,
    How to do ?
    Thank you for reply.

    There's a white paper that talks about this subject -
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=8f1eb6ea

Maybe you are looking for