Page 1 of 1
Mail Server
Posted: Thu Jan 16, 2003 7:13 pm
by fractalvibes
Perhaps a bit off-topic, but:
Does anyone know how to set up a Mail Server on Apache? My better half is trying to do this on Apache running on Mac OS X so she can have a script use the PHP mail() function. I can do a few things on IIS, but totally in the dark here.
Any help at all is appreciated!
Phil J.
Posted: Fri Jan 24, 2003 1:56 am
by pistolfire99
The below advise is only true for Windows Platform.
You cannot setup a mail server on top of apache but alongside apache. I use Argosoft Mail Server
http://www.argosoft.com/applications/mailserver/ to do my SMTP related functionality. If you need help to setup Argosoft Mail server, do let me know I will help you out.
Posted: Fri Jan 24, 2003 3:27 am
by lazy_yogi
I, for one, would love to learn how to do that.
Can anyone install this if they're on windows ?
umm ... I couldn't find Argsoft on phpnuke .....
Posted: Sun Jan 26, 2003 4:14 pm
by Stoker
http://www.argosoft.com/applications/mailserver/ is the url for that I believe..
But if you are using Bill Gates NT (NT4/2K/XP) I owuld recommend using Mercury instead, it can even do direct delivery.
http://www.pmail.com/overviews/ovw_mercwin.htm
It does not support being started as a service, but you may run it as a service with the srvany utility (from NT resourcekit), the application does not exit on term-signals when logging off etc. Works great, I've set this up in several small business for internal mail and single-pop and local distribution and such..
Posted: Mon Jan 27, 2003 10:41 am
by DeGauss
Since it's OS X, it's based upon the BSD architecture. BSD is a variant of unix, it is NOT linux, but operates similarly to it.
Anyway, since OS X has this BSD background, you can run unix services on it such as
Sendmail or
QMail.
If for some crazy reason you want to send mail from a Win box, you can use SMTP, which is basically PHP sending mail through your ISP's mail service. You just have to set up in your php.ini file where the email is coming from, the mailserver name, etc.
Posted: Mon Jan 27, 2003 9:44 pm
by lazy_yogi
I downloaded argsofr (freeware version to try it out) ... and it seems to have installed ok, but I can't get access to the login screen
They just say that if ur domain name is somename.com
then type
http://somename.com
and a login screen will be there.
I already have a homepage there which is in an apache directory which is what loads up when I type the domain name (it points to a dir in the apache dir). The mail program is in another directory alltogether.
so when I type in mydomainname.com I of course get my home page and no sign of their login page ?
any ideas ?
Posted: Tue Jan 28, 2003 5:58 am
by DeGauss
Do you have DNS (a hostname?) pointing to your machine?
Ie: if people want to view the contents of your machine can they use a qualified domain name (like foo.com)?
If you don't have DNS pointing to your machine and no domain etc, then you're pretty much stuffed.
Posted: Tue Jan 28, 2003 6:10 am
by lazy_yogi
yea I do.
but of course, with apache running, when I type the domain name in, the directory under apache is shown.... which is where my php/mysql/other web stuff is kept.
All argsoft doco's say is the when I type in my domain name a login screen will come up. Which of course it doesn't. My normal web pages come up as before.
And in the directory, I can't even see a login html file anywhere for the mail server.
Posted: Tue Jan 28, 2003 6:35 am
by DeGauss
Hrmmmm...
Maybe the server is listening on another port?
Does it say anything in the documentation about typing
http://yourdomain.com:1234 ?
Posted: Tue Jan 28, 2003 5:58 pm
by lazy_yogi
yea .. mail listens at port 25
thought you might be onto an idea there, but nah ... didn't work
just to have a whinge ... It seems odd that they would say that a login page whoud just appear at the typing of the domain name into a browser Are they expecting that users of their porduct would have a domain name and not use the default page for their own webpages.
</whinge>
Posted: Wed Jan 29, 2003 10:06 am
by DeGauss
Hmm.
AHA!
---Snip---
Now, go to the Ports tab.
I suggest to not change this value, but if you have to change them, be sure that your provider
DOESN’T block this port. If you want to disable a service set the appropriate port to 0. (For Ex.
If you don’t want to use Finger set Finger to 0). Pay attention to Web Interface.
This mail
server has a built-in Web Server also. It runs under this port so, if you have any other Web
Server installed into the same machine (IIS, Apache, etc.) be sure that this port doesn’t have the
same value. I suggest your default Web Server to run on port 80, and Argosoft on 8080.
---Snip---
So for the example mentioned above with argosoft running on port 8080, open IE or whatever and go to
http://localhost:8080 for the web-based admin.
Posted: Wed Jan 29, 2003 10:53 am
by lazy_yogi
Hey .. that works. I must'vemissed that in the doc's
Thanx very much for all your help DeGauss.