How to exactly make an SMTP work
Okay so, I got xampp. I only run the apache and mysql service from it. With the apache, I have a phpbb forum on it, and as for the mysql, i need it for the phpbb to work
People need e-mail verification for registration, Can someone tell me exactly step-by-step how to create a SMTP server or find a free hosted one? Sorry for the really bad question, i have searched everywhere and tried so many servers and sites but I just can't get it to work
Thanks very much everyone for reading,
Terrum.
15 Replies
It works perfectly, though it's written fro Ubuntu Hardy with Lighttpd. Which means that you may need change some directories (eg. that of php.ini) and you need to restart Apache instead of Lighttpd afterwards.
xampp website
> The default configuration is not good from a securtiy point of view and it's not secure enough for a production environment - please don't use XAMPP in such environment.
You didn't mention which distro you're using, but regardless, they all have easy-to-install packages for everything in the LAMP system. Do yourself a favor - remove xampp and re-install from your distro's package repositories. You'll save yourself many a headache going forward.
If using Debian/Ubuntu:
apt-get update
apt-get install postfix
If using Fedora, or other RPM distros:
yum update
yum install postfix
@saman007uk:
Postfix is a popular SMTP server. To install,
If using Debian/Ubuntu:
apt-get update apt-get install postfix
If using Fedora, or other RPM distros:
yum update yum install postfix
I'm running windows.
@Terrum:
I'm running windows.
Are you even a Linode customer? We discuss Linux here. I think you may be asking the wrong forum.
> PHP scipts (I think) don't usually need an SMTP server to send mail. They usually use the internal mail() PHP function.
As I understand it, php mail() is just a wrapper for sendmail or (similar). http://php.net/manual/en/mail.requirements.php
> For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrappers that come with them. PHP will first look for sendmail in your PATH, and then in the following: /usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib. It's highly recommended to have sendmail available from your PATH. Also, the user that compiled PHP must have permission to access the sendmail binary.
@saman007uk:
Anyway, PHP scipts (I think) don't usually need an SMTP server to send mail. They usually use the internal mail() PHP function.
The machine still needs an MTA to handle delivery either as per normal, or via smarthost…
But if PHP doesn't need a SMTP server, how can I get PHPBB to send mails then for verification etc?
@Terrum:
No, i'm not a linode customer, But then why is the forum free to register on? It should have a reservation code or serial number from your purchase or something.
Nobody is saying that you can't post here, just that if you have questions relating to Windows, you're probably asking the wrong people.
@Terrum:
But if PHP doesn't need a SMTP server, how can I get PHPBB to send mails then for verification etc?
PHP does need a mail transfer agent such as sendmail to be able to send mail.
@pclissold:
@Terrum:No, i'm not a linode customer, But then why is the forum free to register on? It should have a reservation code or serial number from your purchase or something.
Nobody is saying that you can't post here, just that if you have questions relating to Windows, you're probably asking the wrong people.
@Terrum:But if PHP doesn't need a SMTP server, how can I get PHPBB to send mails then for verification etc?
PHP does need a mail transfer agent such as sendmail to be able to send mail.
Well i was gathering the way he asked if i'm a Linode member was the way saying that i'm not allowed.
If this even is the wrong forum to be asking on, I'd be pretty sure to find some member on here that has worked with some relation to windows smtp/email servers. But thanks for helping anyway. Still looking for replies if possible.
A Google search turned up a ton of hits for the term "windows admin forums"; the first link I hit was "http://forums.windowsitpro.com/