Disable Services?

5 views
Skip to first unread message

MarkHawke7

unread,
Sep 26, 2009, 12:57:22 AM9/26/09
to Java Email Server
Hello,
I'm new to using JES. I have 2.X up and running and delivering email
just fine for localhost. For a clean install I HAD to:
1. Download the crypto (JCE) and install it
2. Create a user in users.conf for the sender I'm sending from

#1 was referenced in AdditionalNotes.txt but it didn't really say it
was mandatory
#2 wasn't really mentioned directly. Again, sorta talked about that
you CAN add users but not that it was mandatory.

For my install, I currently only want to use outgoing SMTP. So is
there a way to disable all services except SMTP outgoing?

Thanks in advance!! I'm looking forward to exploring this VERY nice
program.

-Mark

mfg8876

unread,
Sep 26, 2009, 4:50:03 AM9/26/09
to Java Email Server
Hi Mark!

Thanks for trying out JES.

>#1 was referenced in AdditionalNotes.txt but it didn't really say it
was mandatory

Quite true. But it as also referenced in the installation notes:
For issues that may arise concerning cryptographic key strength (aka
"I'm getting a keystore
related error when starting JES"), please read the
AdditionalNotes.txt's "Java Cryptographic
Key Strength Policy" section.

I have not used a mandatory clause, perhaps I should in a upcoming
release (done) :)

> #2 wasn't really mentioned directly. Again, sorta talked about that
> you CAN add users but not that it was mandatory.

I think that having users in order to service them is kinda implied. I
have updated the "Setting up JES for the first time" section to
reflect this.


> For my install, I currently only want to use outgoing SMTP. So is
> there a way to disable all services except SMTP outgoing?

Yes, but you will have to wait until Beta 2 is out. Or download the
latest
code from the branch-2 trunk and build it yourself.


> Thanks in advance!!  I'm looking forward to exploring this VERY nice
> program.

Thank you for pointing out issues that need attention. And dare I say
that you will find the latest code more to your liking.

Andreas

MarkHawke7

unread,
Sep 26, 2009, 10:43:51 AM9/26/09
to Java Email Server
Andreas,
Thanks for the reply. I'll see if I can get the latest stuff
compiled. I've got the current beta running fine though and working
well. Took me a while to figure out that Qwest is blocking port 25.
I did finally figure out that I can use qwest's local smtp as a smart
host and relay through that without authentication on port 25. So
that's workable. I did find that 357 is open but I couldn't figure
out a way just to chang the outgoing SMTP port. You can change the
listening one fine but not the outgoing one without using a smarthost
as well. I'm not an expert at this stuff. Is 357 a standard port
that most smtp servers have open? If not, then it probably doesn't
make sense to allow changing just the outgoing port, right?

Thanks again!!
-Mark

mfg8876

unread,
Sep 26, 2009, 12:23:29 PM9/26/09
to Java Email Server


On Sep 26, 5:43 pm, MarkHawke7 <markhaw...@gmail.com> wrote:
> Andreas,
> Thanks for the reply.  I'll see if I can get the latest stuff
> compiled.  I've got the current beta running fine though and working
> well.  Took me a while to figure out that Qwest is blocking port 25.
> I did finally figure out that I can use qwest's local smtp as a smart
> host and relay through that without authentication on port 25.  So
> that's workable.  I did find that 357 is open but I couldn't figure
> out a way just to chang the outgoing SMTP port.  You can change the
> listening one fine but not the outgoing one without using a smarthost
> as well.  I'm not an expert at this stuff.  Is 357 a standard port
> that most smtp servers have open?  If not, then it probably doesn't
> make sense to allow changing just the outgoing port, right?

There is no default outgoing SMTP port. Rather, one is offered by the
JVM, which in turn is handed one from the underlying OS. The class
responsible for handling outgoing mail (to a remote host that is) is
SMTPRemoteSender. There is a protected connect method that
contains this line: return new Socket( mxEntry, port );
JES is handed a connection to the "mxEntry" "port" but has no way
of defining what port to open on the local machine. Pretty basically
one
is acquired randomly from the underlying OS. Is there a particular
reason why you'd like to have a specific local port open?

Andreas

Mark Hawkins

unread,
Sep 27, 2009, 12:10:20 AM9/27/09
to java-ema...@googlegroups.com
The only reason I was asking was when googling the issue with Qwest blocking port 25, there was a suggestion to use 587 (sorry I typed wrong below).  It was indeed open on Qwest  and I was able to connect to google's smtp with telnet to port 587.  So I was just curious if this was something that was standard or only implemented on some SMTP servers/email providers.  I'm fine with using Qwest's smtp server to forward.  Especially since it doesn't require authentication if you are on their network.

Later!

-Mark
Reply all
Reply to author
Forward
0 new messages