Hi all,

I'm a James novice.

I'm interested in 2 things. 1.) finding out how to understand the matcher/mailet concept so that I can get a proper configuration for what I'd like to do. and 2.) getting a configuration..

Now of course having a useful configuration is only half of the issue because UNDERSTANDING the matcher/mailet concept would provide me the ability to get any configuration I want at any time I want... so what I really want is to be able to understand. I've been using the docs and have become quite familiar with them.. -but I guess I just don't understand.

I likely have way too many questions to be dealt with in one sitting but let me lay out a few of them to provide the idea of where some of my ignorance lies on the issues. Perhaps you could help me in an answer or know of a way to help in directing me in finding an answer.

This is a direct quote from the docs in regards to matcher/mailet schemes:
..."Specifically, after each mailet processes a mail, the state of the message is examined. If the state has been changed, the message does not continue in the current processor."...


So, is this saying that each matcher/mailet pair that successfully falls into the configured criteria on a particular piece of mail, and has become satisfied, -will act as a sort of "branch" in the email processing lifetime? Is it likened to programming where you can say "return" or "break".. -branching out of that particular processor block?

If this is the case then, for example, I could use the following pair as the first pair of the root processor and it should basically turn James into a completely dysfunctional email server, -instantly killing all forms of mail from any direction, am I right?

<mailet match="All" class="Null"/>

Is this the case? Or would other matcher/mailet pairs be relevant further down in the root?

Yes, obviously it would be moronic to try this configuration and I haven't even attempted it because I can already get James to ignore mail. :)

Okay, so this, I think is one of the biggest things for me is understanding each of the provided matcher/mailet pairs enough to be able to configure in the way I want(or at least understanding the relevant pairs for the situation). Is there any other documentation on the matter other than those provided at the website or the download docs? Are there any tutorials perhaps on some very basic configurations? It seems the "out of the box" configuration provides for quite a bit of functionality that I'm not so sure that I would be needing.

..here's some more.. -these two pairs are the beginning of the transport processor:

<mailet match="RecipientIsLocal" class="LocalDelivery"/>

<mailet match="HostIsLocal" class="ToProcessor">
   <processor>error</processor>
</mailet>

I assume the second one is to find a final home for the mail because it wasn't previously configured to be handled in the appropriate manner by some other means. My question here is how do the mailets determine either "RecipientIsLocal" or "HostIsLocal"? Do they traverse the list of users specified in the James server, or perhaps it's something to do with IP numbers or something? And then do they do any analysis of the "servername"?

For example, If I have a user registered into James as "cutmancw", and I have the James-block "servername" listed as "localhost", and furthermore have created an account in Outlook on the same machine here as "[EMAIL PROTECTED]"... then will either of these mailets ever recognize this mail as "RecipientIsLocal" or "HostIsLocal"?(also I've got another account on James and Outlook for "dork" so I can send mail to and from myself)

I don't understand if I need to create that account in Outlook as "[EMAIL PROTECTED]" or not... but then of course if I do that and then try to send mail to a friend then how could they possibly be able to reply?(that's my reasoning for using the direct IP address)

the latest configuration I am trying is like this cause I figured then I might not have to guess at it:
<servernames autodetect="true" autodetectIP="true">
<servername>localhost</servername>
<servername>127.0.0.1</servername>
<servername>69.22.108.125</servername>
<servername>user-12hcr3t.cable.mindspring.com</servername>
</servernames>


the first 2 I would imagine are implied anyway(because auto=true), and the other 2 are one in the same depending on where you are looking in the DNS records.. bahh!

Okay, how 'bout this.. I saw an entry in the provided "out of the box" configuration near the top of the root processor like this:

<!-- specific known senders -->
<mailet match="[EMAIL PROTECTED]" class="ToProcessor">
   <processor> transport </processor>
</mailet>

..so, if I do this:

<!-- specific known senders -->
<mailet match="SenderIs=
   [EMAIL PROTECTED],
   [EMAIL PROTECTED],
   [EMAIL PROTECTED],
   [EMAIL PROTECTED],
   [EMAIL PROTECTED]"
class="ToProcessor">
   <processor> transport </processor>
</mailet>

then will it be specifying any sort of functionality that I might need? My assumption here is that it says, "if these senders are trying to send mail period, then let them do it and shoot this mail to the transport processor right now... otherwise let's continue with our root processor to maybe figure out what we can do with the mail". Accurate at all?(also considering the comma/space AND NEWLINE-character separated list.. and then usage of the direct IP number like that)

Here's another thing during "transport" where I just have to scratch my head and have that dumb look:

<mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
   <processor> spam </processor>
</mailet>

Now logically this pair doesn't seem too intuitive to me but I know I've probably got my thoughts exactly backwards about it. It seems to suggest that no local mail in or out will be able to happen as anything other than spam. Now of course the comments say that local delivery must happen before we reach this point or else local deliver will not happen. I've tried using the "RemoteAddrInNetwork" prior to this pair thinking I could get something happening there but I'm having trouble.

I've tried messing with the "SenderIs" and "RecipientIs" matchers too.. hmmm.. I'm not having good "intended" success... but I guess mail is getting around to some places so that's pretty cool. hehe.. Like I send a mail from this hotmail account and it goes to spam locally on James or I can get it to go to error because I change the config and it loops too far.. and during this time I can successfully send mail back and forth between my local accounts. Now on other configurations I can get mail to come into the local system and get properly delivered to an inbox but at that time no local accounts can reach each other(which really isn't necessary I suppose).. On yet other configurations I can get mail to go to my hotmail from local, but it won't go the other direction with that same configuration. Right now I'm completely stabbing in the dark.. -it's fun, it's cool and admittedly I like it, but I DO want to find a way to have a better understanding of how to use the James system.

Perhaps this whole deal about my not having a domain name is part of the problem. I'm getting mail rejected when I try to use my provided Earthlink account to send to myself under the James server, and it wont accept mail from James either(although Hotmail is doing things differently is seems).. I'm getting confused between localhost, 127.0.0.1, 69.22.108.125, and user-12hcr3t.cable.mindspring.com which all refer to me. I've checked into the whole DNS scheme but because I don't have that domain name I don't see how I can really control any of what's going on there. I'm sure my ISP is controlling it so even without a specific domain name I'm sure I have resolution through their DNS anyway, but it's just got me all confused.. I need to have the proper address to give to my friends for the mail to make it out of their ISP's structure in the first place.. I positively know it will never get to me if they send "[EMAIL PROTECTED]" or "[EMAIL PROTECTED]"..

I'm guessing I could say my "domain name" is "user-12hcr3t.cable.mindspring.com" then I would think it would happen but it doesn't seem to work from my Earthlink.net account though. And I'm sure then I also need to configure James properly with this type of info or else all receiving ISP's wont accept my mail. So, I've gotta configure James with the right names and then the Outlook that I would use here locally and then anybody sending me mail needs that right info as well...

domain names are only like 10 bucks right? can I do that and just point the name to my box at home here.. then update my domain DNS info every other month when my IP changes?.. -just forget about "12hcr3t.cable.mindspring.com" and "69.22.108.125" and say [EMAIL PROTECTED] I just figured I'd configure everything with the direct IP so there wouldn't even be an issue with DNS, but I guess some ISP's will want to lookup the reverse of it to see if they really want to send it.

ahhhhhh, I don't know. -guess I can only do one thing at a time.

any suggestions would be greatly appreciated,
thank you,
Scott

_________________________________________________________________
Check out the new MSN 9 Dial-up � fast & reliable Internet access with prime features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to