----- Original Message -----
From: "Jim Michaels" <[EMAIL PROTECTED]>
> no examples - remote server IP is puzzlingly missing from the examples.
> I am still pouring through the source code to find out...
>
> How to you set the remote server IP/port?
The remote server IP is.... well, the IP address of the REMOTE server, i.e.,
the server that is connecting to James. Said another way, if my machine
sends a message to your James mail server, your mail server is going to
record my IP address as the remote server IP.
> ....and then I have a generic MTA question. Scenerio:
> ISP x has a mail server with an account abc@x which belongs to company z.
> company z installs a mail server with local account "local".
> Is it possible for company z to send an emails via abc@x through their
mail
> server, and prevent all other outside accounts (not an open relay)?
> Is this do-able with james?
> If I may ask, how?
> From what it looks like, all outgoing mail simply gets dumped into a
> repository in /var/mail/outgoing. And then that's it.
>
> <processor name="transport">
> <mailet match="RecipientIsLocal"
class="LocalDelivery">
> </mailet>
> <mailet match="HostIsLocal" class="ToProcessor">
> <processor>error</processor>
> </mailet>
> <mailet match="RemoteAddrNotInNetwork=127.0.0.1"
> class="ToProcessor">
> <processor> spam </processor>
> </mailet>
> <mailet match="All" class="RemoteDelivery">
> <outgoing> file://../var/mail/outgoing/
</outgoing>
> <delayTime> 21600000 </delayTime>
> <maxRetries> 5 </maxRetries>
> </mailet>
> </processor>
This looks perfectly correct. However! I remembering that there was a bug
in the 1.2rc1 release that was resetting the remote server IP address when
going from one processor to the next. This was fixed shortly after the
release unfortunately.
Try sticking these mailets in the root processor (if it is logical to stick
it there), and I believe it will work.
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]