How and where is a mailrule processed?

I created a new mailrule, sent myself some mail but the rule didn't process the incoming mail. I tried to find the agent that should be processing the incoming mails and rules, but couldn't find one. Maybe "they" invented something new, like special varaibles the router acts upon, but I'd very much like to know.

Btw Notes and Domino 6.0.3 on a Linux server.

Thanks for your assistance!
LVL 46
Sjef BosmanGroupware ConsultantAsked:
Who is Participating?
 
Jean Marie GeeraertsConnect With a Mentor Application EngineerCommented:
Here's the link to download the .dll and explanation of how to implement client side rules:
http://www.geocities.com/kristjangudmundsson/rules.html

Maybe this can be of some use to you. It will enable you to process rules on your local client e.g. move mail for Caroline automatically to that folder when it arrives in the database.

Try it out and see if it works for you. For pop3 mail it works like a charm!
0
 
qwaleteeCommented:
No agent.  They are processed by the router.  The dialog code translates all the rules into a big formula which is compiled and placed on the mail owner profile (calendar profile).

Server rules are also processed by the router.  I haven't checked to see if the rules are only maintained in the nab, or if the UI also takes the compiled formula and puts it somewhere.

But, in all cases, the router processes the rules.  In the case of mail file rules, it is processed at the same time as "run agent before mail is delivered," while in the mail.box, it is processed one step before that.
0
 
HemanthaKumarCommented:
Is "Don't Allow headline monitoring" enabled in your databse properties ??

For that

1.      Disable the "Don't allow headline monitoring" option under File, Database, Properties, Advanced (beanie) tab.
2.      Create a new temporary rule.
3.      Send an email to verify that the problematic rule is now functioning.
4.      Enable the "Don't allow headline monitoring" option if so desired.
5.      Delete the temporary rule.


~Hemanth
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
HemanthaKumarCommented:
It is kind of addin task not visible to console, attached to router task.
0
 
Sjef BosmanGroupware ConsultantAuthor Commented:
I'll explain some more, for I cannot get my rule to work.

My wife Caroline also has and Internet mail account. SInce she isn't online a lot, I enabled a rule at the mail provider's (that one works!) that copies her mail to my account. When receiving this mail, I assume the To is filled with her mail name, so I have the following rule:
   WHEN To contains aroline THEN move to folder Caroline

Needless to say, I created a folder Caroline for this purpose.

Whatever I try, all mails that are copied to me I receive in my Inbox, there's never anything in the folder. I'll rephrase my question:

"How can I find out that a message is copied to me but originally meant for someone else?"

I'm going to set up a simple rule, just to find out if this rules-business is indeed operational on the server.
0
 
Sjef BosmanGroupware ConsultantAuthor Commented:
Drat! Forget the rephrase!

I suddenly know why this isn't going to work. The mail is actually received on another server, then replicated to the local server (it's a difficult setup for the local server doesn't have a fixed IP). Furthermore, to conserve space, the local server only does a pull-replication, so rules will never arrive at the other replica. Nor the Caroline folder.

Supposedly agents triggered by "When new mail arrives" won't function either... I'll have to do with "When documents are created or modified".

Or do you have a better idea??
0
 
Jean Marie GeeraertsApplication EngineerCommented:
Is this mail you receive from a pop3 accouont?
In that case it's possible to have rules processed locally, you just need to install an extra .dll and add a line to notes.ini.
I've got this working at home in my 6.5 client for my private POP3 mail.
Unfortunately I don't remember the URL where you can download the needed files, but I've got it in my favourites at home. I'll look it up and add it to this question tonight or tomorrow.

Regards,
JM
0
 
Sjef BosmanGroupware ConsultantAuthor Commented:
Jerrith,

The mail arrives on a distant Domino-server and is put into my mailfile over there. This mailfile is then replicated to the local server (different domain). So all router-dependent actions should probably be set up on the remote Domino-server. After that, it's just replication.

Sjef
0
 
qwaleteeCommented:
Sjef,

So?  ONe time only, modify the "distant" Domino ail file, and set up the rules where it will do some good!

Jerrith, I am very interested in hearing about the local mail rule processing capability.  Please dig it out.
0
 
Jean Marie GeeraertsApplication EngineerCommented:
OK. I will. Forgot about it yesterday, but will surely do it tonight.
Just sent myself en email at home as a reminder :-)
0
 
Sjef BosmanGroupware ConsultantAuthor Commented:
The remote server is being my control, i.e. I cannot open it directly, I've got no rights on that server. I'd like to replicate my rules out there, but is this possible, to set up replication in such a way that the mail is pulled into my direction and that all other stuff is replicated both ways? I want to reduce the size of the remote replica as much as I can, and to reduce the amount of communication as well. This will be a difficult rpel. formule, I suppose. And, will the mail rule, once replicated, operate at the other side??
0
 
qwaleteeCommented:
What I would simply do is set a short purge interval, e.g., 20 days, on the remote server, and enable doc purge.  Then, you can replicate both ways, and the largest the file will ever grow is 21 days of mail.

It is theoretically possible to set things up so that design goes both ways, but docs do not get pushed up to the remote server.  Of course, ruls are not design, they are data, but the compiled rules are on a profile doc, which I believe is considered design.  However, I don't think this will be an effective way for you to deal with the setup.  Perhaps if you could describe what is really going on, we could help you out more.
0
 
Sjef BosmanGroupware ConsultantAuthor Commented:
Thanks, I'll test this. Give me some days and I'll come back to you.

Btw: typo in my previous post, "The server is BEYOND my control..." :)
0
 
Jean Marie GeeraertsApplication EngineerCommented:
Ah, that explains it. I thought you were having Big Brother issues or something :-)
0
 
Stan ReeserTechnology StrategistCommented:
As you mentioned ... You could set up a very simple agent to run on new and modified documents.  This is certainly easier than complicated replication schemas.  Or has this morphed into I will do it by mail rules or be damned?
LOL

****Jerrith thanks for posting that I link I am interested in trying it too.

Two odd related things
1)Has anyone noticed that mail rules can sort of stop working from time to time.. IE i have a lot of server messages from various clients that are sent to my account that for example if it has dead mail in it Ijust delete.  Every so often it just stops working.  Usually a disable/enable of the rule sets it straight.  Just another undocumented feature I presume.  

2)If you do multiple things to a message within a rule some things won't execute. But if you set up separate rules it will.  I'll have to check with my client that encouuntered this but I think he tried to move it to a folder and send a copy and in the same rule it failed but in 2 separate rules it worked. (I would have thought the opposite was true.)


0
 
Jean Marie GeeraertsApplication EngineerCommented:
Hm, haven't encountered these problems yet, but then again the mail rules I've set up are fairly simple 'move to folder' stuff.
0
 
Sjef BosmanGroupware ConsultantAuthor Commented:
Haven't tested jerrith's contribution yet, but I wanted to close this question. Since most people here seem to be glad with his post, I decided to let him have it. The points, that is.

Thanks all!
0
 
Jean Marie GeeraertsApplication EngineerCommented:
You're welcome.
If you get a chance, try it out and let us know if it also worked for you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.