can i run my own smtp server

i just want to send multi-part emails frommy java apps.i am deploying on linuxhow easy is smtp to set up?.can you suggest any good basic free softwarei dont need to receive emails but i will need a from addressin order to send emails.not sure how this
[300 byte] By [odsa] at [2007-10-2 21:29:26]
# 1

Setting up a full blown, internet connected, SMTP server is a bigger

topic than can be answered in a forum such as this. It's only

difficult if you care about security and spam. Since you don't

even know where to start, you would probably be much better

off buying such a service from one of the many service providers

on the internet.

bshannona at 2007-7-14 0:42:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Similar question:

can I run from my localhost (SMTP) with a Java web app if I have IIS, including SMTP, installed on Win2K Pro box?

Here's the deal:

running Java app just fine on Win2K with Tomcat

looking to enable SMTP capability, but preferably with local machine.

Can it be done this way? Or does MS really only allow ASP & .Net apps to run locally with SMTP?

bpropes20a at 2007-7-14 0:42:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
I'm not a Windows expert, but I don't see any reason you couldn'tdo that. You'll need an SMTP server for Windows, of course.
bshannona at 2007-7-14 0:42:34 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

I believe it comes with automatically through IIS. At least it has in the past on NT or Win2k.

I haven't had to bounce through some ancillary server in the past.

-

by the grace of God I got this figured out! : )

I had some ASP pages w/ CDO that I submitted...they worked fine, but for some reason the Java mail app still wouldn't.

So I went into IIS and the SMTP virtual server, and into relay and actually specified my PC name, configured with the INTERNAL IP address (behind my LAN) and VOILA! It actually worked!

Although I think I tried two other email addresses of mine and I still don't think they got through, but I might retry just to confirm!

So in short, it did run automatically for ASP but took some tweaking for JavaMail/JSP, but it will work too!

Message was edited by:

bpropes20

bpropes20a at 2007-7-14 0:42:34 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5

thanks bshannon,

I don't care about spam or security.

i don't even want to receive emails.

i just want to send them.

i already have a linux server set up on the internet deploying j2ee applications.

i just want a very basic smtp service so i can send multipart emails and i do not want to

pay a third party for the privilage. any pointers.

odsa at 2007-7-14 0:42:34 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6

You have to care about spam and security. Otherwise your

machine will quickly be compromised and used as a source

of spam sent to all the rest of us.

Again, if you don't want to care about this, pay someone else

to care.

If you have a Linux server, you can certainly configure it to act

as an SMTP server for the internet, but doing so is well beyond

the scope of this forum. There are undoubtedly many books

you can buy on this subject. Since this isn't really a JavaMail

issue, you'll have more luck looking elsewhere for help.

And again, you have to care about spam and security or you

will be part of the problem.

bshannona at 2007-7-14 0:42:34 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
no pointers then.
odsa at 2007-7-14 0:42:34 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8
No pointers. Google is your friend.
bshannona at 2007-7-14 0:42:34 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 9
> no pointers then.Apache James - http://james.apache.org/ but some ISPs will not accept emails sent from a non-registered smpt server.
sabre150a at 2007-7-14 0:42:34 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...