Rules based on a nickname/original destination address

We have a zentral post-Admin account which collect different
email-destinations via nicknames (Fax@DNS, Bill@DNS, Sales@DNS, ..).
Now we want to move incoming emails based on the original email-address,
same as the used GW nickname, to different folders. Example is Fax@DNS
should be moved to a folder Fax. We see the nickname in the incomming
mail but we cannot find a working rule.

Dear Danita,
sorry holiday delayed my answer.
I will try next day and response.
Thanks,
Bodo
=============================ðWðWðWðWðWðWðW ðWðWðWðWðWðWðWðWð6ðWðWðWðWðWðWðWð WðWðWðWðWðWðWðWðMEBSware Informatik GmbHðWðWðWðWðWðWðWðWðWðWðWðWðWðWðW 6ðWðWðWðWðWðWðWðWðWðWðWðWðWðWðWðB odo SchulzðWðWðWðWðWðWðWðWðWðWðWðWðWðWð Wð6ðWðWðWðWðWðWðWðWðWðWðWðWðWðWðW ðWðWðWðWðWðWðWðWðWðWðWðWðWðWðWð6 WðWðWðWðWðWðWðWðWðWðWðWðWðWðWðBodo .[email protected]ðWðWðWðWðWðWðWðWðWðW WðWðWðWðWð6ðWðWðWðWðWðWðWðWðWðWðW ðWðWðWðWðwww.mebsware.deðWðWðWðWðWðWðW ðWðWðWðWðWðWðWðWð6ðWðWðWðWðWðWðWð WðWðWðWðWðWðWðWð========================== ===>>>
Von: DZanre<[email protected]>
An:novell.support.groupwise.2012.agents
Datum: 16.01.2013 20:45
Betreff: Re: rules based on a nickname/original destination address
Bodo Schulz wrote:
> Example is Fax@DNS
> should be moved to a folder Fax.
I actually have a lot of rules that work on nicknames. I realize that I'm
coming to this message "late", but the easiest way to troubleshoot rules is to
first just do a "filter" in the inbox to find what works.
Do a find for "to: contains [email protected]" - do you get the results you
expect? If so, then a rule on that query should also work.
Danita
Novell Knowledge Partner
http://www.moveoutoftheoffice.com

Similar Messages

  • Rule based system in SQL

    we have an airline pricing system whose rules change often, and rather than re-designing tables and the client application code everytime that happens, we would like to develop a rule-based system to dynamically store the rules in a rule-based system that doesn't require re-design and code modification.
    any ideas ?
    here is an example of the data that we would like to store
    if seasonality is LOW
    and passenger is CHILD
    and carrier is TRW
    and origination is COS
    and destination is PIT
    and ticket code is Y
    then price is 908
    seasonality for carrier TRW is LOWfor travel between 01/15/06 to 04/15/06
    seasonality for carrier JAR is LOW for travel between 02/01/06 to 05/01/06
    age for carrier TRW is CHILD for passenger age betwen 2 and 12
    age for carrier JAR is CHILD for passenger age between 6 and 14
    .. and another price can be given with an entirely different set of rules
    reason is ask in this forum is I read a blog of someone who praises the set-based nature of the SQL language for developing exactly this kind of system, rather than trying to implement it on the client (for example using JRules)

    What version of Oracle are you on? 10g introduced a rules engine into the database (Oracle Rules Manager and/or Oracle Expression Filter) which would seem to be right up your alley.
    Justin

  • Questions on Rules-Based ATP and Purchase Requisitions for STOs

    Hello experts,
    We are working on rules-based ATP configuration and have several questions about the functionality.  Iu2019m hoping that some of you are using this functionality and can help give us direction.
    In our environment we have multiple distribution centers and multiple manufacturing plants.  We want to confirm sales orders against stock and production orders in any of those plants, depending on the locations that have stock or planned production.  For example, we will place a sales order against plant A.  If there is not enough stock in plant A then rules-based ATP will use location determination to check in plant B, then C.  The scope of check on the ATP check will include stock and released production orders.  We will configure plant A as the u201Cconsolidation locationu201D so if stock is found in plants B or C then stock transport orders will automatically be created to move the stock to plant A before shipping to the customer.
    We have configured rules-based ATP and this functionality is working well in our Development system.  The ATP check is executed and uses the rules-based ATP to find eligible stock in other plants.  The system is also creating purchase requisitions to move the stock to the consolidation plant. 
    Our first concern is that there doesnu2019t appear to be any firm linkage between the sales order and the resulting purchase requisition.  For example, if we create sales order 123 for plant A and the rules-based ATP finds stock in plant B it automatically creates a purchase requisition 987 to move the stock from plant B to plant A.  However, there doesnu2019t appear to be a linkage between sales order 123 and purchase requisition 987.  For instance, if we delete sales order 123 the purchase requisition doesnu2019t get deleted. 
    Our second concern is that the quantity on the purchase requisition can still be confirmed against later sales orders.  For example, say the above scenario resulted in a purchase requisition 987 that consumed all the stock available in plant B.  We then create a second sales order 456 for the same product.  Plant A is out of stock so the rules-based ATP looks in plant B.  We would expect that plant B would also not have any stock because itu2019s all been consumed by the purchase requisition.  Instead, the system creates a second purchase requisition to move quantity from plant B to plant A.  Itu2019s as if the system doesnu2019t realize that the purchase requisition 987 is already planning to move stock out of plant B.
    Does anyone have any thoughts or suggestions on these two scenarios?  Is there a way to configure the system so there is a hard linkage between the sales order and the purchase requisition so that if the sales order is deleted then the purchase requisition is also deleted?  Should ATP realize that purchase orders are consuming inventory and not allow later sales orders to confirm against that same inventory?  Any advice or experience would be greatly appreciated.
    Thanks,
    David Eady
    Application Delivery Team Lead
    Propex, Inc.

    Hi,
    The scheduling is done in SCM, and from there, whenever the RBA is triggered, the calculation is done always with the old route in SCM. Until you get back to R/3 this is when your route is determined. But the ATP check is always with the original route. So the idea would be that you change the values of the route while still in APO, this is possible via the user exit. Should be done in scheduling in APO.  
    Hope this information is helpful.
    Regards,
    Tibor

  • Dynamic Rule based implementation in PL/SQL

    Hi,
    We are trying to implement a dynamic rule based application in Oracle 9i. Its simple logic where we store expressions as case statments and actions seperated by commas as follows.
    Rule: 'Age > 18 and Age <65'
    True Action: 'Status = ''Valid'' , description = ''age in range'''
    False Action: 'Status =''Invalid'', Description=''Age not in range'''
    Where Age,Status, description are all part of one table.
    One way of implementing this is fire rule for each record in the table and then based on true or false call action as update.
    i.e
    select (case when 'Age > 18 and Age <65' then 1 else 0 end) age_rule from tableX
    (above query will in in a cursor xcur)
    Then we search for
    if age_rule = 1 then
    update tablex set Status = ''Valid'' , description = ''age in range'' where id=xcur.id;
    else
    update tablex set Status =''Invalid'', Description=''Age not in range'' where id=xcur.id;
    end if;
    This method will result in very slow performance due to high i/o. We want to implement this in collection based method.
    Any ideas on how to dynamically check rules and apply actions to collection without impact on performance. (we have nearly 3million rows and 80 rules to be applied)
    Thanks in advance

    Returning to your original question, first of all, there is a small flaw in the requirements, because if you apply all the rules to the same table/cols, than the table will have results of only last rule that was processed.
    Suppose rule#1:
    Rule: 'Age > 18 and Age <65'
    True Action: 'Status = ''Valid'' , description = ''age in range'''
    False Action: 'Status =''Invalid'', Description=''Age not in range'''
    and Rule#2:
    Rule: 'Name like ''A%'''
    True Action: 'Status = 'Invalid'' , description = ''name begins with A'''
    False Action: 'Status =''Invalid'', Description=''name not begins with A'''
    Then after applying of rule#1 and rule#2, results of the rule#1 will be lost, because second rule will modify the results of the first rule.
    Regarding to using collections instead of row by row processing, I think that a better approach would be to move that evaluating cursor inside an update statement, in my tests this considerably reduced processed block count and response time.
    Regarding to the expression filter, even so, that you are not going to move to 10g, you still can test this feature and see how it is implemented, to get some ideas of how to better implement your solution. There is a nice paper http://www-db.cs.wisc.edu/cidr2003/program/p27.pdf that describes expression filter implementation.
    Here is my example of two different methods for expression evaluation that I've benchmarked, first is similar to your original example and second is with expression evaluation moved inside an update clause.
    -- fist create two tables rules and data.
    drop table rules;
    drop table data;
    create table rules( id number not null primary key, rule varchar(255), true_action varchar(255), false_action varchar(255) );
    create table data( id integer not null primary key, name varchar(255), age number, status varchar(255), description varchar(255) );
    -- populate this tables with information.
    insert into rules
    select rownum id
    , 'Age > '||least(a,b)||' and Age < '||greatest(a,b) rule
    , 'Status = ''Valid'', description = ''Age in Range''' true_action
    , 'Status = ''Invalid'', description = ''Age not in Range''' false_action
    from (
    select mod(abs(dbms_random.random),60)+10 a, mod(abs(dbms_random.random),60)+10 b
    from all_objects
    where rownum <= 2
    insert into data
    select rownum, object_name, mod(abs(dbms_random.random),60)+10 age, null, null
    from all_objects
    commit;
    -- this is method #1, evaluate rule against every record in the data and do the action
    declare
    eval number;
    id number;
    data_cursor sys_refcursor;
    begin
    execute immediate 'alter session set cursor_sharing=force';
    for rules in ( select * from rules ) loop
    open data_cursor for 'select case when '||rules.rule||' then 1 else 0 end eval, id from data';
    loop
    fetch data_cursor into eval, id;
    exit when data_cursor%notfound;
    if eval = 1 then
    execute immediate 'update data set '||rules.true_action|| ' where id = :id' using id;
    else
    execute immediate 'update data set '||rules.false_action|| ' where id = :id' using id;
    end if;
    end loop;
    end loop;
    end;
    -- this is method #2, evaluate rule against every record in the data and do the action in update, not in select
    begin
    execute immediate 'alter session set cursor_sharing=force';
    for rules in ( select * from rules ) loop
    execute immediate 'update data set '||rules.true_action|| ' where id in (
    select id
    from (
    select case when '||rules.rule||' then 1 else 0 end eval, id
    from data
    where eval = 1 )';
    execute immediate 'update data set '||rules.false_action|| ' where id in (
    select id
    from (
    select case when '||rules.rule||' then 1 else 0 end eval, id
    from data
    where eval = 0 )';
    end loop;
    end;
    Here are SQL_TRACE results for method#1:
    call count cpu elapsed disk query current rows
    Parse 37 0.01 0.04 0 0 0 0
    Execute 78862 16.60 17.50 0 187512 230896 78810
    Fetch 78884 3.84 3.94 2 82887 1 78913
    total 157783 20.46 21.49 2 270399 230897 157723
    and this is results for method#2:
    call count cpu elapsed disk query current rows
    Parse 6 0.00 0.00 0 0 0 0
    Execute 6 1.93 12.77 0 3488 170204 78806
    Fetch 1 0.00 0.00 0 7 0 2
    total 13 1.93 12.77 0 3495 170204 78808
    You can compare this two methods using SQL_TRACE.

  • UDP Destination Address

    Hi,
    I’m currently using UDP read VI provided by NI to retrieve UDP broadcast messages.  Parsing the data out, it appears the VI only returns the data segment of the datagram and strips away the header information.  So I am not able to retrieve the destination address (i.e. broadcast address), but only the source address in which it was originated.  Is there a way that I could retrieve this information?
    Thanks,
    Nina
    Solved!
    Go to Solution.

    I still don't quite see the purpose. Do you want to determine if it was a broadcast versus an unicast?
    Broadcasts typically don't cross subnet boundaries. In the old days routers often forwarded directed broadcasts, but this is now normally blocked to e.g. prevent smurf attacks and others. (except for special cases such as dhcp etc.)
    Also don't forget spoofed packets. If a local machine would place a packet on the wire with a random destination IP, but with your MAC address in the Ethernet header (or the Ethernet broadcast address FF:FF:FF....FF), you'll still get it.
    LabVIEW Champion . Do more with less code and in less time .

  • Can anyone explain origination/destination on the billing summary?

    can anyone explain origination/destination on the billing summary?

    The destination of a call made by the cell phone is where billing is based, if you are calling them.
    For example, if I call my friend who has a NYC number and she is standing next to me here in GA and I have a MI number, The origination will show Podunk GA, but the destination will still show NYC.
    Now if she calls me from GA, on my bill it will Destination, Incoming Call
    Whether incoming or outgoing, on the bill, you, the line holder, are always the Origination.  Look at the pic below and look at the calls from 8.5. my friend from NYC, visiting Hiram, when calling her shows NYC. Yet when she called me, it is Incoming Call
    So basically, you never know WHERE the person on the other end actually is.
    Hoped this helps

  • Rule- Based Assignment of Employees in Service Request

    Hi Expert,
    Please provide step by step guide instructions for rule based in assignment of Employees for service request.
    Thanks
    Best Regards

    This blog should cover your needs: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18067. [original link is broken] [original link is broken] [original link is broken]
    Regards.

  • Rule based ATP Check - User Exit to modify the item

    Hi all,
    We are working with standard rule based ATP check to change the plant in the Sales Order item.
    That creates a new subitem with the new plant determination, and changes the Item Category of the original item.
    My doubt is: Is there any User Exit in this process to do the system change something else in the Sales Order items?
    << Moderator message - Please do not offer points >>
    Thanks!!
    Edited by: Rob Burbank on Oct 8, 2010 2:20 PM

    Hi Roger,
    Please clarify more what do want to change exactly example any Z field to be copied from main item to sub item.
    You can use exit USEREXIT_MOVE_FIELD_TO_VBAP ,  USEREXIT_MOVE_FIELD_TO_VBAK 
    Thanks,
    Pavan Verma

  • Rule-based or 'expert' system in Oracle

    Hi,
    Has anyone implemented a rule-based system in Oracle? E.g. based upon a decision tree?
    I have a feeling that the algorithm will involve 'tree-walking' within a heirarchy of rules but I'm not quite sure how to structure it. I have a couple of ideas such as storing pointers to the next rule with the columns holding things like the name of the parameter, the condition, the comparison value and the outcome.
    The program has to choose a carrier (such as UPS or Fed-Ex) based upon rules such as the weight (<1kg?>, the intrinsic value (> #100), the addressee postcode and whether the package is hazardous or not. There can be any permutaion of these conditions apart from those that are direct opposites (such as greatr than or lower than 1kg).
    I would be grateful for any advice on this, or a web address that might help (I have googled and found something calld the 'reme algorithm' but cannot find any elaboration of it! grrr.....).
    Thanks for your time,
    Regards,
    Jim.

    thanks for your reply, but need different thing,
    suppose we prepare a report in report builder and when we want to print it, it always print in windows gui fonts like times new roman, arial , tahoma etc..
    I WANT TO PRINT IT IN TEXT-BASED FONTS NOT WINDOWS FONT WHICH GAIN HIGH QUANTITY OF TONER . I want to print like IBM COBOL, FOXPRO, GWBASIC, PASCAL TEXT MODE REPORTS

  • Delivery & Invoice for Rules based ATP check materials

    Hi All,
    We have an query regarding rules based ATP , delivery & Invoicing . When we create a SO ( say we have only one line item 10 , with quantity 100 created at Plant P1 , item category TAN ) , ATP confirmation happens   ,based on the stock & receipts ( say we have confirmation of 60 units at Plant P1  ) . Since we are using RBATP , the remaining 40 quantity is being confirmed at Plant P2.  Now the order will have multiple line items 10 the original line item but with different item category TAPA and also two more line items  for quantity of 60 & 40  for plants P1 & Plants P2 respectively with item category TAN. This is the standard functionality.
    My question is , Will there be any issues with respect to delivery & Invoicing  as there are multiple plants and different item categories.
    Thanks & Regards
    Surendra

    Hi,
    With respect  to delivery you will have differnt delivey document because your shipping point is going to be different.
    Regarding Billing you can combine the differnet delivey document if the delivery document created using the sales order contains the same payer,payment terms, billing date,material group and Incoterms.
    Apart from the above you will not face anyproblem by having 2 diiferent item category for the above said scenario..
    Regards,
    V.Devaselvam.

  • Switch "ON" Rules based ATP

    Hi,
    How can we switch on or switch off "Rules based ATP".
    Is it possible to do it at material level or is it done at some group level or system level.
    Thanks and regards,
    Ashok

    Hi,
    The scheduling is done in SCM, and from there, whenever the RBA is triggered, the calculation is done always with the old route in SCM. Until you get back to R/3 this is when your route is determined. But the ATP check is always with the original route. So the idea would be that you change the values of the route while still in APO, this is possible via the user exit. Should be done in scheduling in APO.  
    Hope this information is helpful.
    Regards,
    Tibor

  • Content Rule-Based DNS

    We have configured the CSS for content rule-based DNS operation for GSLB. The CSS are installed behind a firewall. CSS are configured with private addresses for the services and the VIP. This VIP is translated at the firewall for external access.
    In this scenarion, when the CSS receives a DNS query it returns the VIP (private address) and hence the clients can't reach. How can I change it to retun the public address to the user.

    you can configure the CSS to return the public ip address.
    But internal users that may require to use the private ip address will also receive the public ip address.
    To configure the CSS, you need to use dns a-record and therefore use dns zone-based solution instead of rule-based.
    http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a00801eebaa.html
    Regards,
    Gilles.

  • Rules based ATP: characteristics substitution (with restrictions)

    Dear Experts,
    We are dealing with the following challenge: we are performing a characteristics based ATP check in SCM (e.g. ATP check on Length Class, Quality Grade et cetera) based on a sales order in ECC. We are using single-unit batches, so each batch consists of one piece of finished product (in our situation one roll of carpet). Besides characteristic values for characteristics Length Class and Quality Grade each batch has a characteristic value for the characteristic Dye Lot, refering to the original production batch.
    In most cases a customer won't require a specific Dye Lot, on the other hand, because of quality requirements, goods for one sales order should be delivered from one and the same Dye Lot.
    We were thinking to solve this by means of a default dummy value for Dye Lot which will be used as input for Rules Based ATP. By means of rules the default dummy value will be replaced by any possible value available for Dye Lot. However, the restriction that total required volume should be covered from one and the same Dye Lot remains. Within Rule Control it is possible for product/location substitutions to create such a restriction: "Start (first product in the substitution list): The substitution list is restricted to the first element in the substitution list; that is, it contains only one entry." (see for more info[http://help.sap.com/saphelp_scm50/helpdata/en/3a/967337e68ae526e10000009b38f889/frameset.htm|http://help.sap.com/saphelp_scm50/helpdata/en/3a/967337e68ae526e10000009b38f889/frameset.htm]). As far as we know this is not possible for characteristics substitution.
    Our questions:
    - Is any of you familiair with this subject (i.e. Characteristics dependent ATP for Mill and comparable industries) and aware of a possible solution to our challenge?
    - What effects are expected with regards to performance? (All Dye Lot values together create a large list; are all possible values considered in ascending order or is list first filtered for the right volume w.r.t. the required volume? What's the logic behing this?)
    FYI: We have the following installation:
    - SAP ECC 6.0 Industry Solution Discrete Industry & Mill Products (IS DIMP)
    - SAP SCM 5.0
    Regards,
    APOtester
    Edited by: APO Tester on Jun 17, 2008 1:55 PM

    Hi,
    Please follow the link
    Re: Rules based product substitution in STO
    Thanks,
    Pavan Verma

  • Tracing TCP Source/Destination Addresses/Ports for ongoing connections

    On Solaris 10 U4 through U7, I'm trying the following just to perform basic tracking of TCP source/destination addresses and ports, using code similar to what is available in tcpsnoop_snv and tcptop_snv.
    The odd thing is that the addresses/ports appear to be zeroed out - are they being cached outside of the conn_t data structure?
    #!/usr/sbin/dtrace -Cs
    #pragma D option switchrate=10hz
    #pragma D option bufsize=512k
    #pragma D option aggsize=512k
    #include <sys/file.h>
    #include <inet/common.h>
    #include <sys/byteorder.h>
    #include <sys/socket.h>
    #include <sys/socketvar.h>
    /* First pass, for all TCP Read/Write actions, collect source/destination
       IP + Port - after a few secs, print them all out */
    fbt:ip:tcp_send_data:entry
      /* Outgoing TCP */
      self->connp = (conn_t *)args[0]->tcp_connp;
    fbt:ip:tcp_rput_data:entry
      /* Incoming TCP */
      self->connp = (conn_t *)arg0;
    fbt:ip:tcp_send_data:entry,
    fbt:ip:tcp_rput_data:entry
    /self->connp/
      /* fetch ports */
    #if defined(_BIG_ENDIAN)
      self->lport = self->connp->u_port.tcpu_ports.tcpu_lport;
      self->fport = self->connp->u_port.tcpu_ports.tcpu_fport;
    #else
      self->lport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_lport);
      self->fport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_fport);
    #endif
      /* fetch IPv4 addresses */
      this->fad12 =
        (int)self->connp->connua_v6addr.connua_faddr._S6_un._S6_u8[12];
      this->fad13 =
        (int)self->connp->connua_v6addr.connua_faddr._S6_un._S6_u8[13];
      this->fad14 =
        (int)self->connp->connua_v6addr.connua_faddr._S6_un._S6_u8[14];
      this->fad15 =
        (int)self->connp->connua_v6addr.connua_faddr._S6_un._S6_u8[15];
      this->lad12 =
        (int)self->connp->connua_v6addr.connua_laddr._S6_un._S6_u8[12];
      this->lad13 =
        (int)self->connp->connua_v6addr.connua_laddr._S6_un._S6_u8[13];
      this->lad14 =
        (int)self->connp->connua_v6addr.connua_laddr._S6_un._S6_u8[14];
      this->lad15 =
        (int)self->connp->connua_v6addr.connua_laddr._S6_un._S6_u8[15];
    /* At this point, this->{f|l}ad1{2345}->connua_v6addr.connua_{f|l}addr._S6_un.S6_u8
        are empty - where is this data? */
    }

    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v7.50/command/reference/CmdGrpC.html#wp1139667
    portmap [base-port base_number|disable|enable|number-of-ports number|vip-address-range number]
    disable
    Instructs the CSS to perform Network Address Translation (NAT) only on the source IP addresses and not on the source ports of UDP traffic hitting a particular source group. This option does not affect TCP flows.
    For applications with high-numbered assigned ports (for example, SIP and WAP), we recommend that you preserve those port numbers by configuring destination services in source groups. Destination services cause the CSS to NAT the client source ports, but not the destination ports.
    Note If you disable flows for a UDP port using the flow-state table and configure the portmap disable command in a source group, traffic for that port that matches on the source group does not successfully traverse the CSS.
    The CSS maintains but ignores any base-port or number-of ports (see the options above) values configured in the source group. If you later reenable port mapping for that source group, any configured base-port or number-of ports values will take effect. The default behavior for a configured source group is to NAT both the source IP address and the source port for port numbers greater than 1023.
    There is no possibility to disable it for TCP.
    We need to source nat the port to guarantee that the server response comes back on the same module/CPU and the internal packet allocation algorithm is based on src and dst ports.µ
    Gilles:

  • Sales order item level deliveryblock based on the material's destin country

    Hi Experts
    I have a requirement to set delivery block to an order at the item level based on of country of destination and material.
    -Requirement is to block automatically order line when a material is not authorized (Regulatory affair) to be shipped to the country.
    -We need to allow only authorized person to have ability to remove the block-How can this be set up?
    - Delivery block like these are usually set up for sales org & material (and not country level), the issue here is different countries in same sales org.
    Awaiting for earliest comments
    Thanks
    Banu

    Hi,
    In standard SAP you can not have delivery block at the item level based on the country of destination. Because contry of destination comes from Ship to party master data and material master is not based on the country.
    You need to have development or Exit and Z table. You need to maintain the list of materials allowed to various countries in the Ztable. Exit/development needs to check the table at the time of saving the sales order, 'If there is no table entry, delevery block needs to be maintained on the particular item shipping tab.
    Further you can discuss with your technical consultant about the logic and the possibilities.
    Regards,
    Ravi Duggirala

Maybe you are looking for