Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

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!
0
Sjef Bosman
Asked:
Sjef Bosman
  • 6
  • 6
  • 3
  • +2
1 Solution
 
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
 
HemanthaKumarCommented:
It is kind of addin task not visible to console, attached to router task.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 GeeraertsCommented:
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 GeeraertsCommented:
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
 
Jean Marie GeeraertsCommented:
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
 
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 GeeraertsCommented:
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 GeeraertsCommented:
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 GeeraertsCommented:
You're welcome.
If you get a chance, try it out and let us know if it also worked for you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 6
  • 6
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now