LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2007, 04:53 PM   #1
riseinarms
LQ Newbie
 
Registered: Jan 2007
Location: New Hampshire
Distribution: Mandriva 2008
Posts: 29

Rep: Reputation: 15
Easy SMTP Server


Where can I get an SMTP server that is easy to set up and a tutorial on how to? I'm running Mandriva 2008.
 
Old 12-06-2007, 05:39 PM   #2
phpnewb72
LQ Newbie
 
Registered: Aug 2005
Location: Fresno, CA
Distribution: Ubuntu, FC8 x64, Centos
Posts: 29

Rep: Reputation: 15
easy smtp

easy is a state of mind

are you looking to learn how to configure or you want something setup?

I like postfix as a smtp server. there are many howto's on setting it up with various settings. here's a decent one: http://tldp.org/HOWTO/Postfix-Cyrus-...WTO/index.html

if you want a full fledged mail server, check out zimbra.
 
Old 12-06-2007, 05:44 PM   #3
riseinarms
LQ Newbie
 
Registered: Jan 2007
Location: New Hampshire
Distribution: Mandriva 2008
Posts: 29

Original Poster
Rep: Reputation: 15
What I'm doing is in school, my computer tech class, I wanted to set up a forum for our network. I'm playing around at home setting some up. Right now I am running Mandriva 2008 as I said, I have Xampp installed, I have phpBB forums installed. Everything works great except when you register you get an error in php for emailing. From what I've seen I need to have an smtp server to send out confirmation emails.

I just installed the postfix package on here.

this is my php.ini file

[mail function]
; For Win32 only.
;SMTP = localhost

; For Win32 only.
;sendmail_from = me@localhost.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/lib/sendmail


I'm not sure quite what to put in there.
 
Old 12-07-2007, 01:23 PM   #4
phpnewb72
LQ Newbie
 
Registered: Aug 2005
Location: Fresno, CA
Distribution: Ubuntu, FC8 x64, Centos
Posts: 29

Rep: Reputation: 15
whats the error? is postfix running? is this from your home or outside that you get the error? most dsl/cable providers block outbound smtp... there are many factors here to look at.

don't forget about your postfix configuration that you will need to do for your network in /etc/postfix/
 
Old 12-07-2007, 03:58 PM   #5
riseinarms
LQ Newbie
 
Registered: Jan 2007
Location: New Hampshire
Distribution: Mandriva 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Failed sending email :: PHP ::

DEBUG MODE

Line : 234
File : emailer.php

That's the error. How can I tell if postfix is running? It's from inside and outside my network that I get the error.

I guess I'll have to look up configuring it.
 
Old 12-07-2007, 05:03 PM   #6
phpnewb72
LQ Newbie
 
Registered: Aug 2005
Location: Fresno, CA
Distribution: Ubuntu, FC8 x64, Centos
Posts: 29

Rep: Reputation: 15
one way to see if smtp is running is to 'telnet localhost 25' and see if you get a connection. if it cannot connect then postfix is not running. redhat derivatives can also use 'service postfix status' to check the status. if its not running, try 'service postfix start'

this howto was made with mandriva in mind. if postfix won't start, check your logs and see if there are errors, most times those same errors can be google'd for a solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 02:27 AM
LXer: Systems Solutions Teams with Open-Xchange to Deliver Easy-to-Deploy, Easy-to-Use Collaboration Server LXer Syndicated Linux News 0 02-22-2006 11:46 PM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 06:17 PM
SMTP Server chrisk5527 Linux - Software 1 01-01-2004 04:01 PM
easy smtp littlepeon Linux - Networking 4 12-22-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration