| Linode Forum https://forum.linode.com/ |
|
| How to exactly make an SMTP work https://forum.linode.com/viewtopic.php?f=11&t=3898 |
Page 1 of 2 |
| Author: | Terrum [ Sat Feb 14, 2009 5:24 pm ] |
| Post subject: | How to exactly make an SMTP work |
Hi, I'm new to the forum, i hope this is some help to me, I appreciate it everyone 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. |
|
| Author: | fos [ Sat Feb 14, 2009 6:51 pm ] |
| Post subject: | |
Which operating system are you using? |
|
| Author: | iQwerty [ Sun Feb 15, 2009 12:00 pm ] |
| Post subject: | |
This guide will explain you step by step how to setup a SMTP client with the free Google Apps for Domain: http://nanotux.com/blog/the-ultimate-server/4/#l-mail 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. |
|
| Author: | anderiv [ Sun Feb 15, 2009 3:23 pm ] |
| Post subject: | |
Terrum, unless you very much know what you're doing, I'd highly recommend you not use XAMPP for a production environment. XAMPP was designed to give developers an easy-to-install dev environmet for their projects. It was never meant to be used in production. See this quote from the xampp website: Quote: 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. |
|
| Author: | Terrum [ Sun Feb 15, 2009 4:22 pm ] |
| Post subject: | |
Thanks for all your replies. I'm using xampp for projects atm until i find out how to make a working mail server. I'm using windows. I know that xampp is not secure and will be using proper software later after I have finished working out stuff and learning. Thanks again and hope you can help. |
|
| Author: | Terrum [ Sun Mar 08, 2009 7:56 pm ] |
| Post subject: | |
Bump |
|
| Author: | saman007uk [ Mon Mar 09, 2009 10:27 am ] |
| Post subject: | |
Postfix is a popular SMTP server. To install, If using Debian/Ubuntu: Code: apt-get update If using Fedora, or other RPM distros: Code: yum update |
|
| Author: | Terrum [ Sun Mar 29, 2009 12:18 pm ] |
| Post subject: | |
saman007uk wrote: Postfix is a popular SMTP server. To install,
If using Debian/Ubuntu: Code: apt-get update If using Fedora, or other RPM distros: Code: yum update I'm running windows. |
|
| Author: | jed [ Sun Mar 29, 2009 4:45 pm ] |
| Post subject: | |
Terrum wrote: I'm running windows.
Are you even a Linode customer? We discuss Linux here. I think you may be asking the wrong forum. |
|
| Author: | saman007uk [ Mon Mar 30, 2009 3:44 pm ] |
| Post subject: | |
Anyway, PHP scipts (I think) don't usually need an SMTP server to send mail. They usually use the internal mail() PHP function. |
|
| Author: | mjrich [ Mon Mar 30, 2009 4:36 pm ] |
| Post subject: | |
Quote: 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: Quote: 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.
|
|
| Author: | fukawi2 [ Mon Mar 30, 2009 7:29 pm ] |
| Post subject: | |
saman007uk wrote: 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... |
|
| Author: | Terrum [ Wed Apr 01, 2009 9:25 am ] |
| Post subject: | |
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. But if PHP doesn't need a SMTP server, how can I get PHPBB to send mails then for verification etc? |
|
| Author: | pclissold [ Wed Apr 01, 2009 12:10 pm ] |
| Post subject: | |
Terrum wrote: 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 wrote: 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. |
|
| Author: | Terrum [ Thu Apr 02, 2009 9:37 am ] |
| Post subject: | |
pclissold wrote: Terrum wrote: 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 wrote: 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. |
|
| Page 1 of 2 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|