Re: SMTP Server Port

2001-11-24 Thread Serge Knystautas

I can add a setting to the remote delivery mailet to send to a port other
than 25.  This is really only applicable for when you "gateway", i.e., send
all emails to a specific server.  However, through creative use to matchers
and processors, you could have a particular recipient's email channeled to a
remote delivery mailet that was sending to a non-port 25 smtp server.  I'll
add it to my todo list.

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com
- Original Message -
From: "Andrew Graham" <[EMAIL PROTECTED]>
To: "james-user" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 12:51 PM
Subject: SMTP Server Port


> Hi,
>
> I'm brand new to JAMES, just downloaded it today and I have a question
> that I was hoping someone could answer.  I searched the archive and
> couldn't find what I was looking for.
>
> I'd like to know how to configure a Matcher/mailet to send to an smtp
> server at a port other than 25.  After a quick look at the mailet api,
> I'm not even sure its possible.
>
> What I want to do is watch for a special addressee.  When I get a
> message for a particular user at a particular domain, I want to forward
> that message to another smtp server.  The trick is I that second smtp
> server doesn't listen on port 25.
>
> Any way I can do this via configuration?
>
> Andrew
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Disabling unused features of James

2001-11-24 Thread Serge Knystautas

Not easily.  The IMAP service has been disabled (since it was
non-functional) in the latest release, and I hope we can provide
instructions on how to disable each of the remaining services (NNTP, SMTP,
and POP3).

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com
- Original Message -
From: "Mike Bridge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 06, 2001 11:42 AM
Subject: Disabling unused features of James


> I've got james 2.0a running, and I would like to disable all the
> services I'm not using, i.e. IMAP and NNTP.  When I comment
> these out of the configuration file, the log complains that
> these sections aren't there and james refuses to start.  Is there
> a "disable" flag that I can use?
>
> Thanks,
>
> -Mike
>
> --
> Mike Bridge <[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: connectiontimeout problem

2001-11-24 Thread Serge Knystautas

Stephan,

For now the workaround is to set the timeout to much longer in the SMTP
handler.  The danger of setting the timeout too high is that if you have
someone errantly connecting to your server (or remotely getting stuck during
delivery), you'll have a lot of extra threads waiting for data that's never
coming.

What I intend to do is add a special InputStream in the SMTP handler so that
the timeout will get reset every few kb that has been sent.  This way, as
long as the server is still receiving data at some reasonable rate (I'm not
sure what's reasonable... maybe 14.4kbps, so 1k/s??), then the connection
will not get timed out.

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com
- Original Message -
From: "Stephan Schiessling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 17, 2001 8:09 AM
Subject: connectiontimeout problem


>
> James2.0a2 denied to receive emails which take more than 6 minutes to
transfer.
> (Depending on speed of internet connection, this may be the case for
emails with size > 0.5 MB).
>
> The timeout-counting starts if DATA section starts, so it is not
> a timeout, which starts, when socket has no data !
>
> I think the default installation of james (means: only a few things in
james/conf/config.xml are changed)
> should not have this hidden limitation.
> Therefore I suggest to set this connectiontimeout value (connectiontimeout
in handler in smtpserver)
> to a much higher value, just for the default installation.
>
>
> Bye,
>
> Stephan Schiessling
> [EMAIL PROTECTED]
>
> NB: I already sent this message to this mailing list yesterday, and it was
sent successfully.
>  But I didn't get it back !?
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: James 2-0a1 - Installation

2001-11-24 Thread Serge Knystautas

I think the planned approach to use a forthcoming feature of the connection
handler in Avalon that will allow us to block connections.  Then instead of
allowing SMTP connections and giving 500 messages, it will just refuse the
connection.  I think this is better anyway if you are truly trying to just
block based on the ip address.

Also, out of the box we know deny relaying (I'm not sure how it was in
1.2.1) to prevent creating lots of unintentional relays (via mailet
configuration, like you mention).

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com
- Original Message -
From: "Danny Angus" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 23, 2001 6:13 AM
Subject: RE: James 2-0a1 - Installation


> Ouch, thats annoying.
> The trouble is that James is designed to accept any incoming mail because
it
> is all grist to the mill of the mailets, then again if spammers find James
> appearing to accept mail the fact that it isn't delivered might not be
> enough to stop them sending.
>
> I suppose, then, that there ought to be some kind of explicit "we do not
> relay" response, to bring James in line with the world.
>
> d.
>
>
> > -Original Message-
> > From: Development [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 23, 2001 10:36 AM
> > To: James Users List
> > Subject: James 2-0a1 - Installation
> >
> >
> > Thanks for the replies regarding installation. I haven't retried
> > installing yet, but I'll let you know if there is a problem.
> >
> > The reason I'm upgrading is due to my ISP checking mail servers
> > on it's network and blacklisting those with open relay. The
> > problem with james 1.2.1 is it doesn't decline relaying during
> > the SMTP connection (although I have set it not to relay through
> > the mailets) and my ISP's detection software sees it as an open
> > relay and so blacklists my server.
> >
> > Can James 2-0a1 be set to decline relaying for anything other
> > than a preset user/ip address and return a SMTP error code (500
> > something)?
> >
> > Thanks
> >
> > Ren
> >
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: