monitoring the mail activity
Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
libimta.so 6.2-3.04 (built 01:43:03, Jul 15 2005)
SunOS mail 5.10 Generic_118822-26 sun4u sparc SUNW,Sun-Fire-V240
We want to monitor the email activity between two particular users from different hosted domains for the time being and place the mail to certain inbox. How it抯 possible. Should we have to implement journaling or monitor as sieves rules are impossible.
Any suggestion and solution.
[494 byte] By [
fslaat] at [2007-11-26 9:53:21]

# 1
You can use the mapping entry, message-save-copy kind of thing. It's silent, and works well.
See forum posts:
Forums - Backup all emails | Open in a new window
Sun Java System Messaging Server - Replies: 1 - A business - or manager propably- requirment is to to have a backup for all the emails for 1 year! Even if a user deletes his/her email(s), a backup is required! I am ...
http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=55148 - Jul 28, 2005
Forums - Journaling Capability | Open in a new window
Sun Java System Messaging Server - Replies: 11 - Does anyone know if or how to configure the Sun Java Messaging Server to journal messages, a la Microsoft Exchange? By journal, I mean something that can be set up so ...
http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=51763 - Mar 2, 2005
Forums - spy... | Open in a new window
Sun Java System Messaging Server - Replies: 7 - We are administering multiple domains. In one domain I need to configure filter that will copy every sent and received message by the users of the domain to one special ...
http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=24314 - Jun 20, 2004
Forums - rewrite rule in mappings file | Open in a new window
Sun Java System Messaging Server - Replies: 1 - hi all, in iMS 5.2, can any one suggest me how to write a rule in mapping file so that any mail sent from a particular user (say testuser@maildomain.com) is also sent ...
http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=61506 - Jan 12, 2006
Forums - Message "journaling" | Open in a new window
Sun Java System Messaging Server - Replies: 9 - My MS 6.0 is used to host domains for a number of customers (I run a small ISP). One of the customers is a financial services company and is required to comply with ...
http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=24647 - Apr 14, 2004
# 2
Jay Thanks for your response but I have a question,
Let me tell you what we want and how we are doing it currently. We want any mail sent between user1 and user2 then copy should be sent to monitor@domain.com. Currently we are doing it via sieves rule like as below;
For user1 we set the rule:
#RULE: $Name="monitor"$Order=2$Type="DEFAULT_TYPE" #BEGINFILTER if anyof(header :is ["From","Sender","Resent-from","Resent-sender","Return-path"] "user2@doamin.com"){ redirect "monitor@domain.com"; keep; } #ENDFILTER
for user2 we set the rule:
#RULE: $Name="monitor"$Order=2$Type="DEFAULT_TYPE" #BEGINFILTER if anyof(header :is ["From","Sender","Resent-from","Resent-sender","Return-path"] "user1@doamin.com"){ redirect "monitor@domain.com"; keep; } #ENDFILTER
How to write it via mapping entry based on above rule?
MESSAGE-SAVE-COPY
ims_ms|*@your_domain|D|/usr/ip lanet/server5/msg-dusty/imta/queue/ims_ms/*/* $Y/usr/iplanet/server5/msg_save/$1/$2
# 3
well, message-save-copy can't send the messages to another user. It can file the messages to a local disk, but that's all.
One problem with using Sieve to "forward" mails, is what happens if the destination is full, overquota, or in some other way, then the bounce will go to the parties you don't want to know about monitoring. .. . . . . . .
# 5
Hm. I could swear that the information you need to do that is in one of the former posts that I posted links to.
Yes.
http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=24314
MESSAGE-SAVE-COPY
tcp_local|USER@your_domain|D|/usr/iplanet/server5/msg-dusty/imta/queue/tcp
for each user......
_local/*/* $Y/usr/iplanet/server5/msg_save/$1/$2