fractals wrote:
>
> : The following works fine on James 1.2.1:
> :
> : <mailet match="RemoteAddrNotInNetwork=127.0.0.1,192.168.1.*"
> : class="ToProcessor">
> : <processor>spam</processor>
> : </mailet>
> :
> :
> : Do use ip addresses, don't use domain names.
> : As the note in James.config.xml says - order of mailets is important.
> : This comes after local delivery and before remote delivery.
>
> This is my exact configuration (transport processor):
>
> <mailet match="RecipientIsLocal" class="LocalDelivery">
> </mailet>
> <mailet match="HostIsLocal" class="ToProcessor">
> <processor>spam</processor>
> </mailet>
> <mailet match="RemoteAddressNotInNetwork=127.0.0.1,192.168.1.*"
> class="ToProcessor">
> <processor>spam</processor>
> </mailet>
> <mailet match="All" class="RemoteDelivery">
>
> I used 192.168.1.* because you just told me to, but as I said I already
> tried 194.183.224.* which are the 3 first numbers of the IP address of my
> machine, without success. BTW, I already noted that local networks often
> have addresses beginning with 192.168.111... Perhaps you know why...
192.168.1 is one of three IP address ranges reserved for private use (ie
LANs).
You should use your IP addresses!
Other than that, your config looks fine.
>
> The latter configuration still generates error reports in the form:
>
> We were unable to deliver the attached message because of an error in the
> mail server.
>
> Message details:
> Subject: fjdskqmfqsdkljfqmsdfj
> Sent date: Tue May 15 15:44:28 GMT+02:00 2001
> To: fractals <[EMAIL PROTECTED]>
> Size (in bytes): 2
I don't think this is an error message from james.
What machine gave that mesage?
After you've changed the IP address, try again and look in the file
mailets.log to see what has happened.
>
> BTW2, I *can* send an email from a local user to another local user
good - means james is working
>which
> led me to think that the anti-relay mailet was really discarding remote
> recipients and not remote senders.
>
> Still very, very confused...
>
If you still have a problem (after changing to your IP address) then:
1) Tell us if you have messages in any of the outgoing, error or spam
folders
2) copy & paste the last few lines of mailets.log into an email.
Charles
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]