LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-15-2007, 10:39 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Ubuntu Server LTS 14.04.1
Posts: 451

Rep: Reputation: 34
Ubuntu 6.06 LTS and Mail Server


I very badly need to be able to send emails out of my dedicated server.

I have somehow fiddled with my Postfix install and managed to make it work, however I still can't send to a hotmail account. I think this might be because I am sending from a new domain and not from a real email address (it's being sent from a php notification script, using PHPMailer).

I desperately need to be able to send emails to hotmail users as they account for 95% of my user base. I can send emails into my gmail account, although they appear to be making it into my Junkmail now, instead of my Inbox (however this could be acceptable if it worked for hotmail).

Someone please tell me what I'm not doing right or what I haven't yet done. I can get you any info, server specs, config, headers w/e you need to help me.

Thank you so much in advance.
 
Old 11-16-2007, 01:22 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Is your IP address dynamically allocated by your ISP? It sounds like you should be relaying your mail through your ISP. You can set up a smart host through postfix which should fix the problem. There's some info at http://ubuntu.wordpress.com/2005/09/...st-in-postfix/that may help.
 
Old 11-16-2007, 06:42 PM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Ubuntu Server LTS 14.04.1
Posts: 451

Original Poster
Rep: Reputation: 34
I have contacted my dedicated provider to see if they have a mailserver I can relay too.

If they do have a server for me to use, what would I tell my php script? I see that in the PHPmailer class, they have a IsSmtp() function and I can set a hostname etc, is that what I would add in? Or would I change something in Postfix? Or both?
 
Old 11-16-2007, 08:39 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
I'd leave all the PHP scripts pointing to localhost (127.0.0.1) as the mailer - that's where your postfix daemon is. Then I'd configure postfix to point at your ISP.

Hopefully, the info at wordpress.com should provide all you need to do. I use sendmail here so I can't advise too specifically on postfix.
 
Old 11-16-2007, 08:46 PM   #5
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Ubuntu Server LTS 14.04.1
Posts: 451

Original Poster
Rep: Reputation: 34
I'd rather use sendmail too, but I couldn't get it to install on Ubuntu. It said that I should use Postfix instead... damn it! Why does everything have to be so difficult lol.
 
  


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 server 6.06 LTS won't start after install saber0091 Linux - General 19 10-27-2009 02:57 AM
interface mapping two IPs on ubuntu 6.06 lts server elgranjefe Linux - Networking 9 11-12-2007 08:09 PM
LXer: vtiger CRM 5.02 on Ubuntu 6.06 LTS Server (Dapper Drake) LXer Syndicated Linux News 0 03-05-2007 05:46 AM
LXer: Announcing Ubuntu 6.06 LTS server for SUN Sparc64 LXer Syndicated Linux News 0 06-17-2006 12:21 AM
LXer: How To Build A LAMP Server With Ubuntu 6.06 LTS LXer Syndicated Linux News 1 06-06-2006 09:25 AM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration