-   Linux - Server (
-   -   Ubuntu 6.06 LTS and Mail Server (

wh33t 11-15-2007 10:39 PM

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.

gilead 11-16-2007 01:22 AM

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 may help.

wh33t 11-16-2007 06:42 PM

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?

gilead 11-16-2007 08:39 PM

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

Hopefully, the info at should provide all you need to do. I use sendmail here so I can't advise too specifically on postfix.

wh33t 11-16-2007 08:46 PM

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.

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