This discussion is archived
4 Replies Latest reply: Mar 11, 2013 6:20 AM by caius75 RSS

forward all user messages

caius75 Newbie
Currently Being Moderated
Hi Guys,
i'm running Messaging 7u4-23.01(7.0.4.23.0) 64bit on Solaris SPARC and as described in the subject i need to forward all messages (incoming and outgoing) of a single user to a different email account.
I tried with a filter like this in mailSieveRuleSource LDAP parameter of source user profile

require ["copy"];
#RULE: $Name="testfilter" $Order=1
#BEGINFILTER
if anyof(true){
redirect :copy "destination@domain.com";
stop;
}
#ENDFILTER

But it seems to work just for incoming messages.

What's wrong?
Any ideas?

Thank you

Caius
  • 1. Re: forward all user messages
    kellyc-Oracle Journeyer
    Currently Being Moderated
    The sieve filter on a user's LDAP entry will only be invoked for mail sent to the user, by from the user.

    It sounds like you are trying to do more than just forward mail sent to the user, but perhaps capture all traffic to/from the user for some monitoring or legal compliance reasons?

    Check out the following MOS knowledge article:

    With LDAP_CAPTURE, Is There A Way To Preserve The Actual Subject And From Address In The Captured Messages Instead Of Having It Encapsulated? (Doc ID 1470146.1)

    Also the following in the documentation:

    https://wikis.oracle.com/display/CommSuite/Messaging+Archiving

    https://wikis.oracle.com/display/CommSuite/MTA+Address+Translation+and+Routing#MTAAddressTranslationandRouting-MessageCapture
  • 2. Re: forward all user messages
    caius75 Newbie
    Currently Being Moderated
    Trying to understand the MOS article, seems i need to specify an attribute to check in LDAP_CAPTURE option file parameter.

    But I can't find out what i have to write inside this new user profile ldap attribute.

    Maybe the address where to forward all user traffic?


    thanks' in advance

    Caius
  • 3. Re: forward all user messages
    bv116112 Newbie
    Currently Being Moderated
    Hi,

    on the wiki page :
    https://wikis.oracle.com/display/CommSuite/MTA+Address+Translation+and+Routing#MTAAddressTranslationandRouting-MessageCapture

    is stated :

    +.... The attribute used for this purpose must be specified with the LDAP_CAPTURE MTA option. There is no default. Values of this attribute are treated as addresses and a special “capture” notification is generated and sent to these address containing the current message as an attachment. Additionally, the capture addresses are used to seed the address reversal cache in the likely event the address will subsequently appear as an envelope from: address.+

    Cheers, Ben
  • 4. Re: forward all user messages
    caius75 Newbie
    Currently Being Moderated
    It works.

    thank you so much to everyone.

    Regards

    Caius

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points