LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2010, 04:52 PM   #1
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Rep: Reputation: 15
Setting Up a Mail Server On Ubuntu


I want to set up a mail server on ubuntu so i can send emails from php using the mail function.

The mails will only be sent locally. When I say locally I mean just to hosts on my lan. I want to be able to set up an email address for each person on the lan but all they need to be able to do is receive email. This is for a website from which they will receive emails.

Iv found a lot of guides on how to set up postfix etc on ubuntu but i am still confused. Can anyone here help?
 
Old 04-02-2010, 04:55 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Well my suggestion would be jump in and set it up as best you can and when you run into stopping point ask us for help and we'll do what we can to get you online. It's pretty hard without information about what problems you're specifically having or what is confusing you to render assistance.
 
Old 04-05-2010, 11:46 AM   #3
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Well, I have found some tutorials but I am still confused. I installed the PEAR packages, php-mail and php-net-smtp.

I restarted apache and followed the tutorial and put together a simple script to send a mail but then I ran the script and didnt receive any mail. The tutorial said that I would not have to install a proper mail server, just the two PEAR packages.

Any suggestions?
 
Old 04-05-2010, 02:27 PM   #4
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Finally got this sorted.
 
Old 04-06-2010, 11:38 AM   #5
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Sorry didn't catch your reply in time to assist you, although it seems you found the solution in good time! What was your exact problem and solution out of curiosity (gives others a reference to search for if they encounter the same)?
 
Old 04-07-2010, 06:57 AM   #6
mossy464
Member
 
Registered: Jan 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Basically my problem was, I couldnt send mail from my php script. I followed a tutorial, can i post the link for it?
 
  


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
Ubuntu mail server stopped recieving mail. will send. Ubuntu 9 ISPconfig3 Postfix 255 kejxero Linux - Server 0 02-07-2010 06:57 PM
Ubuntu server with postfix. My mail goes to Spam in Gmail and Yahoo Mail. Ideeas? bob808 Linux - Server 4 02-07-2009 04:11 PM
ubuntu mail server setting theodorus Linux - Newbie 7 05-15-2008 12:10 AM
setting up a mail server: unable to recieve mail Valkyrie_of_valhalla Linux - Networking 3 09-15-2006 01:29 PM
Help Setting Up Mail Server In Ubuntu Server 5.10 twaern Ubuntu 1 05-19-2006 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:41 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
Open Source Consulting | Domain Registration