You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stanley,Michael P." <ms...@mitre.org> on 2001/06/22 21:27:13 UTC

CVS Head

I download the CVS head, built and configured it.  I've browsed the code
and I'd like to say it looks great.  Much Improvement !

I'm having problems running the thing though.  Using basically the
default configuration with some moderation, I can't seem to get basic
mail working correctly.  I can get the SMTP to work properly everything
starts up and instantiates correctly, but I can't recieve email (POP3). 
It gets marked as spam and dumped into the spam repository.

Why does this happen?  Is RemoteAddrNotInNetwork broken?

I modified it slightly to look like this        

<mailet match="RemoteAddrNotInNetwork=127.0.0.1, 129.83.*.*"
                  class="ToProcessor">
            <processor> spam </processor>
          </mailet>

Is this wrong?  It worked in previous versions.  Here is a copy of the
headers it is marking as spam

Message-ID: <3B...@mm96042-2k.mitre.org>
Date: Fri, 22 Jun 2001 14:14:23 -0400
From: Michael Stanley <mi...@mm96042-2k.mitre.org>
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; 0.8.1)
Gecko/20010421
X-Accept-Language: en
MIME-Version: 1.0
To: mike@mm96042-2k.mitre.org
Subject: give it away
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Received: from mm96042-2k.mitre.org ([129.83.66.37])
          by MM96042-2k (JAMES SMTP Server 1.3-dev) with SMTP ID 197
          for <mi...@mm96042-2k.mitre.org>;
          Fri, 22 Jun 2001 14:14:24 -0500

So you can see that it should direct the mail properly.  Is there
something I'm missing in the config.xml file.  Is this a know problem?

Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Re: CVS Head

Posted by Charles Benett <ch...@benett1.demon.co.uk>.
"Stanley,Michael P." wrote:
> 
> Charles Benett wrote:
> 
> > Only use one *, at leftmost position,e.g. 129.83.*
> > Charles
> 
> Thanks this worked (to an extent, I'll explain).  This worked as far as
> preventing all my mail as being marked as span so this solved the
> RemoteAddrNotInNetwork  problem but then my mail was racing and then
> being processed as NULL and thus being lost entirely.
> 
> I figured out the problem however.  I had <servernames> autodetect set
> to TRUE and had all <servename> specificing fields commented out.  I
> figured James would autodetect the correct servername and use that (I
> believe this is the desired behavior).  I then added my servername in a
> field and my mail started getting delivered correctly.  I don't know if
> autodetect is broken, or is it something else?

Mike,
What's in your logs/James.log file?
It will specify what it thinks is its name and the servers/ hosts for
which it will handle mail.

Mine (with default config.xml) starts:

Wed Jun 27 08:50:07 GMT+00:00 2001 [INFO   ] <<james.James>> (main):
JAMES init...
Wed Jun 27 08:50:07 GMT+00:00 2001 [DEBUG  ] <<james.James>> (main):
Using MailStore: org.apache.james.core.AvalonMailStore@7aba46
Wed Jun 27 08:50:07 GMT+00:00 2001 [DEBUG  ] <<james.James>> (main):
Using UsersStore: org.apache.james.core.AvalonUsersStore@5b7df8
Wed Jun 27 08:50:07 GMT+00:00 2001 [INFO   ] <<james.James>> (main):
Local host is: benett1.demon.co.uk
Wed Jun 27 08:50:07 GMT+00:00 2001 [INFO   ] <<james.James>> (main):
Handling mail for: benett1.demon.co.uk
Wed Jun 27 08:50:07 GMT+00:00 2001 [INFO   ] <<james.James>> (main):
Handling mail for: localhost
Wed Jun 27 08:50:07 GMT+00:00 2001 [INFO   ] <<james.James>> (main):
Local users repository opened
Wed Jun 27 08:50:07 GMT+00:00 2001 [INFO   ] <<james.James>> (main):
Private Repository LocalInbox opened
Wed Jun 27 08:50:07 GMT+00:00 2001 [DEBUG  ] <<james.James>> (main): Got
spool
Wed Jun 27 08:50:07 GMT+00:00 2001 [INFO   ] <<james.James>> (main):
JAMES ...init end

Charles

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Re: CVS Head

Posted by "Stanley,Michael P." <ms...@mitre.org>.
Charles Benett wrote:

> Only use one *, at leftmost position,e.g. 129.83.*
> Charles

Thanks this worked (to an extent, I'll explain).  This worked as far as 
preventing all my mail as being marked as span so this solved the 
RemoteAddrNotInNetwork  problem but then my mail was racing and then 
being processed as NULL and thus being lost entirely. 

I figured out the problem however.  I had <servernames> autodetect set 
to TRUE and had all <servename> specificing fields commented out.  I 
figured James would autodetect the correct servername and use that (I 
believe this is the desired behavior).  I then added my servername in a 
field and my mail started getting delivered correctly.  I don't know if 
autodetect is broken, or is it something else? 

Thanks
Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Re: CVS Head

Posted by Charles Benett <ch...@benett1.demon.co.uk>.
Only use one *, at leftmost position,e.g. 129.83.*
Charles

"Stanley,Michael P." wrote:
> 
> I download the CVS head, built and configured it.  I've browsed the code
> and I'd like to say it looks great.  Much Improvement !
> 
> I'm having problems running the thing though.  Using basically the
> default configuration with some moderation, I can't seem to get basic
> mail working correctly.  I can get the SMTP to work properly everything
> starts up and instantiates correctly, but I can't recieve email (POP3).
> It gets marked as spam and dumped into the spam repository.
> 
> Why does this happen?  Is RemoteAddrNotInNetwork broken?
> 
> I modified it slightly to look like this
> 
> <mailet match="RemoteAddrNotInNetwork=127.0.0.1, 129.83.*.*"
>                   class="ToProcessor">
>             <processor> spam </processor>
>           </mailet>
> 
> Is this wrong?  It worked in previous versions.  Here is a copy of the
> headers it is marking as spam
> 
> Message-ID: <3B...@mm96042-2k.mitre.org>
> Date: Fri, 22 Jun 2001 14:14:23 -0400
> From: Michael Stanley <mi...@mm96042-2k.mitre.org>
> User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; 0.8.1)
> Gecko/20010421
> X-Accept-Language: en
> MIME-Version: 1.0
> To: mike@mm96042-2k.mitre.org
> Subject: give it away
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
> Received: from mm96042-2k.mitre.org ([129.83.66.37])
>           by MM96042-2k (JAMES SMTP Server 1.3-dev) with SMTP ID 197
>           for <mi...@mm96042-2k.mitre.org>;
>           Fri, 22 Jun 2001 14:14:24 -0500
> 
> So you can see that it should direct the mail properly.  Is there
> something I'm missing in the config.xml file.  Is this a know problem?
> 
> Mike
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org